Linux
accel/amdxdna: Prevent ubuf size overflow
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Prevent ubuf size overflow The ubuf size calculation may overflow, resulting in an undersized allocation and possible memory corruption. Use check_add_overflow() helpers to validate the size calculation before allocation.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bd72d4acda1069579b35123e3cc0b21ec1193a21, < 1500b31db94374a6669e73ce94d6f71cf8e85e06
- >= bd72d4acda1069579b35123e3cc0b21ec1193a21, < 972bf4a23478fcb247b4f507d47a584bc8aea5bd
- >= bd72d4acda1069579b35123e3cc0b21ec1193a21, < 03808abb1d868aed7478a11a82e5bb4b3f1ca6d6
Fixed in 1500b31db94374a6669e73ce94d6f71cf8e85e06, 972bf4a23478fcb247b4f507d47a584bc8aea5bd, 03808abb1d868aed7478a11a82e5bb4b3f1ca6d6
- 6.18
Fixed in 0, 6.18.17, 6.19.7, 7.0
Mitigation
Upgrade Linux to 1500b31db94374a6669e73ce94d6f71cf8e85e06 or 972bf4a23478fcb247b4f507d47a584bc8aea5bd or 03808abb1d868aed7478a11a82e5bb4b3f1ca6d6 or later.
Upgrade Linux to 0 or 6.18.17 or 6.19.7 or 7.0 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.