cve.bz

CVE-2022-41218 Use After Free

5.5 mediumExploit referenceEPSS 0.8%

Medium (5.5). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-41218 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-41218?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-41218?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-41218 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-41218

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-41218](https://cve.bz/cve/badge/CVE-2022-41218.svg)](https://cve.bz/cve/CVE-2022-41218)

HTML:

<a href="https://cve.bz/cve/CVE-2022-41218"><img src="https://cve.bz/cve/badge/CVE-2022-41218.svg" alt="CVE-2022-41218"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 5.19.10
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.282-1DLA-3403-1
Debian10linux-5.105.10.162-1~deb10u1DLA-3349-1
Debian11linux5.10.162-1DSA-5324-1
Debian12, 13, 14linux6.1.4-1DEBIAN-CVE-2022-41218
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-41218
Ubuntu18.04:LTSlinux4.15.0-208.220UBUNTU-CVE-2022-41218 USN-5984-1
Ubuntu18.04:LTSlinux-aws4.15.0-1153.166UBUNTU-CVE-2022-41218 USN-5984-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1097.105~18.04.1UBUNTU-CVE-2022-41218 USN-5917-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1162.177UBUNTU-CVE-2022-41218 USN-5927-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1104.110~18.04.1UBUNTU-CVE-2022-41218 USN-5917-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1062.67UBUNTU-CVE-2022-41218 USN-5984-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-41218
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1147.163UBUNTU-CVE-2022-41218 USN-5991-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1101.110~18.04.1UBUNTU-CVE-2022-41218 USN-5939-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-144.161~18.04.1UBUNTU-CVE-2022-41218 USN-5917-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1045.50~18.04.1UBUNTU-CVE-2022-41218 USN-5951-1
74 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Red Hatrhel_eus:8.6::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
Red Hatrhev_hypervisor:4.4::el8perf, kernel-devel, perf-debuginfo and 6 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.126.1SUSE-SU-2022:3693-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.134.1.150200.9.63.2SUSE-SU-2022:3704-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.134.1SUSE-SU-2022:3704-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.111.1SUSE-SU-2022:3586-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.136.1SUSE-SU-2022:3587-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.104.1SUSE-SU-2022:3688-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.126.1SUSE-SU-2022:3693-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.134.1SUSE-SU-2022:3704-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.98.1SUSE-SU-2022:3775-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 2 morekernel-default5.14.21-150400.24.28.1SUSE-SU-2022:3844-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150000.150.104.1SUSE-SU-2022:3688-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_2316-2.2SUSE-SU-2022:4550-1
86 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.98.1SUSE-SU-2022:3775-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.80.1SUSE-SU-2022:3609-1
openSUSELeap 15.3, Leap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.126.1SUSE-SU-2022:3693-1
openSUSELeap 15.3, Leap Micro 5.2kernel-default-base5.3.18-150300.59.98.1.150300.18.56.3SUSE-SU-2022:3775-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.98.1SUSE-SU-2022:3775-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.28.1SUSE-SU-2022:3844-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.16.1SUSE-SU-2022:3585-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.28.1.150400.24.9.5SUSE-SU-2022:3844-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.5.1SUSE-SU-2022:4617-1
openSUSELeap Micro 5.2kernel-default5.3.18-150300.59.98.1SUSE-SU-2022:3775-1
openSUSELeap Micro 5.2kernel-rt5.3.18-150300.106.1SUSE-SU-2022:3809-1
openSUSETumbleweedkernel-source5.19.12-1.1openSUSE-SU-2024:12373-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-477.10.1.rt7.274.el8_8ALSA-2023:2736
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-477.10.1.el8_8ALSA-2023:2951
Azure Linux2kernel5.15.92.1-1AZL-10984

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Keeping this issue Moderate because the impact is limited: only when the user uses the dvb-core module and removes the USB device triggers the attack. This kind of race condition is hard to trigger and requires several preconditions.

Red Hat's mitigation

To mitigate this issue, prevent the module dvb-core from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.10.1.rt7.274.el8_8Fixed 2023-05-16RHSA-2023:2736
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-41218.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON