Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-90012

CRITICAL 9.8EPSS 47%

spi: Fix DMA mapping ownership on partial map failure

Mitigation

  • Upgrade Linux to 367cea239fc93094e5c16a72724800e0358f5c46 or later.

Who should check

  • Anyone running Linux >= e289df82344fecc104ad8326b9ab6da612b9c899, < cc8354213ad6bd5fb8cc05a3fa3701188d086626; >= e289df82344fecc104ad8326b9ab6da612b9c899, < a38051fa2ddedbc8ec15292c55e276880ec5b9a4; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 5def8b6aaad44603740786262b95b6f77df52a1c; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 367cea239fc93094e5c16a72724800e0358f5c46
  • Anyone running Linux 6.11

Vulnerability facts

Affected
Linux >= e289df82344fecc104ad8326b9ab6da612b9c899, < cc8354213ad6bd5fb8cc05a3fa3701188d086626; >= e289df82344fecc104ad8326b9ab6da612b9c899, < a38051fa2ddedbc8ec15292c55e276880ec5b9a4; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 5def8b6aaad44603740786262b95b6f77df52a1c; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 367cea239fc93094e5c16a72724800e0358f5c46; Linux 6.11
Fixed in
Linux 5def8b6aaad44603740786262b95b6f77df52a1c, Linux 367cea239fc93094e5c16a72724800e0358f5c46
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: spi: Fix DMA mapping ownership on partial map failure If RX mapping fails after TX mapping succeeds, __spi_map_msg() unmaps TX but leaves tx_sg_mapped set. If TX mapping fails on a later transfer, mappings created for earlier transfers remain active. In both cases, cur_{tx,rx}_dma_dev have not yet been updated because they are assigned only after every transfer has been mapped. The subsequent spi_unmap_msg() may therefore unmap the TX mapping again or release earlier mappings using a NULL or stale device. Using a NULL device can trigger an oops. An empty SG table does not prevent the NULL dereference because dma_unmap_sg_attrs() accesses the device before checking the entry count. Publish both mapping devices before mapping starts and unwind all failures through __spi_unmap_msg(). This clears the mapping flags and releases each mapping once with the device that created it. Publishing the devices before the loop also refreshes them when no transfer needs mapping. No mapping flag is set in that case, so current users do not use the pointers as mapping owners.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e289df82344fecc104ad8326b9ab6da612b9c899, < cc8354213ad6bd5fb8cc05a3fa3701188d086626; >= e289df82344fecc104ad8326b9ab6da612b9c899, < a38051fa2ddedbc8ec15292c55e276880ec5b9a4; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 5def8b6aaad44603740786262b95b6f77df52a1c; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 367cea239fc93094e5c16a72724800e0358f5c46—cvelist
Linux6.11—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-90012. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90012.md
Affected: Linux >= e289df82344fecc104ad8326b9ab6da612b9c899, < cc8354213ad6bd5fb8cc05a3fa3701188d086626; >= e289df82344fecc104ad8326b9ab6da612b9c899, < a38051fa2ddedbc8ec15292c55e276880ec5b9a4; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 5def8b6aaad44603740786262b95b6f77df52a1c; >= e289df82344fecc104ad832…
Fixed in: Linux 5def8b6aaad44603740786262b95b6f77df52a1c, Linux 367cea239fc93094e5c16a72724800e0358f5c46

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.

References

FAQ

Is CVE-2026-90012 being exploited?

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

How serious is CVE-2026-90012?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-90012?

Linux >= e289df82344fecc104ad8326b9ab6da612b9c899, < cc8354213ad6bd5fb8cc05a3fa3701188d086626; >= e289df82344fecc104ad8326b9ab6da612b9c899, < a38051fa2ddedbc8ec15292c55e276880ec5b9a4; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 5def8b6aaad44603740786262b95b6f77df52a1c; >= e289df82344fecc104ad8326b9ab6da612b9c899, < 367cea239fc93094e5c16a72724800e0358f5c46; Linux 6.11.

Is there a fix for CVE-2026-90012?

Yes. Fixed in Linux 5def8b6aaad44603740786262b95b6f77df52a1c, Linux 367cea239fc93094e5c16a72724800e0358f5c46. Upgrade Linux to 367cea239fc93094e5c16a72724800e0358f5c46 or later.

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

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.

Sponsors