CVE-2024-26833
drm/amd/display: Fix memory leak in dm_sw_fini()
Check your servers for CVE-2024-26833
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26833 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix memory leak in dm_sw_fini()
After destroying dmub_srv, the memory associated with it is not freed, causing a memory leak:
unreferenced object 0xffff896302b45800 (size 1024): comm "(udev-worker)", pid 222, jiffies 4294894636 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 6265fd77): [<ffffffff993495ed>] kmalloc_trace+0x29d/0x340 [<ffffffffc0ea4a94>] dm_dmub_sw_init+0xb4/0x450 [amdgpu] [<ffffffffc0ea4e55>] dm_sw_init+0x15/0x2b0 [amdgpu] [<ffffffffc0ba8557>] amdgpu_device_init+0x1417/0x24e0 [amdgpu] [<ffffffffc0bab285>] amdgpu_driver_load_kms+0x15/0x190 [amdgpu] [<ffffffffc0ba09c7>] amdgpu_pci_probe+0x187/0x4e0 [amdgpu] [<ffffffff9968fd1e>] local_pci_probe+0x3e/0x90 [<ffffffff996918a3>] pci_device_probe+0xc3/0x230 [<ffffffff99805872>] really_probe+0xe2/0x480 [<ffffffff99805c98>] __driver_probe_device+0x78/0x160 [<ffffffff99805daf>] driver_probe_device+0x1f/0x90 [<ffffffff9980601e>] __driver_attach+0xce/0x1c0 [<ffffffff99803170>] bus_for_each_dev+0x70/0xc0 [<ffffffff99804822>] bus_add_driver+0x112/0x210 [<ffffffff99807245>] driver_register+0x55/0x100 [<ffffffff990012d1>] do_one_initcall+0x41/0x300
Fix this by freeing dmub_srv after destroying it.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before b49b022f7dfce85eb77d0d987008fde5c01d7857 affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before 33f649f1b1cea39ed360e6c12bba4fac83118e6e affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before 58168005337eabef345a872be3f87d0215ff3b30 affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before 10c6b90e975358c17856a578419dc449887899c2 affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before 541e79265ea7e339a7c4a462feafe9f8f996e04b affected from 743b9786b14ae0d7d13b3782dccad158e577e9bb, before bae67893578d608e35691dcdfa90c4957debf1d3
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.211 up to and including 5.10.* unaffected from 5.15.150 up to and including 5.15.* unaffected from 6.1.80 up to and including 6.1.* unaffected from 6.6.19 up to and including 6.6.* unaffected from 6.7.7 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26833 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26833
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26833
trivy image --scanners vuln IMAGE | grep CVE-2024-26833
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b49b022f7dfce85eb77d0d987008fde5c01d7857 git.kernel.org
- https://git.kernel.org/stable/c/33f649f1b1cea39ed360e6c12bba4fac83118e6e git.kernel.org
- https://git.kernel.org/stable/c/58168005337eabef345a872be3f87d0215ff3b30 git.kernel.org
- https://git.kernel.org/stable/c/10c6b90e975358c17856a578419dc449887899c2 git.kernel.org
- https://git.kernel.org/stable/c/541e79265ea7e339a7c4a462feafe9f8f996e04b git.kernel.org
- https://git.kernel.org/stable/c/bae67893578d608e35691dcdfa90c4957debf1d3 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
Source: the record CVE-2024-26833 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse