CVE-2026-31439
Analyzed Analyzed - Analysis Complete
Error Handling Flaw in Linux dmaengine Xilinx XDMA Component

Publication date: 2026-04-22

Last updated on: 2026-05-19

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-05-19
Generated
2026-06-16
AI Q&A
2026-04-22
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 10 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.13 (inc) to 6.18.21 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.11 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.80 (exc)
linux linux_kernel From 6.3 (inc) to 6.6.131 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-31439. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart