CVE-2022-50541
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-07

Last updated on: 2026-02-26

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow UDMA_CHAN_RT_*BCNT_REG stores the real-time channel bytecount statistics. These registers are 32-bit hardware counters and the driver uses these counters to monitor the operational progress status for a channel, when transferring more than 4GB of data it was observed that these counters overflow and completion calculation of a operation gets affected and the transfer hangs indefinitely. This commit adds changes to decrease the byte count for every complete transaction so that these registers never overflow and the proper byte count statistics is maintained for ongoing transaction by the RT counters. Earlier uc->bcnt used to maintain a count of the completed bytes at driver side, since the RT counters maintain the statistics of current transaction now, the maintenance of uc->bcnt is not necessary.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-07
Last Modified
2026-02-26
Generated
2026-05-07
AI Q&A
2025-10-07
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.0 (inc) to 6.0.3 (inc)
ti k3-udma *
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 involves a flaw in the Linux kernel's dmaengine driver for the ti k3-udma hardware. The driver uses 32-bit hardware counters (UDMA_CHAN_RT_*BCNT_REG) to track the number of bytes transferred in real-time. When transferring more than 4GB of data, these counters can overflow, causing the driver to miscalculate the completion status of the transfer. This miscalculation can cause the data transfer to hang indefinitely. The fix resets these byte counters after each completed transaction to prevent overflow and maintain accurate byte count statistics.


How can this vulnerability impact me? :

If you are using the affected Linux kernel dmaengine driver for ti k3-udma hardware and transferring large amounts of data (over 4GB), this vulnerability can cause data transfers to hang indefinitely due to counter overflow and incorrect completion status calculation. This can lead to system instability or failure in data transfer operations.


What immediate steps should I take to mitigate this vulnerability?

Apply the updated Linux kernel patch that resets the UDMA_CHAN_RT byte counters to prevent overflow. This patch ensures that the byte count registers do not overflow during large data transfers, preventing transfer hangs. Until the patch is applied, avoid transferring more than 4GB of data in a single operation using the affected dmaengine ti k3-udma driver to reduce the risk of the issue.


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