Vulnerabilities · 2022 · Linux
CVE-2022-50541
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/7c94dcfa8fcff2dba53915f1dabfee49a3df8b88 · Patch
- git.kernel.org/stable/c/a065657643a62a24b4435ddcaea45f1e9378749e · Patch
- git.kernel.org/stable/c/d68da10b0cceb4177b653833e794b2923a4ffbd7 · Patch
- git.kernel.org/stable/c/e0b16bfbd3a4a8d09614046335f4482313e7c0c4 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50541
- cve.org/CVERecord?id=CVE-2022-50541
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.