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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-04 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-23071, DEBIAN-CVE-2026-23071
- Record: https://cvemate.com/vulnerability/CVE-2026-23071 · JSON: https://cvemate.com/vulnerability/CVE-2026-23071/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.138%, percentile 3.399%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 159)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-176.186 \| \< 6.8.0-117.117
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1105.112 \| \< 6.8.0-1055.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1105.112~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1057.60~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1105.112+fips1 \| \< 6.8.0-1055.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1110.119 \| \< 6.8.0-1056.62

## References (first 20 of 40)

- <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>
- <https://ubuntu.com/security/CVE-2026-23071>
- <https://www.cve.org/CVERecord?id=CVE-2026-23071>
- <https://git.kernel.org/linus/4b58aac989c1e3fafb1c68a733811859df388250>
- <https://ubuntu.com/security/notices/USN-8162-1>
- <https://ubuntu.com/security/notices/USN-8180-1>
- <https://ubuntu.com/security/notices/USN-8180-2>
- <https://ubuntu.com/security/notices/USN-8186-1>
- <https://ubuntu.com/security/notices/USN-8187-1>
- <https://ubuntu.com/security/notices/USN-8188-1>
- <https://ubuntu.com/security/notices/USN-8180-3>
- <https://ubuntu.com/security/notices/USN-8180-4>
- <https://ubuntu.com/security/notices/USN-8180-5>
- <https://ubuntu.com/security/notices/USN-8243-1>

---

Data as of 2026-12-05T04:59:03.534Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
