CVE-2022-49548
HIGHLinux Kernel 5.7-5.10.119, 5.11-5.15.44, 5.16-5.17.12, 5.18 - Memory Corruption via BPF Trampoline Array Overflow
Title source: llmDescription
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.
References (5)
Core 5
Core References
Scores
CVSS v3
7.8
EPSS
0.0028
EPSS Percentile
19.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-129
Status
published
Products (17)
linux/Kernel
5.11.0 - 5.15.45linux
linux/Kernel
5.16.0 - 5.17.13linux
linux/Kernel
5.18.0 - 5.18.2linux
linux/Kernel
5.7.0 - 5.10.120linux
Linux/Linux
< 5.7
Linux/Linux
5.10.120 - 5.10.*
Linux/Linux
5.15.45 - 5.15.*
Linux/Linux
5.17.13 - 5.17.*
Linux/Linux
5.18.2 - 5.18.*
Linux/Linux
5.19
... and 7 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026