Back to CVE catalog
CVE-2018-12232

Race condition in Linux kernel leading to system crash

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.0

5.9Medium
Published:
Updated:
EPSS:
6.179%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Red HatRed Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:linuxlinux kernelAffected versions:
≤ 4.17.1Show full version range for linux kernel
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–3 of 3 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary5.9 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
[email protected] · NVD (Primary)7.1 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories13

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences