CVE-2018-12232

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-12232
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12232.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-12232
Downstream
Related
Published
2018-06-12T12:29:00Z
Modified
2025-08-09T20:01:26Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 sockclose and sockfssetattr 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.

References

Affected packages