Linux
gpu/buddy: bail out of try_harder when alignment cannot be honoured
In the Linux kernel, the following vulnerability has been resolved: gpu/buddy: bail out of try_harder when alignment cannot be honoured The try_harder contiguous fallback could return a range whose start offset did not match the caller's min_block_size. When a candidate's start is misaligned, realign it: free the misaligned run and reallocate exactly @size at the next lower min_block_size boundary. This keeps the returned size unchanged with no surplus to trim, and rejects the request only when no aligned candidate fits. v2: align misaligned candidates down to min_block_size instead of bailing out, for both the RHS and LHS paths (Matthew).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0a1844bf0b532d84324453374ad6845f64066c28, < 4289531106ee175a6eb45db7d4f2734d1dae9887
- >= 0a1844bf0b532d84324453374ad6845f64066c28, < 7185c5262435b93e5eeffa647008992256b9c51a
- >= 0a1844bf0b532d84324453374ad6845f64066c28, < 419d7d9306491f3e0e417cf794844c73cabee090
- >= 0a1844bf0b532d84324453374ad6845f64066c28, < 56bc6384314fb9ae98975fb2af8b143097ede3dc
Fixed in 4289531106ee175a6eb45db7d4f2734d1dae9887, 7185c5262435b93e5eeffa647008992256b9c51a, 419d7d9306491f3e0e417cf794844c73cabee090, 56bc6384314fb9ae98975fb2af8b143097ede3dc
- 6.7
Fixed in 0, 6.12.101, 6.18.42, 7.1.5, 7.2
Mitigation
Upgrade Linux to 4289531106ee175a6eb45db7d4f2734d1dae9887 or 7185c5262435b93e5eeffa647008992256b9c51a or 419d7d9306491f3e0e417cf794844c73cabee090 or 56bc6384314fb9ae98975fb2af8b143097ede3dc or later.
Upgrade Linux to 0 or 6.12.101 or 6.18.42 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.