Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-49030

libbpf: Handle size overflow for ringbuf mmap

High7.8EPSS 0.28%
Published
Updated
Reserved
Assigned by
Linux

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.

Scores

CVSS scores of CVE-2022-49030, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Modified3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
0.28% · top 80% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Weakness

Affected products

  • Linux · Linux

    • affected bf99c936f9478a05d51e9f101f90de70bee9a89c – < 8a549ab6724520aa3c07f47e0eba820293551490
    • affected bf99c936f9478a05d51e9f101f90de70bee9a89c – < 0140e079a42064680394fff1199a7b5483688dec
    • affected bf99c936f9478a05d51e9f101f90de70bee9a89c – < 535a25ab4f9a45f74ba38ab71de95e97474922ed
    • affected bf99c936f9478a05d51e9f101f90de70bee9a89c – < 927cbb478adf917e0a142b94baa37f06279cc466
  • Linux · Linux

    • affected 5.8
    • unaffected < 5.8
    • unaffected 5.10.158 – ≤ 5.10.*
    • unaffected 5.15.82 – ≤ 5.15.*
    • unaffected 6.0.12 – ≤ 6.0.*
    • unaffected 6.1 – ≤ *

References (4)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-49030 badge
[![CVE-2022-49030](https://trackcve.app/badge/CVE-2022-49030.svg)](https://trackcve.app/cve/CVE-2022-49030)

Record last updated .