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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-12224Buffer leakage in igdkm64.sys in Intel(R) Graphics Driver fo…
- CVE-2018-12227An issue was discovered in Asterisk Open Source 13.x before …
- CVE-2018-12228An issue was discovered in Asterisk Open Source 15.x before …
- CVE-2018-12229Cross-site scripting (XSS) vulnerability in Public Knowledge…
- CVE-2018-1223Cloud Foundry Container Runtime (kubo-release), versions pri…8.8
- CVE-2018-12230An wrong logical check identified in the transferFrom functi…
- CVE-2018-12233In the ea_get function in fs/jfs/xattr.c in the Linux kernel…7.8
- CVE-2018-12234A Reflected Cross Site Scripting (XSS) Vulnerability was dis…
- CVE-2018-12237The Symantec Reporter CLI 10.1 prior to 10.1.5.6 and 10.2 pr…
- CVE-2018-12238Norton prior to 22.15; Symantec Endpoint Protection (SEP) pr…
- CVE-2018-12239Norton prior to 22.15; Symantec Endpoint Protection (SEP) pr…
- CVE-2018-1224Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
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
