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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade bpftoolUpgrade kernel-develUpgrade kernel-toolsUpgrade kernel-debuginfo-common-x86_64Upgrade kernelUpgrade kernel-livepatch-5.10.162-141.675Upgrade kernel-headersUpgrade python-perf-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade perf-debuginfoUpgrade kernel-tools-develUpgrade perfUpgrade kernel-livepatch-5.15.86-53.137Upgrade bpftool-debuginfoUpgrade python-perfUpgrade kernel-debuginfoUpgrade kernel-tools-debuginfo | Mar 14, 2025 | Oct 21, 2024 |
| Debian | — | Upgrade linux | Oct 23, 2024 | Oct 23, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade bpftoolUpgrade kernel-tools-libsUpgrade kernel-abi-stablelistsUpgrade python3-perfUpgrade kernel-toolsUpgrade kernel | Feb 11, 2025 | Oct 21, 2024 |
| Ubuntu | — | Upgrade linux-azure-fde-5.15Upgrade linux-hwe-5.15Upgrade linux-riscv-5.15Upgrade linux-lowlatencyUpgrade linux-raspiUpgrade linux-gkeUpgrade linux-aws-5.15Upgrade linux-nvidiaUpgrade linux-oracleUpgrade linux-kvmUpgrade linux-ibmUpgrade linux-gcp-5.15Upgrade linux-azure-fdeUpgrade linux-azure-5.15Upgrade linux-intel-iotgUpgrade linux-gkeopUpgrade linux-oracle-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-realtimeUpgrade linux-intel-iot-realtimeUpgrade linux-gcpUpgrade linuxUpgrade linux-gkeop-5.15Upgrade linux-azureUpgrade linux-bluefieldUpgrade linux-awsUpgrade linux-lowlatency-hwe-5.15 | Nov 19, 2024 | Oct 21, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Oct 21, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub