# CVE-2024-41022: drm/amdgpu: Fix signedness bug in sdma\_v4\_0\_process\_trap\_irq()

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.34% (percentile 20, 2026-11-26)
- **Published:** 2024-07-29T13:34:23.507Z
- **Modified:** 2026-08-05T11:34:47.470Z

## Who should check

- Anyone running Linux \>= 5594971e02764aa1c8210ffb838cb4e7897716e8, \< 3dd9734878a9042f0358301d19a2b006a0fc4d06; \>= 8112fa72b7f139052843ff484130d6f97e9f052f, \< a5224e2123ce21102f346f518db80f004d5053a7; \>= ea906e9ac61e3152bef63597f2d9f4a812fc346a, \< 544fa213f15d27f0370795845d55eeb3e00080d2; \>= 011552f29f20842c9a7a21bffe1f6a2d6457ba46, \< e8dfbf83a82bbfb9680921719fbe65e535af59ea; \>= 5b0a3dc3e87821acb80e841b464d335aff242691, \< 4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287; \>= 0964c84b93db7fbf74f357c1e20957850e092db3, \< d347c9a398bf7eab9408d207c0a50fb720f9de7d; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 298e2ce222e712ffafa47288c5b2fcf33d72fda3; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 6769a23697f17f9bf9365ca8ed62fe37e361a05a; \>= 5.4.278, \< 5.4.281; \>= 5.10.219, \< 5.10.223; …
- Anyone running Linux 6.10

## Description

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

drm/amdgpu: Fix signedness bug in sdma\_v4\_0\_process\_trap\_irq()

The "instance" variable needs to be signed for the error handling to work.

## Affected and fixed versions

- Linux: \>= 5594971e02764aa1c8210ffb838cb4e7897716e8, \< 3dd9734878a9042f0358301d19a2b006a0fc4d06; \>= 8112fa72b7f139052843ff484130d6f97e9f052f, \< a5224e2123ce21102f346f518db80f004d5053a7; \>= ea906e9ac61e3152bef63597f2d9f4a812fc346a, \< 544fa213f15d27f0370795845d55eeb3e00080d2; \>= 011552f29f20842c9a7a21bffe1f6a2d6457ba46, \< e8dfbf83a82bbfb9680921719fbe65e535af59ea; \>= 5b0a3dc3e87821acb80e841b464d335aff242691, \< 4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287; \>= 0964c84b93db7fbf74f357c1e20957850e092db3, \< d347c9a398bf7eab9408d207c0a50fb720f9de7d; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 298e2ce222e712ffafa47288c5b2fcf33d72fda3; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 6769a23697f17f9bf9365ca8ed62fe37e361a05a; \>= 5.4.278, \< 5.4.281; \>= 5.10.219, \< 5.10.223; … (cvelist)
- Linux: 6.10 (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-41022. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41022.md
Affected: Linux >= 5594971e02764aa1c8210ffb838cb4e7897716e8, < 3dd9734878a9042f0358301d19a2b006a0fc4d06; >= 8112fa72b7f139052843ff484130d6f97e9f052f, < a5224e2123ce21102f346f518db80f004d5053a7; >= ea906e9ac61e3152bef63597f2d9f4a812fc346a, < 544fa213f15d27f0370795845d55eeb3e00080d2; >= 011552f29f20842c9a7a21b…
Fixed in: Linux 3dd9734878a9042f0358301d19a2b006a0fc4d06, Linux 544fa213f15d27f0370795845d55eeb3e00080d2, Linux 4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287, Linux 298e2ce222e712ffafa47288c5b2fcf33d72fda3, Linux 6769a23697f17f9bf9365ca8ed62fe37e361a05a, Linux 5.4.281, Linux 5.10.223

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

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

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 5594971e02764aa1c8210ffb838cb4e7897716e8, \< 3dd9734878a9042f0358301d19a2b006a0fc4d06; \>= 8112fa72b7f139052843ff484130d6f97e9f052f, \< a5224e2123ce21102f346f518db80f004d5053a7; \>= ea906e9ac61e3152bef63597f2d9f4a812fc346a, \< 544fa213f15d27f0370795845d55eeb3e00080d2; \>= 011552f29f20842c9a7a21bffe1f6a2d6457ba46, \< e8dfbf83a82bbfb9680921719fbe65e535af59ea; \>= 5b0a3dc3e87821acb80e841b464d335aff242691, \< 4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287; \>= 0964c84b93db7fbf74f357c1e20957850e092db3, \< d347c9a398bf7eab9408d207c0a50fb720f9de7d; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 298e2ce222e712ffafa47288c5b2fcf33d72fda3; \>= 8b2faf1a4f3b6c748c0da36cda865a226534d520, \< 6769a23697f17f9bf9365ca8ed62fe37e361a05a; \>= 5.4.278, \< 5.4.281; \>= 5.10.219, \< 5.10.223; …; Linux 6.10.

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

Yes. Fixed in Linux 3dd9734878a9042f0358301d19a2b006a0fc4d06, Linux 544fa213f15d27f0370795845d55eeb3e00080d2, Linux 4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287, Linux 298e2ce222e712ffafa47288c5b2fcf33d72fda3, Linux 6769a23697f17f9bf9365ca8ed62fe37e361a05a, Linux 5.4.281, Linux 5.10.223. No fix listed yet: follow the vendor advisory.

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

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/3dd9734878a9042f0358301d19a2b006a0fc4d06>
- patch: <https://git.kernel.org/stable/c/a5224e2123ce21102f346f518db80f004d5053a7>
- patch: <https://git.kernel.org/stable/c/544fa213f15d27f0370795845d55eeb3e00080d2>
- patch: <https://git.kernel.org/stable/c/e8dfbf83a82bbfb9680921719fbe65e535af59ea>
- patch: <https://git.kernel.org/stable/c/4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287>
- patch: <https://git.kernel.org/stable/c/d347c9a398bf7eab9408d207c0a50fb720f9de7d>
- patch: <https://git.kernel.org/stable/c/298e2ce222e712ffafa47288c5b2fcf33d72fda3>
- patch: <https://git.kernel.org/stable/c/6769a23697f17f9bf9365ca8ed62fe37e361a05a>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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-41022>

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