Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
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.
The vulnerability could lead to incorrect error handling and messaging during the regmap initialization process, potentially causing issues in driver operation or error management.
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.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.