Linux
bpf: Validate node_id in arena_alloc_pages()
In the Linux kernel, the following vulnerability has been resolved: bpf: Validate node_id in arena_alloc_pages() arena_alloc_pages() accepts a plain int node_id and forwards it through the entire allocation chain without any bounds checking. Validate node_id before passing it down the allocation chain in arena_alloc_pages().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 317460317a02a1af512697e6e964298dedd8a163, < 31d3b4b28e55835646d6829d60023f730dd34e85
- >= 317460317a02a1af512697e6e964298dedd8a163, < e15900888c09480a4c632bc598f1c5bd39bed6d6
- >= 317460317a02a1af512697e6e964298dedd8a163, < fb66e20130f95a93ffea1677252526a9e39170b2
- >= 317460317a02a1af512697e6e964298dedd8a163, < 2845989f2ebaf7848e4eccf9a779daf3156ea0a5
Fixed in 31d3b4b28e55835646d6829d60023f730dd34e85, e15900888c09480a4c632bc598f1c5bd39bed6d6, fb66e20130f95a93ffea1677252526a9e39170b2, 2845989f2ebaf7848e4eccf9a779daf3156ea0a5
- 6.9
Fixed in 0, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 31d3b4b28e55835646d6829d60023f730dd34e85 or e15900888c09480a4c632bc598f1c5bd39bed6d6 or fb66e20130f95a93ffea1677252526a9e39170b2 or 2845989f2ebaf7848e4eccf9a779daf3156ea0a5 or later.
Upgrade Linux to 0 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 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.