gpu/buddy: bail out of try_harder when alignment cannot be honoured
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.101, 6.18.42, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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).
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 0a1844bf0b532d84324453374ad6845f64066c28 · fixed in 4289531106ee175a6eb45db7d4f2734d1dae9887; From 0a1844bf0b532d84324453374ad6845f64066c28 · fixed in 7185c5262435b93e5eeffa647008992256b9c51a; From 0a1844bf0b532d84324453374ad6845f64066c28 · fixed in 419d7d9306491f3e0e417cf794844c73cabee090; From 0a1844bf0b532d84324453374ad6845f64066c28 · fixed in 56bc6384314fb9ae98975fb2af8b143097ede3dc
- Linux Linux
6.7
- KernelLinux
From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.5