CVE & CISA-KEV Catalog

CVE-2018-12232

MEDIUMEPSS 93th pctl
5.9
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:4.17.3-1CVE-2018-12232
Fixed in:4.17.3-1CVE-2018-12232
Fixed in:4.17.3-1CVE-2018-12232
Fixed in:4.17.3-1CVE-2018-12232
linuxUbuntu
Fixed in:4.15.0-33.36USN-3752-1
linux-awsUbuntu
Fixed in:4.15.0-1020.20USN-3752-1
linux-azureUbuntu
Fixed in:4.15.0-1022.22~16.04.1USN-3752-3
Fixed in:4.15.0-1022.23USN-3752-3
linux-gcpUbuntu
Fixed in:4.15.0-1018.19~16.04.2USN-3752-3
Fixed in:4.15.0-1018.19USN-3752-1
linux-hweUbuntu
Fixed in:4.15.0-33.36~16.04.1USN-3752-2
linux-image-4.15.0-1020-awsUbuntu
Fixed in:4.15.0-1020.20USN-3752-1
linux-image-4.15.0-1020-kvmUbuntu
Fixed in:4.15.0-1020.20USN-3752-1
linux-image-4.15.0-1021-raspi2Ubuntu
Fixed in:4.15.0-1021.23USN-3752-1
linux-image-4.15.0-33-genericUbuntu
Fixed in:4.15.0-33.36~16.04.1USN-3752-2
Fixed in:4.15.0-33.36USN-3752-1
linux-image-4.15.0-33-generic-lpaeUbuntu
Fixed in:4.15.0-33.36~16.04.1USN-3752-2
Fixed in:4.15.0-33.36USN-3752-1
linux-image-4.15.0-33-lowlatencyUbuntu
Fixed in:4.15.0-33.36~16.04.1USN-3752-2
Fixed in:4.15.0-33.36USN-3752-1
linux-image-4.15.0-33-snapdragonUbuntu
Fixed in:4.15.0-33.36USN-3752-1
linux-kvmUbuntu
Fixed in:4.15.0-1020.20USN-3752-1
linux-oemUbuntu
Fixed in:4.15.0-1017.20USN-3752-3
linux-raspi2Ubuntu
Fixed in:4.15.0-1021.23USN-3752-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

6.61%probability of exploitation in 30 days
93rdpercentile

High risk: more likely to be exploited than 93% of all known CVEs.

References

Embed a live status badge for CVE-2018-12232
CVE-2018-12232 severity badge

Markdown

[![CVE-2018-12232](https://tridentstack.com/cve/badge/CVE-2018-12232.svg)](https://tridentstack.com/cve/CVE-2018-12232)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-12232"><img src="https://tridentstack.com/cve/badge/CVE-2018-12232.svg" alt="CVE-2018-12232"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.