Linux
serial: amba-pl011: synchronize DMA teardown
In the Linux kernel, the following vulnerability has been resolved: serial: amba-pl011: synchronize DMA teardown dmaengine_terminate_all() does not wait for a running callback, so the TX callback can still touch the TX buffer after it is freed. The RX poll timer reads the RX buffers without the port lock. Switch to dmaengine_terminate_sync() and delete the RX timer before freeing the buffers.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < a38fae9d212e2d3ed5e9ec0ef773f8c0a27fb76e
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < 44bd0ecc3444882d08ecfbc2b2418d2f463d3186
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < f70c9d4fba46463a5b1c7b3ee9ee3b40c90dac03
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < c8c8e895f65fbf71ea6224e27cf8dab91b776e0d
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < 9f6989e477f03a4721d34bb4b09b17accd40283e
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < 5974cb66681eac367107b05924744d7e3b49d41c
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < fdfb46c387241b4eddd36d746793764413285913
- >= ead76f329f777c7301e0a5456a0a1c7a081570bd, < 440915499231e9db1c361aa45bb702e8fd3b4a32
Fixed in a38fae9d212e2d3ed5e9ec0ef773f8c0a27fb76e, 44bd0ecc3444882d08ecfbc2b2418d2f463d3186, f70c9d4fba46463a5b1c7b3ee9ee3b40c90dac03, c8c8e895f65fbf71ea6224e27cf8dab91b776e0d, 9f6989e477f03a4721d34bb4b09b17accd40283e, 5974cb66681eac367107b05924744d7e3b49d41c, fdfb46c387241b4eddd36d746793764413285913, 440915499231e9db1c361aa45bb702e8fd3b4a32
- 2.6.39
Fixed in 0, 5.10.267, 5.15.218, 6.1.185, 6.6.154, 6.12.106, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to a38fae9d212e2d3ed5e9ec0ef773f8c0a27fb76e or 44bd0ecc3444882d08ecfbc2b2418d2f463d3186 or f70c9d4fba46463a5b1c7b3ee9ee3b40c90dac03 or c8c8e895f65fbf71ea6224e27cf8dab91b776e0d or 9f6989e477f03a4721d34bb4b09b17accd40283e or 5974cb66681eac367107b05924744d7e3b49d41c or fdfb46c387241b4eddd36d746793764413285913 or 440915499231e9db1c361aa45bb702e8fd3b4a32 or later.
Upgrade Linux to 0 or 5.10.267 or 5.15.218 or 6.1.185 or 6.6.154 or 6.12.106 or 6.18.45 or 7.1.9 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.