SecurityContext

CVE-2024-27043: Linux Kernel - Use After Free

  • Cve: CVE-2024-27043
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Attackers can exploit use-after-free to cause kernel crashes or arbitrary code execution, potentially compromising the system.
  • Remediation: Apply the latest Linux kernel updates where this issue is fixed, or update to the latest stable kernel version.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00294
  • Epss percentile: 0.22291
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-05-01T13:15:49Z
  • Age in days: 937
  • Modified at: 2026-08-04T11:17:37Z
  • Patch available: yes
  • References total: 11
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-27043
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644
https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e
https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d
https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712
https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62
https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5
https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b
https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856
https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.8, < 6.8.2; >= 6.7, < 6.7.11; >= 6.2, < 6.6.23; >= 5.16, < 6.1.83; >= 5.11, < 5.15.153; >= 5.5, < 5.10.214; >= 4.20, < 5.4.273; >= 2.6.21, < 4.19.311nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports