Skip to content
FlawDB
Sign in

CVE-2026-142876

UNSCORED

drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues

AI summary AI generated

A local attacker can trigger kernel warnings and unsafe MES submissions during GPU reset by racing queue eviction, restore, destroy and suspend paths in the Linux kernel amdgpu driver.

Mitigation

  • Upgrade Linux to 7.3.5 or later.

Who should check

  • Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901615891d4046d379bd579e536e2ccba395b84f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 946561d189340d04ea916971fb715aef5caebe92; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8; < 6.18.65; < 7.3.5
  • Anyone running Linux all versions

Vulnerability facts

Affected
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901615891d4046d379bd579e536e2ccba395b84f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 946561d189340d04ea916971fb715aef5caebe92; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8; < 6.18.65; < 7.3.5; Linux all versions
Fixed in
Linux 901615891d4046d379bd579e536e2ccba395b84f, Linux 946561d189340d04ea916971fb715aef5caebe92, Linux 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8, Linux 6.18.65, Linux 7.3.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: wait for GPU reset before mapping or unmapping queues The user queue map and unmap helpers talk to the MES, but only the create path holds reset_domain->sem around them. The eviction, restore, destroy and suspend paths can submit to the MES while a GPU reset is in progress: WARNING: amdgpu_device.c:928 at amdgpu_device_skip_hw_access+0x73/0x90 [amdgpu] Workqueue: events amdgpu_eviction_fence_suspend_worker [amdgpu] Call Trace: amdgpu_mm_wdoorbell64+0x20/0x70 [amdgpu] mes_v11_0_ring_set_wptr+0x71/0x80 [amdgpu] amdgpu_ring_commit+0x5b/0xa0 [amdgpu] mes_v11_0_submit_pkt_and_poll_completion.constprop.0+0x207/0x520 [amdgpu] mes_v11_0_remove_hw_queue+0xd9/0x100 [amdgpu] mes_userq_unmap+0xc3/0x140 [amdgpu] amdgpu_userq_unmap_helper+0x67/0x280 [amdgpu] amdgpu_userq_evict+0x52/0xf0 [amdgpu] amdgpu_eviction_fence_suspend_worker+0x55/0xe0 [amdgpu] Take the semaphore for read in the helpers instead, around both the MES call and the queue state check and update. The reset changes the queue state from amdgpu_userq_pre_reset()/post_reset(), so every caller now waits for a running reset and acts on the state it left behind. (cherry picked from commit e6a8b8588f43bd4d7054ac47cccc35f56ad2df90)

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901615891d4046d379bd579e536e2ccba395b84f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 946561d189340d04ea916971fb715aef5caebe92; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8; < 6.18.65; < 7.3.5—cvelist
Linuxall versions—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-142876.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901615891d4046d379bd579e536e2ccba395b84f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 946561d189340d04ea916971fb715aef5caebe92; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8; < 6.18.65; < 7.3.5; Linux …
Fixed in: Linux 901615891d4046d379bd579e536e2ccba395b84f, Linux 946561d189340d04ea916971fb715aef5caebe92, Linux 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8, Linux 6.18.65, Linux 7.3.5

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.

Technologies

References

FAQ

Is CVE-2026-142876 being exploited?

There is no confirmed exploitation: CVE-2026-142876 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142876?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142876?

Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 901615891d4046d379bd579e536e2ccba395b84f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 946561d189340d04ea916971fb715aef5caebe92; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8; < 6.18.65; < 7.3.5; Linux all versions.

Is there a fix for CVE-2026-142876?

Yes. Fixed in Linux 901615891d4046d379bd579e536e2ccba395b84f, Linux 946561d189340d04ea916971fb715aef5caebe92, Linux 623507b8f4fe24851b2f1cb2c177f8ae3c8584b8, Linux 6.18.65, Linux 7.3.5. Upgrade Linux to 7.3.5 or later.

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

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors