cbcvebase.
CVE-2022-49548
published 2025-02-26

CVE-2022-49548: 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…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.30%
21.9th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.18.2-1 (bookworm)linux 5.18.2-1 (bookworm)
linuxlinux
linuxlinux>= 88fd9e5352fe05f7fe57778293aebd4cd106960b < 7f845de2863334bed4f362e95853f5e7bc3237377f845de2863334bed4f362e95853f5e7bc323737
linuxlinux>= 88fd9e5352fe05f7fe57778293aebd4cd106960b < e36452d5da6325df7c10cffc60a9e68d21e2606de36452d5da6325df7c10cffc60a9e68d21e2606d
linuxlinux>= 88fd9e5352fe05f7fe57778293aebd4cd106960b < 32c4559c61652f24c9fdd5440342196fe37453bc32c4559c61652f24c9fdd5440342196fe37453bc
linuxlinux>= 88fd9e5352fe05f7fe57778293aebd4cd106960b < 4f8897bcc20b9ae44758e0572538d741ab66f0dc4f8897bcc20b9ae44758e0572538d741ab66f0dc
linuxlinux>= 88fd9e5352fe05f7fe57778293aebd4cd106960b < a2aa95b71c9bbec793b5c5fa50f0a80d882b3e8da2aa95b71c9bbec793b5c5fa50f0a80d882b3e8d
linuxlinux_kernel>= 0 < 5.10.120-15.10.120-1
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 0 < 5.18.2-15.18.2-1
linuxlinux_kernel>= 5.11 < 5.15.455.15.45
linuxlinux_kernel>= 5.16 < 5.17.135.17.13
linuxlinux_kernel>= 5.18 < 5.18.25.18.2
linuxlinux_kernel>= 5.7 < 5.10.1205.10.120

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.