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

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.14% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-02-04T16:07:51.603Z
- **Modified:** 2026-10-19T19:17:33.930Z

## Who should check

- Anyone running Linux \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 766e243ae8c8b27087a4cc605752c0d5ee2daeab; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< f1e2fe26a51eca95b41420af76d22c2e613efd5e; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 24f31be6ad70537fd7706269d99c92cade465a09; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4aab0ca0a0f7760e33edcb4e47576064d05128f5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< c2d2cf710dc3ee1a69e00b4ed8de607a92a07889; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4b58aac989c1e3fafb1c68a733811859df388250
- Anyone running Linux 4.15

## 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.

## Affected and fixed versions

- Linux: \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 766e243ae8c8b27087a4cc605752c0d5ee2daeab; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< f1e2fe26a51eca95b41420af76d22c2e613efd5e; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 24f31be6ad70537fd7706269d99c92cade465a09; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4aab0ca0a0f7760e33edcb4e47576064d05128f5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< c2d2cf710dc3ee1a69e00b4ed8de607a92a07889; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4b58aac989c1e3fafb1c68a733811859df388250 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 4b58aac989c1e3fafb1c68a733811859df388250 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-23071. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23071.md
Affected: Linux >= 8698b9364710e7bac84b3af07dd410e39c8c2e08, < e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5; >= 8698b9364710e7bac84b3af07dd410e39c8c2e08, < 766e243ae8c8b27087a4cc605752c0d5ee2daeab; >= 8698b9364710e7bac84b3af07dd410e39c8c2e08, < f1e2fe26a51eca95b41420af76d22c2e613efd5e; >= 8698b9364710e7bac84b3af…
Fixed in: Linux 766e243ae8c8b27087a4cc605752c0d5ee2daeab, Linux 24f31be6ad70537fd7706269d99c92cade465a09, Linux 4aab0ca0a0f7760e33edcb4e47576064d05128f5, Linux 4b58aac989c1e3fafb1c68a733811859df388250

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

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). 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-2026-23071?

Linux \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 766e243ae8c8b27087a4cc605752c0d5ee2daeab; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< f1e2fe26a51eca95b41420af76d22c2e613efd5e; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 24f31be6ad70537fd7706269d99c92cade465a09; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4aab0ca0a0f7760e33edcb4e47576064d05128f5; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< c2d2cf710dc3ee1a69e00b4ed8de607a92a07889; \>= 8698b9364710e7bac84b3af07dd410e39c8c2e08, \< 4b58aac989c1e3fafb1c68a733811859df388250; Linux 4.15.

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

Yes. Fixed in Linux 766e243ae8c8b27087a4cc605752c0d5ee2daeab, Linux 24f31be6ad70537fd7706269d99c92cade465a09, Linux 4aab0ca0a0f7760e33edcb4e47576064d05128f5, Linux 4b58aac989c1e3fafb1c68a733811859df388250. Upgrade Linux to 4b58aac989c1e3fafb1c68a733811859df388250 or later.

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

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/e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5>
- patch: <https://git.kernel.org/stable/c/766e243ae8c8b27087a4cc605752c0d5ee2daeab>
- patch: <https://git.kernel.org/stable/c/f1e2fe26a51eca95b41420af76d22c2e613efd5e>
- patch: <https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09>
- patch: <https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5>
- patch: <https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889>
- patch: <https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250>

## 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-23071>

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