Kernel memory corruption via miscounted BPF programs
Published Feb 26, 2025 · Updated May 11, 2026
Array overflow in the Linux kernel allows local users to corrupt kernel memory by attaching excessive BPF modify-return programs. bpf_trampoline_get_progs() checks a count that excludes BPF_TRAMP_MODIFY_RETURN programs, then copies every attachment into a BPF_MAX_TRAMP_PROGS-sized array. The path requires local low-privileged access; successful exploitation writes beyond the intended kernel program array.
Summary
What happened
Array overflow in the Linux kernel allows local users to corrupt kernel memory by attaching excessive BPF modify-return programs. bpf_trampoline_get_progs() checks a count that excludes BPF_TRAMP_MODIFY_RETURN programs, then copies every attachment into a BPF_MAX_TRAMP_PROGS-sized array. The path requires local low-privileged access; successful exploitation writes beyond the intended kernel program array.
The record
- CVE
- CVE-2022-49548
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-129, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.7
- Affected versionversion=88fd9e5352fe05f7fe57778293aebd4cd106960b <32c4559c61652f24c9fdd5440342196fe37453bc
- Affected versionversion=88fd9e5352fe05f7fe57778293aebd4cd106960b <4f8897bcc20b9ae44758e0572538d741ab66f0dc
- Affected versionversion=88fd9e5352fe05f7fe57778293aebd4cd106960b <7f845de2863334bed4f362e95853f5e7bc323737
- Affected versionversion=88fd9e5352fe05f7fe57778293aebd4cd106960b <a2aa95b71c9bbec793b5c5fa50f0a80d882b3e8d
- Affected versionversion=88fd9e5352fe05f7fe57778293aebd4cd106960b <e36452d5da6325df7c10cffc60a9e68d21e2606d
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo