CVE-2022-41218: Use After Free

Published Aug 31, 2022
·
Updated

A flaw in the Linux Kernel dvb-core sub system (DVB API used by Digital TV devices) found. The result of race condition inside drivers/media/dvb-core/dmxdev.c is use after free. For triggering attack the local user have to physically remove USB device (like DVB demultiplexer device), and both run some malicious code.

Reference: https://www.openwall.com/lists/oss-security/2022/09/23/4

Other sources

A use-after-free flaw was found in the Linux kernel’s dvb-core subsystem (DVB API used by Digital TV devices) in how a user physically removed a USB device (such as a DVB demultiplexer device) while running malicious code. This flaw allows a local user to crash or potentially escalate their privileges on the system.

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 dvbdemuxopen and dvbdmxdevrelease.

Affected Software

5 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-477.10.1.rt7.274.el8_8
0:4.18.0-477.10.1.rt7.274.el8_8
redhat/kernel<0:4.18.0-477.10.1.el8_8
0:4.18.0-477.10.1.el8_8
Linux Linux kernel<=5.19.10
Debian Debian Linux=11.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.rt7.274.el8_8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.el8_8
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  4. Upgrade

    Upgrade linux kernel dvb-core (drivers/media/dvb-core/dmxdev.c) to a version that resolves this vulnerability.

    Fixed in 5.19.10
  5. Compensating control

    Prevent the dvb-core kernel module from being loaded (e.g., blacklist the kernel module so it does not load automatically, as referenced by Red Hat solution 41278).

Event History

Aug 31, 2022
Data Sourced
via Red Hat·12:53 PM
DescriptionSeverityAffected Software
Sep 21, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Jul 22, 2023
Data Sourced
10:22 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:02 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-41218?

CVE-2022-41218 has a severity rating of high due to the potential for a local user to exploit a race condition leading to a use after free vulnerability.

2

How do I fix CVE-2022-41218?

To fix CVE-2022-41218, update your Linux kernel to version 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1 or equivalent Red Hat packages.

3

Who is affected by CVE-2022-41218?

CVE-2022-41218 affects users of the Linux Kernel, particularly those utilizing the DVB API in Digital TV devices.

4

What causes the CVE-2022-41218 vulnerability?

The CVE-2022-41218 vulnerability is caused by a race condition inside the dvb-core subsystem leading to a use after free condition when a USB device is physically removed.

5

Can CVE-2022-41218 be exploited remotely?

CVE-2022-41218 cannot be exploited remotely as it requires local access to the system to trigger the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203