Vulnerability in Linux Kernel
CVE-2018-12232
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.065 (93.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 93.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.065 · newest: 0.065 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3752-2/ (vendor-advisory)
- usn.ubuntu.com/3752-3/ (vendor-advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Third Party Advisory)
- patchwork.ozlabs.org/patch/926519/ (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2948 (vendor-advisory)
- lkml.org/lkml/2018/6/5/14 (Third Party Advisory)
- www.securityfocus.com/bid/104453 (VDB Entry, Third Party Advisory, vdb-entry)
- usn.ubuntu.com/3752-1/ (vendor-advisory)
- github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-12232?
- CVE-2018-12232 is a medium-severity vulnerability in Linux Kernel, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 5.9/10. Published 2018-06-12.
- How severe is CVE-2018-12232?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2018-12232 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.