CVE-2026-23071

regmap: Fix race condition in hwspinlock irqsave routine

State
Published
Severity
Not scored
Published
Feb 4, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5Affected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before 766e243ae8c8b27087a4cc605752c0d5ee2daeabAffected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before f1e2fe26a51eca95b41420af76d22c2e613efd5eAffected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before 24f31be6ad70537fd7706269d99c92cade465a09Affected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before 4aab0ca0a0f7760e33edcb4e47576064d05128f5Affected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before c2d2cf710dc3ee1a69e00b4ed8de607a92a07889Affected
  • 8698b9364710e7bac84b3af07dd410e39c8c2e08 to before 4b58aac989c1e3fafb1c68a733811859df388250Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.10.249 through 5.10.*Not affected
  • 5.15.199 through 5.15.*Not affected
  • 6.1.162 through 6.1.*Not affected
  • 6.6.122 through 6.6.*Not affected
  • 6.12.68 through 6.12.*Not affected
  • 6.18.8 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.