Vulnerability · Published Mar 25, 2022 · Assigned by redhat

CVE-2021-4203

Medium 6.8

In plain English

A medium-severity race condition in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.8Medium
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A use-after-free read flaw was found in sock_getsockopt() in net/core/sock.c due to SO_PEERCRED and SO_PEERGROUPS race with listen() (and connect()) in the Linux kernel. In this flaw, an attacker with a user privileges may crash the system or leak internal kernel information.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-abi-stablelists4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-core4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-cross-headers4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-core4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-modules4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-modules-extra4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-doc4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-headers4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-modules4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-modules-extra4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools-libs4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools-libs-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8perf4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8python3-perf4.18.0-372.9.1.el8ALSA-2022:1988
Debian:12linux5.14.12-1DEBIAN-CVE-2021-4203
Debian:13linux5.14.12-1DEBIAN-CVE-2021-4203
Debian:14linux5.14.12-1DEBIAN-CVE-2021-4203
Rocky Linux:8kernel0:4.18.0-372.9.1.el8RLSA-2022:1988
Rocky Linux:8kernel-rt0:4.18.0-372.9.1.rt7.166.el8RLSA-2022:1975
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-4203
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-4203
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-4203

Affected products (as reported)

VendorProductVersions
n/a kernel kernel 5.15 rc4

Weakness: CWE-362

References