# CVE-2026-74357: drm/amdgpu: fix KASAN slab-out-of-bounds in amdgpu\_coredump ring dump

> 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.17% (percentile 3, 2026-11-26)
- **Published:** 2026-08-15T05:58:42.116Z
- **Modified:** 2026-08-17T06:19:30.407Z

## Who should check

- Anyone running Linux \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< efb1dadaeb897b22b9e118d398d0f41e70e9ccca; \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< 08ac3a7879d300302a1927ce2038629539a37f8b
- Anyone running Linux 7.1

## Description

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

drm/amdgpu: fix KASAN slab-out-of-bounds in amdgpu\_coredump ring dump

The ring content dump in amdgpu\_coredump() uses two separate loops over
adev-\>rings\[\]: the first counts rings with unsignalled fences to size
the allocation, and the second copies ring data into the allocated
buffers.

Both loops use the same condition to skip rings:

    atomic\_read(&ring-\>fence\_drv.last\_seq) == ring-\>fence\_drv.sync\_seq

Because last\_seq is an atomic that is updated concurrently by the fence
signalling path, additional rings may appear unsignalled in the second
loop that were signalled during the first. When this happens, idx
exceeds the allocated ring\_count and the store to coredump-\>rings\[idx\]
writes past the end of the kcalloc-ed buffer.

This was found during IGT stressful test amd\_queue\_reset which
triggers random GPU resets. The OVERSIZE subtest
(CMD\_STREAM\_EXEC\_INVALID\_PACKET\_LENGTH\_OVERSIZE on GFX ring) provokes
a ring timeout and subsequent coredump, which hits the race between
the counting and copying loops. The failure is non-deterministic and
depends on fence signalling timing during the reset.

KASAN log:

  BUG: KASAN: slab-out-of-bounds in amdgpu\_coredump+0x1274/0x12f0 \[amdgpu\]
  Write of size 4 at addr ffff888106154258 by task kworker/u128:5/23625
  CPU: 16 UID: 0 PID: 23625 Comm: kworker/u128:5 Not tainted 6.19.0+ \#35
  Workqueue: amdgpu-reset-dev drm\_sched\_job\_timedout \[gpu\_sched\]
  Call Trace:
   \<TASK\>
   dump\_stack\_lvl+0xa5/0x110
   print\_report+0xd1/0x660
   kasan\_report+0xf3/0x130
   \_\_asan\_report\_store4\_noabort+0x17/0x30
   amdgpu\_coredump+0x1274/0x12f0 \[amdgpu\]
   amdgpu\_job\_timedout+0xef0/0x16c0 \[amdgpu\]
   drm\_sched\_job\_timedout+0x194/0x5c0 \[gpu\_sched\]
   process\_one\_work+0x84b/0x1990
   worker\_thread+0x6b8/0x11b0
   \</TASK\>

  Allocated by task 23625:
   kasan\_save\_stack+0x39/0x70
   \_\_kasan\_kmalloc+0xc3/0xd0
   \_\_kmalloc\_noprof+0x2ec/0x910
   amdgpu\_coredump+0x5c5/0x12f0 \[amdgpu\]
   amdgpu\_job\_timedout+0xef0/0x16c0 \[amdgpu\]

  The buggy address belongs to the object at ffff888106154200
   which belongs to the cache kmalloc-rnd-09-96 of size 96
  The buggy address is located 16 bytes to the right of
   allocated 72-byte region \[ffff888106154200, ffff888106154248)

72 bytes = 3 \* sizeof(struct amdgpu\_coredump\_ring), so ring\_count was 3
but idx reached 3+, writing ring\_index (at struct offset 16) 16 bytes
past the allocation.

Fix by adding an idx \< ring\_count guard to the copy loop so it cannot
exceed the allocated count even when the fence state changes between
the two passes.

## Affected and fixed versions

- Linux: \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< efb1dadaeb897b22b9e118d398d0f41e70e9ccca; \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< 08ac3a7879d300302a1927ce2038629539a37f8b (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 08ac3a7879d300302a1927ce2038629539a37f8b or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74357.md
Affected: Linux >= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, < efb1dadaeb897b22b9e118d398d0f41e70e9ccca; >= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, < 08ac3a7879d300302a1927ce2038629539a37f8b; Linux 7.1
Fixed in: Linux 08ac3a7879d300302a1927ce2038629539a37f8b

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-2026-74357 being exploited?

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

### How serious is CVE-2026-74357?

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

### Which versions are affected by CVE-2026-74357?

Linux \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< efb1dadaeb897b22b9e118d398d0f41e70e9ccca; \>= eea85914d15bfe3bdf9f8f80a479f0dee0aa7d73, \< 08ac3a7879d300302a1927ce2038629539a37f8b; Linux 7.1.

### Is there a fix for CVE-2026-74357?

Yes. Fixed in Linux 08ac3a7879d300302a1927ce2038629539a37f8b. Upgrade Linux to 08ac3a7879d300302a1927ce2038629539a37f8b or later.

### How do I check if I'm affected by CVE-2026-74357?

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

- other: <https://git.kernel.org/stable/c/efb1dadaeb897b22b9e118d398d0f41e70e9ccca>
- other: <https://git.kernel.org/stable/c/08ac3a7879d300302a1927ce2038629539a37f8b>

## 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-2026-74357>

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