CVE-2022-49030

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedOct 21, 2024
First seenOct 21, 2024

How to fix

Update
  • linux linux_kernel5.10.158, 5.15.82, 6.0.12 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.8 ≤ v < 5.10.158, 5.11 ≤ v < 5.15.82, 5.16 ≤ v < 6.0.12, 6.15.10.158, 5.15.82, 6.0.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.