regmap: Fix race condition in hwspinlock irqsave routine
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.249, 5.15.199, 6.1.162, 6.12.68, 6.18.8, 6.6.122
- CVEs
- CVE-2026-23071
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:35 UTC · Revision 1
Source evidence
regmap: Fix race condition in hwspinlock irqsave routine
core-osv · Original sourcePublished 4 Feb 2026, 16:07 UTC
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.
osv:CVE-2026-23071
Kernel
Fixed versions: 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.68, 6.18.8
Complete source record
{
"id": "ed72c305b040fce0916056bc6f793ac9a7b2dee9ba81f956e20a3ad49f897e1a",
"url": "https://osv.dev/vulnerability/CVE-2026-23071",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "regmap: Fix race condition in hwspinlock irqsave routine",
"summary": "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.",
"evidence": "osv:CVE-2026-23071",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.249",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.199",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.162",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.122",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.68",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-23071",
"aliases": [
"CVE-2026-23071"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8698b9364710e7bac84b3af07dd410e39c8c2e08"
},
{
"fixed": "e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5"
},
{
"fixed": "766e243ae8c8b27087a4cc605752c0d5ee2daeab"
},
{
"fixed": "f1e2fe26a51eca95b41420af76d22c2e613efd5e"
},
{
"fixed": "24f31be6ad70537fd7706269d99c92cade465a09"
},
{
"fixed": "4aab0ca0a0f7760e33edcb4e47576064d05128f5"
},
{
"fixed": "c2d2cf710dc3ee1a69e00b4ed8de607a92a07889"
},
{
"fixed": "4b58aac989c1e3fafb1c68a733811859df388250"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23071.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "5.10.249"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.199"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.162"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.122"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.68"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23071.json"
}
}
],
"modified": "2026-10-28T02:30:48.295243521Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/24f31be6ad70537fd7706269d99c92cade465a09",
"https://git.kernel.org/stable/c/4aab0ca0a0f7760e33edcb4e47576064d05128f5",
"https://git.kernel.org/stable/c/4b58aac989c1e3fafb1c68a733811859df388250",
"https://git.kernel.org/stable/c/766e243ae8c8b27087a4cc605752c0d5ee2daeab",
"https://git.kernel.org/stable/c/c2d2cf710dc3ee1a69e00b4ed8de607a92a07889",
"https://git.kernel.org/stable/c/e1a7072bc4f958c9e852dc7e57e39f12b0bb44b5",
"https://git.kernel.org/stable/c/f1e2fe26a51eca95b41420af76d22c2e613efd5e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23071.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23071",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23071.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23071",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 516661,
"published_at": "2026-02-04T16:07:51.603+00:00"
}