CVE-2026-139362
publishedirqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux322a9063876890895cb8308cc6f59de312e8aad5 to < e29e24e7b462a4edb9cd8d16ee47db14d333210c · 322a9063876890895cb8308cc6f59de312e8aad5 to < 980c2ec09368ca226feda42edf0b41376098c844 · 322a9063876890895cb8308cc6f59de312e8aad5 to < 1bae25dcc6beb8b874f23601d2efa142ac4f9f36 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity() Commit 322a90638768 ("irqchip/mips-gic: Multi-cluster support") made gic_set_affinity() call gic_set_type() when an interrupt's affinity is moved between clusters. gic_set_type() takes gic_lock with raw_spin_lock_irqsave(), but gic_set_affinity() holds gic_lock at that point, so the same raw spinlock is acquired twice, triggering a deadlock. Split gic_set_type() into a gic_set_type_locked() helper that assumes gic_lock is already held. gic_set_type() takes gic_lock and calls the helper, and gic_set_affinity() calls gic_set_type_locked() directly, since it already holds gic_lock.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 322a9063876890895cb8308cc6f59de312e8aad5 to < e29e24e7b462a4edb9cd8d16ee47db14d333210c (affected · git)322a9063876890895cb8308cc6f59de312e8aad5 to < 980c2ec09368ca226feda42edf0b41376098c844 (affected · git)322a9063876890895cb8308cc6f59de312e8aad5 to < 1bae25dcc6beb8b874f23601d2efa142ac4f9f36 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cc22feab5c2e235350d8c9b24bacef5bac86a49080c9c284d5c1154a952c2887
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record