Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

libbpf: Handle size overflow for ringbuf mmap

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2022-49030

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-49030

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "tools/lib/bpf/ringbuf.c"
                    ],
                    "versions": [
                        {
                            "version": "bf99c936f9478a05d51e9f101f90de70bee9a89c",
                            "lessThan": "8a549ab6724520aa3c07f47e0eba820293551490",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf99c936f9478a05d51e9f101f90de70bee9a89c",
                            "lessThan": "0140e079a42064680394fff1199a7b5483688dec",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf99c936f9478a05d51e9f101f90de70bee9a89c",
                            "lessThan": "535a25ab4f9a45f74ba38ab71de95e97474922ed",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf99c936f9478a05d51e9f101f90de70bee9a89c",
                            "lessThan": "927cbb478adf917e0a142b94baa37f06279cc466",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "tools/lib/bpf/ringbuf.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.158",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.82",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.12",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 05:15 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current