7.8

CVE-2022-49548: bpf: Fix potential array overflow in bpf_trampoline_get_progs()

Modified
AliasesUBUNTU-CVE-2022-49548DEBIAN-CVE-2022-49548
Published 26-02-2025Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 26-02-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

9 links