linux: In the Linux kernel, the following vulnerability has been resolved: libbpf: Handle size overflow for ringbuf mmap T...
CVE-2022-49030 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49030, released October 21, 2024. It is not reported as exploited. Patch Radar priority: High.
In the Linux kernel, the following vulnerability has been resolved: libbpf: Handle size overflow for ringbuf mmap The maximum size of ringbuf is 2GB on x86-64 host, so 2 * max_entries will overflow u32 when mapping producer page and data pages. Only casting max_entries to size_t is not enough, because for 32-bits application on 64-bits kernel the size of read-only mmap region also could overflow size_t. So fixing it by casting the size of read-only mmap region into a __u64 and checking whether or not there will be overflow during mmap.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| linux · Debian 12.15 (bookworm) | 6.0.12-1 | DEBIAN-CVE-2022-49030 | Oct 21, 2024 |
| linux · Debian 13.5 (trixie) | 6.0.12-1 | DEBIAN-CVE-2022-49030 | Oct 21, 2024 |
| linux · Debian 14 | 6.0.12-1 | DEBIAN-CVE-2022-49030 | Oct 21, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.