Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before 735951baa311c66353405dcac39375dd66441db0; affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before 8f0f5de1091119679d87f60dfb1acbff4b2a0ed3; affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before a3b76b54e06d73166af4d1a284a0e0711889060c; affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before 7926c1e4be86379945fb5f168888ac4d2aaf6c91; affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before 6e37e9e230c7e848bd8e8cd4db15bb18bcf11ad1; affected ee17028009d49fffed8cc963455d33b1fd3f1d08 before 4651df83b6c796daead3447e8fd874322918ee4f |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/735951baa311c66353405dcac39375dd66441db0
- https://git.kernel.org/stable/c/8f0f5de1091119679d87f60dfb1acbff4b2a0ed3
- https://git.kernel.org/stable/c/a3b76b54e06d73166af4d1a284a0e0711889060c
- https://git.kernel.org/stable/c/7926c1e4be86379945fb5f168888ac4d2aaf6c91
- https://git.kernel.org/stable/c/6e37e9e230c7e848bd8e8cd4db15bb18bcf11ad1
- https://git.kernel.org/stable/c/4651df83b6c796daead3447e8fd874322918ee4f
ADP enrichment
No English description supplied.
No references supplied.