CVE-2022-50541

dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 to before d68da10b0cceb4177b653833e794b2923a4ffbd7Affected
  • 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 to before e0b16bfbd3a4a8d09614046335f4482313e7c0c4Affected
  • 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 to before a065657643a62a24b4435ddcaea45f1e9378749eAffected
  • 25dcb5dd7b7ce5587c1df18f584ff78f51a68a94 to before 7c94dcfa8fcff2dba53915f1dabfee49a3df8b88Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.