CVE-2026-31439
Error Handling Flaw in Linux dmaengine Xilinx XDMA Component
Publication date: 2026-04-22
Last updated on: 2026-04-22
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| xilinx | xdma | * |
Helpful Resources
Exploitability
| 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.