Junglewise Threat Intelligence

CVE-2026-31439: Linux Kernel Xilinx XDMA regmap init error handling vulnerability

CVE-2026-31439 · Severity: medium · CVSS 5.5 · Published 2026-04-22

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Xilinx XDMA driver, which manages high-speed data transfers between system memory and Xilinx hardware. Due to incorrect error handling during initialization, the system may fail to properly recognize configuration failures, potentially leading to system instability or a denial-of-service. This could allow a local user to cause a system crash or prevent the hardware from functioning correctly.

Technical details

A vulnerability exists in the xdma_probe function within drivers/dma/xilinx/xdma.c of the Linux kernel. The driver incorrectly checks the return value of devm_regmap_init_mmio() against NULL, whereas the function actually returns an ERR_PTR() on failure. This logic error prevents the driver from correctly identifying and handling initialization failures, leading to the use of invalid pointers or incorrect error reporting. An attacker with local access could potentially leverage this to cause a kernel oops or denial-of-service condition. The issue has been resolved by updating the check to use IS_ERR() and properly extracting the error code.

Affected products

  • Linux Linux Kernel 6.3 to 6.6.131, 6.7 to 6.12.80, 6.13 to 6.18.21, 6.19 to 6.19.11, 7.0-rc1 to 7.0-rc6

Timeline

  • 2025-10-14: other: Initial patch authored
  • 2026-03-09: patched: Mainline patch committed
  • 2026-04-22: disclosed: CVE published
  • 2026-05-19: advisory: NVD enrichment and analysis completed

References

Related threats