Skip to main content
Network Thinking Solutions Logo

CVE-2022-49548

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS.

All CVEs
CVE-2022-49548Published 2/26/2025

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS. When this happens, the assignment '*progs++ = aux->prog' in bpf_trampoline_get_progs() will cause progs array overflow as the progs field in the bpf_tramp_progs struct can only hold at most BPF_MAX_TRAMP_PROGS bpf programs.

Published
2/26/2025
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.7, < 5.10.120

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.45

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.17.13

Verify advisory

Source
linux kernel
linux
≥ 5.18, < 5.18.2

Verify advisory

Source
Linux
Linux
≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 7f845de2863334bed4f362e95853f5e7bc323737

Verify advisory

Source
Linux
Linux
≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < e36452d5da6325df7c10cffc60a9e68d21e2606d

Verify advisory

Source
Linux
Linux
≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 32c4559c61652f24c9fdd5440342196fe37453bc

Verify advisory

Source
Linux
Linux
≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 4f8897bcc20b9ae44758e0572538d741ab66f0dc

Verify advisory

Source
Linux
Linux
≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < a2aa95b71c9bbec793b5c5fa50f0a80d882b3e8d

Verify advisory

Source
Linux
Linux
5.7

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.8. 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.