# CVE-2024-41008: drm/amdgpu: change vm-\>task\_info handling

> 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 18, 2026-11-26)
- **Published:** 2024-07-16T08:03:47.091Z
- **Modified:** 2026-10-30T13:17:30.410Z

## Who should check

- Anyone running Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< aa22d6c58505d239814b5ef8fa7da4ce43e9212b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 251840f22eff35c25de531a3fcb523df94c128c0; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8f67b9ddf4f8fe6dd536590712b5912ad78f99c
- Anyone running Linux 4.2

## Description

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

drm/amdgpu: change vm-\>task\_info handling

This patch changes the handling and lifecycle of vm-\>task\_info object.
The major changes are:
- vm-\>task\_info is a dynamically allocated ptr now, and its uasge is
  reference counted.
- introducing two new helper funcs for task\_info lifecycle management
    - amdgpu\_vm\_get\_task\_info: reference counts up task\_info before
      returning this info
    - amdgpu\_vm\_put\_task\_info: reference counts down task\_info
- last put to task\_info() frees task\_info from the vm.

This patch also does logistical changes required for existing usage
of vm-\>task\_info.

V2: Do not block all the prints when task\_info not found (Felix)

V3: Fixed review comments from Felix
   - Fix wrong indentation
   - No debug message for -ENOMEM
   - Add NULL check for task\_info
   - Do not duplicate the debug messages (ti vs no ti)
   - Get first reference of task\_info in vm\_init(), put last
     in vm\_fini()

V4: Fixed review comments from Felix
   - fix double reference increment in create\_task\_info
   - change amdgpu\_vm\_get\_task\_info\_pasid
   - additional changes in amdgpu\_gem.c while porting

## Affected and fixed versions

- Linux: \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< aa22d6c58505d239814b5ef8fa7da4ce43e9212b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 251840f22eff35c25de531a3fcb523df94c128c0; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8f67b9ddf4f8fe6dd536590712b5912ad78f99c (cvelist)
- Linux: 4.2 (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-41008. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41008.md
Affected: Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < aa22d6c58505d239814b5ef8fa7da4ce43e9212b; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 251840f22eff35c25de531a3fcb523df94c128c0; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < b8f67b9ddf4f8fe6dd536590712b5912ad78f99c; Linux 4.2
Fixed in: Linux 251840f22eff35c25de531a3fcb523df94c128c0

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

There is no confirmed exploitation: CVE-2024-41008 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-41008?

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

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

Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< aa22d6c58505d239814b5ef8fa7da4ce43e9212b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 251840f22eff35c25de531a3fcb523df94c128c0; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8f67b9ddf4f8fe6dd536590712b5912ad78f99c; Linux 4.2.

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

Yes. Fixed in Linux 251840f22eff35c25de531a3fcb523df94c128c0. No fix listed yet: follow the vendor advisory.

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

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/b8f67b9ddf4f8fe6dd536590712b5912ad78f99c>
- other: <https://git.kernel.org/stable/c/aa22d6c58505d239814b5ef8fa7da4ce43e9212b>
- other: <https://git.kernel.org/stable/c/251840f22eff35c25de531a3fcb523df94c128c0>

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

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