CVE-2018-12232
Last modified
CVE-2018-12232 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 6.61% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | <= 4.17.1 |
References
- http://www.securityfocus.com/bid/104453Third Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14Patch, Third Party Advisory
- https://lkml.org/lkml/2018/6/5/14Third Party Advisory
- https://patchwork.ozlabs.org/patch/926519/Patch, Third Party Advisory
- http://www.securityfocus.com/bid/104453Third Party Advisory, VDB Entry
- https://github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14Patch, Third Party Advisory
- https://lkml.org/lkml/2018/6/5/14Third Party Advisory
- https://patchwork.ozlabs.org/patch/926519/Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12232?
How severe is CVE-2018-12232?
How do I fix CVE-2018-12232?
Are you affected by CVE-2018-12232?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
