7.8

CVE-2022-49030: libbpf: Handle size overflow for ringbuf mmap

Modified
AliasesUBUNTU-CVE-2022-49030DEBIAN-CVE-2022-49030
Published 21-10-2024Last modified 05-08-2026

Vulnerability summary

CVE-2022-49030 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 21-10-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu96 products
  • linux< 5.15.0-67.74
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1031.35
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ bf99c936f9478a05d51e9f101f90de70bee9a89c, < 8a549ab6724520aa3c07f47e0eba820293551490 | ≥ bf99c936f9478a05d51e9f101f90de70bee9a89c, < 0140e079a42064680394fff1199a7b5483688dec | ≥ bf99c936f9478a05d51e9f101f90de70bee9a89c, < 535a25ab4f9a45f74ba38ab71de95e97474922ed | ≥ bf99c936f9478a05d51e9f101f90de70bee9a89c, < 927cbb478adf917e0a142b94baa37f06279cc466 | 5.8
  • linux_kernel≥ 5.8, < 5.10.158 | ≥ 5.11, < 5.15.82 | ≥ 5.16, < 6.0.12 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4 | 6.1:rc5 | 6.1:rc6 | 6.1:rc7
Debian1 product
  • linux< 6.0.12-1

3 vendors · 99 products

References

8 links