CVE-2022-49548: bpf: Fix potential array overflow in bpf_trampoline_get_progs()
Vulnerability summary
CVE-2022-49548 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu94 products
- linux< 5.15.0-47.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1019.23
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 7f845de2863334bed4f362e95853f5e7bc323737 | ≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < e36452d5da6325df7c10cffc60a9e68d21e2606d | ≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 32c4559c61652f24c9fdd5440342196fe37453bc | ≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 4f8897bcc20b9ae44758e0572538d741ab66f0dc | ≥ 88fd9e5352fe05f7fe57778293aebd4cd106960b, < a2aa95b71c9bbec793b5c5fa50f0a80d882b3e8d | 5.7
- linux_kernel≥ 5.7, < 5.10.120 | ≥ 5.11, < 5.15.45 | ≥ 5.16, < 5.17.13 | ≥ 5.18, < 5.18.2
Debian1 product
- linux< 5.18.2-1
3 vendors · 97 products