Vulnerability · Published Jan 18, 2022 · Assigned by redhat
CVE-2021-4083
High 7.0
In plain English
A high-severity use-after-free in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.0High
Exploit odds (30 days)0.3%top 76.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A read-after-free memory flaw was found in the Linux kernel's garbage collection for Unix domain socket file handlers in the way users call close() and fget() simultaneously and can potentially trigger a race condition. This flaw allows a local user to crash the system or escalate their privileges on the system. This flaw affects Linux kernel versions prior to 5.16-rc4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-doc | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-headers | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux:8 | python3-perf | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Debian:12 | linux | 5.15.5-2 | DEBIAN-CVE-2021-4083 |
| Debian:13 | linux | 5.15.5-2 | DEBIAN-CVE-2021-4083 |
| Debian:14 | linux | 5.15.5-2 | DEBIAN-CVE-2021-4083 |
| Rocky Linux:8 | kernel | 0:4.18.0-372.9.1.el8 | RLSA-2022:1988 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-372.9.1.rt7.166.el8 | RLSA-2022:1975 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-4083 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-4083 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-4083 |
Affected products (as reported)
Weakness: CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2029923 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=054aa8d439b9 x_refsource_MISC
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update mailing-list, x_refsource_MLIST
- DSA-5096 vendor-advisory, x_refsource_DEBIAN
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220217-0005/ x_refsource_CONFIRM