# CVE-2024-26833: drm/amd/display: Fix memory leak in dm\_sw\_fini()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-04-17T10:10:01.654Z
- **Modified:** 2026-06-17T07:18:27.447Z

## Who should check

- Anyone running Linux \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< b49b022f7dfce85eb77d0d987008fde5c01d7857; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 33f649f1b1cea39ed360e6c12bba4fac83118e6e; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 58168005337eabef345a872be3f87d0215ff3b30; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 10c6b90e975358c17856a578419dc449887899c2; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 541e79265ea7e339a7c4a462feafe9f8f996e04b; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< bae67893578d608e35691dcdfa90c4957debf1d3
- Anyone running Linux 5.6

## 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.

## Affected and fixed versions

- Linux: \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< b49b022f7dfce85eb77d0d987008fde5c01d7857; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 33f649f1b1cea39ed360e6c12bba4fac83118e6e; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 58168005337eabef345a872be3f87d0215ff3b30; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 10c6b90e975358c17856a578419dc449887899c2; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 541e79265ea7e339a7c4a462feafe9f8f996e04b; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< bae67893578d608e35691dcdfa90c4957debf1d3 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26833.md
Affected: Linux >= 743b9786b14ae0d7d13b3782dccad158e577e9bb, < b49b022f7dfce85eb77d0d987008fde5c01d7857; >= 743b9786b14ae0d7d13b3782dccad158e577e9bb, < 33f649f1b1cea39ed360e6c12bba4fac83118e6e; >= 743b9786b14ae0d7d13b3782dccad158e577e9bb, < 58168005337eabef345a872be3f87d0215ff3b30; >= 743b9786b14ae0d7d13b378…
Fixed in: Linux 33f649f1b1cea39ed360e6c12bba4fac83118e6e, Linux 58168005337eabef345a872be3f87d0215ff3b30, Linux 10c6b90e975358c17856a578419dc449887899c2, Linux 541e79265ea7e339a7c4a462feafe9f8f996e04b

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-26833 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< b49b022f7dfce85eb77d0d987008fde5c01d7857; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 33f649f1b1cea39ed360e6c12bba4fac83118e6e; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 58168005337eabef345a872be3f87d0215ff3b30; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 10c6b90e975358c17856a578419dc449887899c2; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< 541e79265ea7e339a7c4a462feafe9f8f996e04b; \>= 743b9786b14ae0d7d13b3782dccad158e577e9bb, \< bae67893578d608e35691dcdfa90c4957debf1d3; Linux 5.6.

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

Yes. Fixed in Linux 33f649f1b1cea39ed360e6c12bba4fac83118e6e, Linux 58168005337eabef345a872be3f87d0215ff3b30, Linux 10c6b90e975358c17856a578419dc449887899c2, Linux 541e79265ea7e339a7c4a462feafe9f8f996e04b. No fix listed yet: follow the vendor advisory.

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

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/b49b022f7dfce85eb77d0d987008fde5c01d7857>
- patch: <https://git.kernel.org/stable/c/33f649f1b1cea39ed360e6c12bba4fac83118e6e>
- patch: <https://git.kernel.org/stable/c/58168005337eabef345a872be3f87d0215ff3b30>
- patch: <https://git.kernel.org/stable/c/10c6b90e975358c17856a578419dc449887899c2>
- patch: <https://git.kernel.org/stable/c/541e79265ea7e339a7c4a462feafe9f8f996e04b>
- patch: <https://git.kernel.org/stable/c/bae67893578d608e35691dcdfa90c4957debf1d3>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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-26833>

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