Linux
dmaengine: tegra: Fix burst size calculation
In the Linux kernel, the following vulnerability has been resolved: dmaengine: tegra: Fix burst size calculation Currently, the Tegra GPC DMA hardware requires the transfer length to be a multiple of the max burst size configured for the channel. When a client requests a transfer where the length is not evenly divisible by the configured max burst size, the DMA hangs with partial burst at the end. Fix this by reducing the burst size to the largest power-of-2 value that evenly divides the transfer length. For example, a 40-byte transfer with a 16-byte max burst will now use an 8-byte burst (40 / 8 = 5 complete bursts) instead of causing a hang. This issue was observed with the PL011 UART driver where TX DMA transfers of arbitrary lengths were stuck.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < 735951baa311c66353405dcac39375dd66441db0
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < 8f0f5de1091119679d87f60dfb1acbff4b2a0ed3
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < a3b76b54e06d73166af4d1a284a0e0711889060c
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < 7926c1e4be86379945fb5f168888ac4d2aaf6c91
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < 6e37e9e230c7e848bd8e8cd4db15bb18bcf11ad1
- >= ee17028009d49fffed8cc963455d33b1fd3f1d08, < 4651df83b6c796daead3447e8fd874322918ee4f
Fixed in 735951baa311c66353405dcac39375dd66441db0, 8f0f5de1091119679d87f60dfb1acbff4b2a0ed3, a3b76b54e06d73166af4d1a284a0e0711889060c, 7926c1e4be86379945fb5f168888ac4d2aaf6c91, 6e37e9e230c7e848bd8e8cd4db15bb18bcf11ad1, 4651df83b6c796daead3447e8fd874322918ee4f
- 5.19
Fixed in 0, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 735951baa311c66353405dcac39375dd66441db0 or 8f0f5de1091119679d87f60dfb1acbff4b2a0ed3 or a3b76b54e06d73166af4d1a284a0e0711889060c or 7926c1e4be86379945fb5f168888ac4d2aaf6c91 or 6e37e9e230c7e848bd8e8cd4db15bb18bcf11ad1 or 4651df83b6c796daead3447e8fd874322918ee4f or later.
Upgrade Linux to 0 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.