Junglewise Threat Intelligence

CVE-2026-43295: Linux Kernel dangling pointer in RapidIO rio_scan_alloc_net

CVE-2026-43295 · Severity: info · CVSS 0 · Published 2026-05-08

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's RapidIO subsystem, which handles high-performance interconnect communications. Under specific failure conditions during network setup, the system could leave behind a 'dangling pointer,' potentially leading to system instability or crashes. This issue has been resolved by ensuring memory is correctly cleared and pointers are neutralized when a setup failure occurs.

Technical details

A vulnerability in the Linux kernel's RapidIO subsystem (drivers/rapidio/rio-scan.c) was identified where a failure in idtab allocation within rio_scan_alloc_net() could lead to a dangling pointer. Specifically, if the allocation failed, the code previously used rio_free_net(net) before the network was fully registered, and failed to nullify mport->net. This could result in a use-after-free or invalid memory access if the mport structure was subsequently accessed. The fix replaces the incorrect free call with kfree() and explicitly sets mport->net to NULL to prevent dangling pointer references. This is primarily a local stability issue requiring specific hardware/driver initialization failure conditions to trigger.

Affected products

  • Linux Linux Kernel All versions prior to the fix in the RapidIO subsystem

Timeline

  • 2026-01-21: other: Patch submitted by developer
  • 2026-01-31: patched: Patch committed to mainline kernel
  • 2026-05-08: disclosed: CVE published

References

Related threats