Skip to main content
Network Thinking Solutions Logo

CVE-2022-48714

Linux kernel: bpf: Use VM_MAP instead of VM_ALLOC for ringbuf

All CVEs
CVE-2022-48714Published 6/20/2024

Linux kernel: bpf: Use VM_MAP instead of VM_ALLOC for ringbuf

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: bpf: Use VM_MAP instead of VM_ALLOC for ringbuf After commit 2fd3fb0be1d1 ("kasan, vmalloc: unpoison VM_ALLOC pages after mapping"), non-VM_ALLOC mappings will be marked as accessible in __get_vm_area_node() when KASAN is enabled. But now the flag for ringbuf area is VM_ALLOC, so KASAN will complain out-of-bound access after vmap() returns. Because the ringbuf area is created by mapping allocated pages, so use VM_MAP instead. After the change, info in /proc/vmallocinfo also changes from [start]-[end] 24576 ringbuf_map_alloc+0x171/0x290 vmalloc user to [start]-[end] 24576 ringbuf_map_alloc+0x171/0x290 vmap user

Published
6/20/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.8, < 5.10.99

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.22

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.16.8

Verify advisory

Source
linux kernel
linux
5.17

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 6304a613a97d6dcd49b93fbad31e9f39d1e138d6

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < 5e457aeab52a5947619e1f18047f4d2f3212b3eb

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < d578933f6226d5419af9306746efa1c693cbaf9c

Verify advisory

Source
Linux
Linux
≥ 457f44363a8894135c85b7a9afd2bd8196db24ab, < b293dcc473d22a62dc6d78de2b15e4f49515db56

Verify advisory

Source
Linux
Linux
5.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.