CVE Database
/

CVE-2018-12232

Back to search

CVE-2018-12232

Published: Jun 12, 2018

Modified: Aug 5, 2024

PUBLISHED

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.

VendorProductVersions

n/a

n/a

affected
n/a

References

USN-3752-2
vendor-advisory
x_refsource_UBUNTU
USN-3752-3
vendor-advisory
x_refsource_UBUNTU
RHSA-2018:2948
vendor-advisory
x_refsource_REDHAT
104453
vdb-entry
x_refsource_BID
USN-3752-1
vendor-advisory
x_refsource_UBUNTU

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now