PT-2025-8481 · Linux+3 · Linux Kernel+3
Yuntao Wang
·
Published
2022-04-30
·
Updated
2025-09-29
·
CVE-2022-49548
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A potential array overflow issue has been identified in the Linux kernel, specifically in the bpf trampoline get progs() function. The issue arises when the number of attached BPF TRAMP MODIFY RETURN bpf programs in a trampoline exceeds BPF MAX TRAMP PROGS, causing an array overflow due to the assignment '*progs++ = aux->prog'. This occurs because the 'cnt >= BPF MAX TRAMP PROGS' check does not account for BPF TRAMP MODIFY RETURN bpf programs.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Validation of Array Index
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Hat
Suse