CVE-2018-12232

EUVD-2018-4210
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.
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 86%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
𝑥
≤ 4.17.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
jessie
not-affected
sid
6.11.6-1
fixed
stretch
not-affected
trixie
6.11.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
artful
ignored
bionic
Fixed 4.15.0-33.36
released
cosmic
not-affected
trusty
not-affected
xenial
not-affected
linux-aws
artful
dne
bionic
Fixed 4.15.0-1020.20
released
cosmic
not-affected
trusty
not-affected
xenial
not-affected
linux-azure
artful
dne
bionic
Fixed 4.15.0-1022.23
released
cosmic
not-affected
trusty
not-affected
xenial
Fixed 4.15.0-1022.22~16.04.1
released
linux-azure-edge
artful
dne
bionic
not-affected
cosmic
dne
trusty
dne
xenial
Fixed 4.15.0-1022.23
released
linux-euclid
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
ignored
linux-flo
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
ignored
linux-gcp
artful
dne
bionic
Fixed 4.15.0-1018.19
released
cosmic
not-affected
trusty
dne
xenial
Fixed 4.15.0-1018.19~16.04.2
released
linux-gke
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
ignored
linux-goldfish
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
ignored
linux-grouper
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-hwe
artful
dne
bionic
not-affected
cosmic
dne
trusty
dne
xenial
Fixed 4.15.0-33.36~16.04.1
released
linux-hwe-edge
artful
dne
bionic
not-affected
cosmic
dne
trusty
dne
xenial
Fixed 4.15.0-33.36~16.04.1
released
linux-kvm
artful
dne
bionic
Fixed 4.15.0-1020.20
released
cosmic
not-affected
trusty
dne
xenial
not-affected
linux-lts-trusty
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-lts-utopic
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-lts-vivid
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-lts-wily
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-lts-xenial
artful
dne
bionic
dne
cosmic
dne
trusty
not-affected
xenial
dne
linux-maguro
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-mako
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
ignored
linux-manta
artful
dne
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
linux-oem
artful
dne
bionic
Fixed 4.15.0-1017.20
released
cosmic
not-affected
trusty
dne
xenial
ignored
linux-raspi2
artful
ignored
bionic
Fixed 4.15.0-1021.23
released
cosmic
not-affected
trusty
dne
xenial
not-affected
linux-snapdragon
artful
ignored
bionic
not-affected
cosmic
dne
trusty
dne
xenial
not-affected