CVE-2018-12232
- State
- Published
- Severity
- Not scored
- Published
- Jun 12, 2018
- Updated
- Aug 5, 2024
- Reserved
- Jun 12, 2018
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- USN-3752-2vendor-advisory
- USN-3752-3vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6d8c50dcb029872b298eea68cc6209c866fd3e14
- https://patchwork.ozlabs.org/patch/926519/
- RHSA-2018:2948vendor-advisory
- https://lkml.org/lkml/2018/6/5/14
- 104453vdb-entry
- USN-3752-1vendor-advisory
- https://github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.