Linux Kernel DMA Engine Xilinx XDMA Regmap Initialization Error Handling Vulnerability

Vulnerability

A vulnerability in the Linux kernel's DMA engine Xilinx XDMA driver has been addressed. The issue was related to improper error handling in the regmap initialization process. The function 'devm_regmap_init_mmio' returns an error pointer upon failure, but the original code did not correctly check for this. Instead, it used a NULL value, leading to inaccurate error reporting. The vulnerability affects the Linux kernel stable group.

Impact

The vulnerability could lead to incorrect error handling and messaging during the regmap initialization process, potentially causing issues in driver operation or error management.

Reproduction

The vulnerability can be reproduced by loading the Xilinx XDMA driver in the Linux kernel. During the driver's initialization, the regmap is set up using 'devm_regmap_init_mmio'. If this function fails, it returns an error pointer, which should be checked with 'IS_ERR'. However, the original code incorrectly handled this by not checking for an error condition, leading to a vulnerability in error management.

Remediation

The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.

Added: Apr 22, 2026, 3:57 PM
Updated: Apr 22, 2026, 3:57 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
1.9
exploitability
4.3
remediation
7.7
relevance
6.5
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.