CVE-2026-143409 in Linuxinfo

Summary

by MITRE • 12/05/2026

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

sh: intc: Sort the prio and sense lists after filling them

register_intc_controller() sorts d->prio and d->sense right after allocating them, with hw->nr_prio_regs and hw->nr_sense_regs as the element count. The lists hold hw->nr_vectors entries and are only filled later, by intc_register_irq().

On SH7785, sh7785-irq0123 and sh7785-irq4567 have four vectors but the SoC's eleven priority registers, so sort() swaps 88 bytes in a 32 byte kmalloc object at boot. slub_debug=FZPU reports "Right Redzone overwritten" in kmalloc-32, and v6.5 and v6.6 panic in __kmem_cache_alloc_node() while registering sh7785-irq0123.

Found with a custom QEMU model of the SH7785LCR. On it, v6.4 sh7785lcr_defconfig boots with SLAB, the defconfig default before v6.5, and hangs before the console is up when built with SLUB.

Sort the lists once all vectors are registered, with the number of entries that were added.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 12/05/2026

The vulnerability identified in the Linux kernel involves a critical out-of-bounds write within the SuperH interrupt controller driver, specifically affecting systems utilizing the SH7785 SoC architecture. The root cause lies in the function register_intc_controller(), which is responsible for initializing hardware-specific interrupt handling structures. During this initialization phase, the code allocates memory buffers intended to hold priority and sense configuration lists. However, the sorting operation performed on these newly allocated lists uses incorrect size parameters derived from hw->nr_prio_regs and hw->nr_sense_regs, representing the total number of registers available in the hardware rather than the actual number of interrupt vectors that will be registered later by intc_register_irq(). This discrepancy creates a scenario where the sort algorithm attempts to access memory beyond the bounds of the allocated buffer.

The operational impact of this flaw is severe and manifests differently depending on the kernel configuration, particularly regarding the slab allocator used for memory management. On hardware platforms like SH7785, which have four interrupt vectors but eleven priority registers, the code calculates a sort size that exceeds the actual allocation size by significant margins. When built with SLUB, the default in kernels v6.5 and later, this out-of-bounds write corrupts adjacent memory structures or redzones used for debugging. This corruption triggers immediate kernel panics during boot within __kmem_cache_alloc_node() as the allocator detects invalid state due to overwritten metadata. Even when using the older SLAB allocator found in v6.4 configurations, the system experiences a hang before reaching the console stage, effectively preventing normal operation and rendering the device unbootable without specific configuration changes or patches.

From a technical classification perspective, this issue aligns with CWE-787: Out-of-bounds Write, as it involves writing data to a memory location beyond the intended buffer boundary. The exploitation potential is limited by the fact that this occurs during early boot initialization before user-space processes are active, making remote code execution unlikely. However, an attacker with local access could potentially leverage such instability for denial of service attacks if they can influence system reboot cycles or trigger specific hardware states that re-initialize these drivers. In terms of MITRE ATT&CK mapping, this falls under T1499: Endpoint Denial of Service, specifically via resource exhaustion or stability compromise through kernel-level memory corruption.

The resolution involves correcting the logic within register_intc_controller() to defer the sorting operation until after all interrupt vectors have been registered by intc_register_irq(). By waiting until the actual number of entries is known and populating the lists completely before applying sort operations, the code ensures that the size parameter passed to the sort function accurately reflects the data volume. This adjustment prevents any memory access beyond the allocated kmalloc object boundaries. To mitigate this vulnerability in affected systems, administrators should apply kernel updates that include this fix or revert to SLAB allocator configurations if immediate patching is not feasible, although reverting is only a temporary workaround as it does address the underlying code defect. Maintaining up-to-date kernels and monitoring boot logs for slub_debug errors can help detect similar issues in other hardware drivers early in their deployment lifecycle.

Responsible

Linux

Reservation

12/03/2026

Disclosure

12/05/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!