CVE-2026-139362: irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

irqchip/mips-gic: Fix recursive acquisition of giclock in gicsetaffinity()

Commit 322a90638768 ("irqchip/mips-gic: Multi-cluster support") made gicsetaffinity() call gicsettype() when an interrupt's affinity is moved between clusters. gicsettype() takes giclock with rawspinlockirqsave(), but gicsetaffinity() holds giclock at that point, so the same raw spinlock is acquired twice, triggering a deadlock.

Split gicsettype() into a gicsettypelocked() helper that assumes giclock is already held. gicsettype() takes giclock and calls the helper, and gicsetaffinity() calls gicsettypelocked() directly, since it already holds giclock.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 322a90638768

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Frequently Asked Questions

1

Which systems are exposed to the deadlock condition?

The condition applies to Linux kernel systems using the MIPS GIC multi-cluster support when an interrupt's affinity is moved between clusters. The affected path recursively acquires gic_lock during that transition.

2

How can remediation be verified without relying on a version number?

Verify that the kernel includes one of the referenced stable fixes: e29e24e7b462a4edb9cd8d16ee47db14d333210c, 980c2ec09368ca226feda42edf0b41376098c844, or 1bae25dcc6beb8b874f23601d2efa142ac4f9f36. The fix separates the locked type-setting logic so the affinity path does not acquire gic_lock a second time.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203