CVE-2026-31439
Received Received - Intake
Error Handling Flaw in Linux dmaengine Xilinx XDMA Component

Publication date: 2026-04-22

Last updated on: 2026-04-22

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: xilinx: xdma: Fix regmap init error handling devm_regmap_init_mmio returns an ERR_PTR() upon error, not NULL. Fix the error check and also fix the error message. Use the error code from ERR_PTR() instead of the wrong value in ret.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-22
Last Modified
2026-04-22
Generated
2026-05-07
AI Q&A
2026-04-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
xilinx xdma *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability relates to the Linux kernel's dmaengine driver for Xilinx's xdma device. The issue was that the function devm_regmap_init_mmio, which initializes a memory-mapped I/O register map, returns an error pointer (ERR_PTR()) on failure, but the code incorrectly checked for a NULL pointer instead. This caused improper error handling and incorrect error messages. The fix involved correcting the error check to properly handle the ERR_PTR() return value and using the correct error code.


How can this vulnerability impact me? :

Improper error handling in the dmaengine xdma driver could lead to incorrect behavior or instability when the driver encounters initialization errors. This might cause the device to malfunction or fail to initialize properly, potentially impacting system reliability or performance.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart