⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-142931: Linux Kernel GICv3 ITS Turns Recoverable Allocation Failure into Kernel Panic | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-142931: Linux Kernel GICv3 ITS Turns Recoverable Allocation Failure into Kernel Panic

Executive summary

CVE-2026-142931 is a low-impact Linux kernel defect in drivers/irqchip/irq-gic-v3-its.c. The problem appears while the GICv3 ITS driver releases local processor interrupt (LPI) resources during MSI device teardown. A transient slab-allocation failure prevents free_lpi_range() from returning the freed range to the allocator, but its_lpi_free() escalates that recoverable -ENOMEM condition into a WARN_ON().

The warning creates a verbose kernel backtrace and can become a full system panic on kernels configured with panic_on_warn=1. The underlying consequence is limited to temporarily leaving the freed LPI range unavailable for reuse. The available advisory information reports no remote attack vector, memory corruption, privilege escalation, information disclosure, CISA KEV listing, or evidence of exploitation in the wild.

The issue is therefore best understood as a kernel robustness and observability defect rather than a security-boundary break. Patched stable commits are available for Linux kernel branches.

Affected systems

The affected product is the linux_kernel product maintained by Linux. The source material does not provide a complete list of affected kernel versions; the precise branch mapping is instead represented by multiple stable kernel.org commits.

Systems are technically in scope when they include the vulnerable GICv3 ITS implementation and can encounter the faulty LPI-free path. Relevant environments include ARM64 systems that use GICv3 ITS, including servers, embedded ARM SoCs, and virtual machines or emulators exposing GICv3 interrupt behavior.

The trigger also requires an allocation failure while MSI device teardown reaches free_lpi_range(). This may occur during severe memory pressure or through kernel slab fault-injection facilities. The advisory explicitly lists the issue as not remotely exploitable.

Technical analysis

The affected flow is:

  1. A device teardown path releases LPI resources.

  1. free_lpi_range() attempts to allocate a struct lpi_range object that describes the range being returned to the allocator.

  1. If that allocation fails, free_lpi_range() returns -ENOMEM, its only failure mode.

  1. its_lpi_free() converts the result into a WARN_ON().

  1. The kernel emits a warning and backtrace. With panic_on_warn enabled, that warning triggers a panic.

The reported call stack includes:

  • its_msi_teardown+0x3a4/0x424

  • msi_remove_device_irq_domain+0x16c/0x27c

  • msi_device_data_release+0x38+0x9c

No user-controlled data is interpreted as code, and the failure does not alter interrupt state in a way that provides a memory-corruption or privilege-escalation primitive. The LPI range is simply not returned to the allocator during that failure event. The upstream description characterizes the condition as transient and its consequence as benign.

The fix changes the handling of this allocation failure by replacing the WARN_ON() path with a rate-limited error message. This preserves diagnostic visibility without generating a full warning backtrace or allowing the event to become fatal under panic_on_warn.

Exploitability assessment

Practical exploitation is low. Reaching the condition ordinarily requires either memory pressure at the precise time of device teardown or deliberate fault injection through privileged kernel interfaces. The available records do not identify a network-facing trigger.

A local actor with sufficient access to slab fault injection could deliberately exercise the condition and, on systems using panic_on_warn=1, cause a denial of service. That scenario still depends on strong pre-existing privileges and a specific kernel configuration. The supplied evidence does not show a public exploit beyond the upstream syzbot fault-injection reproducer, and no known exploitation activity is reported in the context.

Mitigation

The primary remediation is to install the patched stable kernel update corresponding to the distribution and branch in use. Upstream stable backports are available at the following URLs:

  • https://git.kernel.org/stable/c/03df2e1a5f9355dd8b49e9e01dbb173e4dfb30e8

  • https://git.kernel.org/stable/c/124e3b5b888921347d6469e348b7d8e8d62cbdf5

  • https://git.kernel.org/stable/c/135d9e67f7ab4f261c2157ee2de1f93a4de39a41

  • https://git.kernel.org/stable/c/5b216a3a529b2c941d6ee63f4448ae6b3cdd7675

  • https://git.kernel.org/stable/c/6c6985a97775849a1d0caf960e9c4b768822ade4

  • https://git.kernel.org/stable/c/91e432404401cbbb64277856325c7acd9ab37dc9

  • https://git.kernel.org/stable/c/aba40e988b10a0dc847894e62d6b9ab6929bdff3

  • https://git.kernel.org/stable/c/be3d38a4c66222147b5277206722da1566664924

Distributions should consume the upstream stable patch through their normal kernel update process rather than manually modifying the driver. After updating, administrators can verify the running release and confirm that the relevant stable commit is present.

Where an immediate update is impractical, checking that panic_on_warn is not enabled removes the panic escalation path. This does not restore the unrecycled LPI range, but the upstream assessment says that loss is transient and benign. Access to slab fault-injection interfaces should also remain restricted to trusted administrative users.

Detection

On vulnerable systems, kernel logs may contain the following warning signature:

WARNING: drivers/irqchip/irq-gic-v3-its.c:2251 at its_msi_teardown+0x3a4/0x424

The associated stack may also reference msi_remove_device_irq_domain+0x16c/0x27c and msi_device_data_release+0x38+0x9c. Incident responders can correlate these messages with device-removal or module-unbinding events, memory pressure, and the state of the panic_on_warn kernel setting.

After patching, a rate-limited error may still report the underlying allocation failure. That message indicates that the recoverable condition occurred, but the patched driver no longer treats it as a warning-driven panic.

References

·
← News