CVE-2018-12232
MediumIn 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.
CVSS 3.0 score
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2018-12232 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2018-12232 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Securityfocushttp://www.securityfocus.com/bid/104453Third Party Advisory VDB Entry
-
-
Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-1/
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-2/
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-3/
-
PatchKernel patch commithttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6d8c50dcb029872b298eea68cc6209c866fd3e14
-
PatchKernel patch commithttps://github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14
-
PatchKernel patch commithttps://patchwork.ozlabs.org/patch/926519/
Frequently asked questions
-
What is CVE-2018-12232?
CVE-2018-12232 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.9 out of 10 , classified as a Race Condition flaw (CWE-362) . CVE-2018-12232 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2018-12232?
CVE-2018-12232 has a CVSS score of 5.9 out of 10, rated Medium severity (CVSS 3.0). The vector string is
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2018-12232?
No patch is currently available for CVE-2018-12232. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2018-12232 actively exploited?
No — CVE-2018-12232 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →