Vulnerability · Published Sep 21, 2022 · Assigned by mitre
CVE-2022-41218
Medium 5.5
In plain English
A medium-severity use-after-free in the bpftool package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.8%top 42.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC
Official description
In drivers/media/dvb-core/dmxdev.c in the Linux kernel through 5.19.10, there is a use-after-free caused by refcount races, affecting dvb_demux_open and dvb_dmxdev_release.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-core | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-debug | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-devel | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-doc | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-modules | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-rt | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-477.10.1.rt7.274.el8_8 | ALSA-2023:2736 |
| AlmaLinux:8 | kernel-tools | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | perf | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| AlmaLinux:8 | python3-perf | 4.18.0-477.10.1.el8_8 | ALSA-2023:2951 |
| Debian:12 | linux | 6.1.4-1 | DEBIAN-CVE-2022-41218 |
| Debian:13 | linux | 6.1.4-1 | DEBIAN-CVE-2022-41218 |
| Debian:14 | linux | 6.1.4-1 | DEBIAN-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux | 5.15.0-69.76 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-69.76 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1033.37 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1033.37 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1035.42 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1035.42 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | 5.19.0-1023.24~22.04.1 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1035.42.1 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1035.42.1 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1031.38 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1031.38 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1030.35 | USN-5987-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1030.35 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1017.22 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1017.22 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-40.41~22.04.1 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-40.41~22.04.1 | USN-6024-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1027.30 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1027.30 | USN-5987-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1027.32 | USN-6004-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1027.32 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1030.35 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1030.35 | USN-5987-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-69.76 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-69.76 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | 5.19.0-1022.23~22.04.1 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1023.23 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1007.7 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1007.7 | USN-5915-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1032.38 | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1032.38 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1026.28 | USN-5982-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1026.28 | UBUNTU-CVE-2022-41218 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-41218 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-41218 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://lore.kernel.org/all/20220908132754.30532-1-tiwai%40suse.de/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/dvb-core/dmxdev.c
- [oss-security] 20220923 CVE-2022-41218: Linux dvb-core: UAF in dvb-core/dmxdev mailing-list
- [oss-security] 20220923 Re: [Report v2] CVE-2022-41218: Linux dvb-core: UAF in dvb-core/dmxdev mailing-list
- [oss-security] 20220923 [Report v2] CVE-2022-41218: Linux dvb-core: UAF in dvb-core/dmxdev mailing-list
- DSA-5324 vendor-advisory
- [debian-lts-announce] 20230302 [SECURITY] [DLA 3349-1] linux-5.10 security update mailing-list
- [debian-lts-announce] 20230503 [SECURITY] [DLA 3403-1] linux security update mailing-list
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd3d91ab1c6ab0628fe642dd570b56302c30a792
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html