CVE-2018-12232
Summary
| CVE | CVE-2018-12232 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-06-12 12:29:00 UTC |
| Updated | 2018-10-31 10:30:00 UTC |
| Description | In net/socket.c in the Linux kernel through 4.17.1, there is a race condition between fchownat and close in cases where they target the same socket file descriptor, related to the sock_close and sockfs_setattr functions. fchownat does not increment the file descriptor reference count, which allows close to set the socket to NULL during fchownat's execution, leading to a NULL pointer dereference and system crash. |
Risk And Classification
Problem Types: CWE-362
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Linux Kernel CVE-2018-12232 Local Denial of Service Vulnerability | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| USN-3752-1: Linux kernel vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| USN-3752-2: Linux kernel (HWE) vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| [net] socket: close race condition between sock_close() and sockfs_setattr() - Patchwork | MISC | patchwork.ozlabs.org | Patch, Third Party Advisory |
| LKML: shankarapailoor: general protection fault in sockfs_setattr | MISC | lkml.org | Third Party Advisory |
| kernel/git/torvalds/linux.git - Linux kernel source tree | MISC | git.kernel.org | Patch, Third Party Advisory |
| socket: close race condition between sock_close() and sockfs_setattr() · torvalds/linux@6d8c50d · GitHub | MISC | github.com | Patch, Third Party Advisory |
| USN-3752-3: Linux kernel (Azure, GCP, OEM) vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| Red Hat Customer Portal | REDHAT | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.