# CVE-2024-27043: media: edia: dvbdev: fix a use-after-free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-01T12:54:11.197Z
- **Modified:** 2026-08-05T11:29:10.999Z

## Who should check

- Anyone running Linux \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< d0f5c28333822f9baa5280d813124920720fd856; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< f20c3270f3ed5aa6919a87e4de9bf6c05fb57086; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 096237039d00c839f3e3a5fe6d001bf0db45b644; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 0d3fe80b6d175c220b3e252efc6c6777e700e98e; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 437a111f79a2f5b2a5f21e27fdec6f40c8768712; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 779e8db7efb22316c8581d6c229636d2f5694a62; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 35674111a043b0482a9bc69da8850a83f465b07d; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< b7586e902128e4fb7bfbb661cb52e4215a65637b; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
- Anyone running Linux 2.6.21

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: edia: dvbdev: fix a use-after-free

In dvb\_register\_device, \*pdvbdev is set equal to dvbdev, which is freed
in several error-handling paths. However, \*pdvbdev is not set to NULL
after dvbdev's deallocation, causing use-after-frees in many places,
for example, in the following call chain:

budget\_register
  \|-\> dvb\_dmxdev\_init
        \|-\> dvb\_register\_device
  \|-\> dvb\_dmxdev\_release
        \|-\> dvb\_unregister\_device
              \|-\> dvb\_remove\_device
                    \|-\> dvb\_device\_put
                          \|-\> kref\_put

When calling dvb\_unregister\_device, dmxdev-\>dvbdev (i.e. \*pdvbdev in
dvb\_register\_device) could point to memory that had been freed in
dvb\_register\_device. Thereafter, this pointer is transferred to
kref\_put and triggering a use-after-free.

## Affected and fixed versions

- Linux: \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< d0f5c28333822f9baa5280d813124920720fd856; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< f20c3270f3ed5aa6919a87e4de9bf6c05fb57086; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 096237039d00c839f3e3a5fe6d001bf0db45b644; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 0d3fe80b6d175c220b3e252efc6c6777e700e98e; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 437a111f79a2f5b2a5f21e27fdec6f40c8768712; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 779e8db7efb22316c8581d6c229636d2f5694a62; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 35674111a043b0482a9bc69da8850a83f465b07d; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< b7586e902128e4fb7bfbb661cb52e4215a65637b; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 (cvelist)
- Linux: 2.6.21 (cvelist)

## Mitigation

- Upgrade Linux to 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27043. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27043.md
Affected: Linux >= b61901024776b25ce7b8edc31bb1757c7382a88e, < d0f5c28333822f9baa5280d813124920720fd856; >= b61901024776b25ce7b8edc31bb1757c7382a88e, < f20c3270f3ed5aa6919a87e4de9bf6c05fb57086; >= b61901024776b25ce7b8edc31bb1757c7382a88e, < 096237039d00c839f3e3a5fe6d001bf0db45b644; >= b61901024776b25ce7b8edc…
Fixed in: Linux 096237039d00c839f3e3a5fe6d001bf0db45b644, Linux 0d3fe80b6d175c220b3e252efc6c6777e700e98e, Linux 437a111f79a2f5b2a5f21e27fdec6f40c8768712, Linux 779e8db7efb22316c8581d6c229636d2f5694a62, Linux 35674111a043b0482a9bc69da8850a83f465b07d, Linux 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27043 being exploited?

There is no confirmed exploitation: CVE-2024-27043 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-27043?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-27043?

Linux \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< d0f5c28333822f9baa5280d813124920720fd856; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< f20c3270f3ed5aa6919a87e4de9bf6c05fb57086; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 096237039d00c839f3e3a5fe6d001bf0db45b644; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 0d3fe80b6d175c220b3e252efc6c6777e700e98e; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 437a111f79a2f5b2a5f21e27fdec6f40c8768712; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 779e8db7efb22316c8581d6c229636d2f5694a62; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 35674111a043b0482a9bc69da8850a83f465b07d; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< b7586e902128e4fb7bfbb661cb52e4215a65637b; \>= b61901024776b25ce7b8edc31bb1757c7382a88e, \< 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5; Linux 2.6.21.

### Is there a fix for CVE-2024-27043?

Yes. Fixed in Linux 096237039d00c839f3e3a5fe6d001bf0db45b644, Linux 0d3fe80b6d175c220b3e252efc6c6777e700e98e, Linux 437a111f79a2f5b2a5f21e27fdec6f40c8768712, Linux 779e8db7efb22316c8581d6c229636d2f5694a62, Linux 35674111a043b0482a9bc69da8850a83f465b07d, Linux 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5. Upgrade Linux to 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 or later.

### How do I check if I'm affected by CVE-2024-27043?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856>
- patch: <https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086>
- patch: <https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644>
- patch: <https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e>
- patch: <https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712>
- patch: <https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62>
- patch: <https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d>
- patch: <https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b>
- patch: <https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27043>

HTML: <https://flawdb.com/CVE-2024-27043> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27043>
