# CVE-2022-50541: dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:06.548Z
- Modified: 2026-06-17T05:23:45.290Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before d68da10b0cceb4177b653833e794b2923a4ffbd7; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before e0b16bfbd3a4a8d09614046335f4482313e7c0c4; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before a065657643a62a24b4435ddcaea45f1e9378749e; from 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 before 7c94dcfa8fcff2dba53915f1dabfee49a3df8b88; 5.6 (not affected: before 5.6; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.6 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## References

- <https://git.kernel.org/stable/c/d68da10b0cceb4177b653833e794b2923a4ffbd7> (patch)
- <https://git.kernel.org/stable/c/e0b16bfbd3a4a8d09614046335f4482313e7c0c4> (patch)
- <https://git.kernel.org/stable/c/a065657643a62a24b4435ddcaea45f1e9378749e> (patch)
- <https://git.kernel.org/stable/c/7c94dcfa8fcff2dba53915f1dabfee49a3df8b88> (patch)

## Sources

- CVE List: [CVE-2022-50541](https://www.cve.org/CVERecord?id=CVE-2022-50541), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50541](https://nvd.nist.gov/vuln/detail/CVE-2022-50541), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50541 · Whole record: https://cve.day/CVE-2022-50541.json · Rebuilt by cve.day 2026-11-25T22:58:21.264Z
