cveboard RSS feed

CVE-2022-49548

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2022
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

bpf: Fix potential array overflow in bpf_trampoline_get_progs()

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
88fd9e5352fe05f7fe57778293aebd4cd106960baffectedgit7f845de2863334bed4f362e95853f5e7bc323737UnavailableNone listed
88fd9e5352fe05f7fe57778293aebd4cd106960baffectedgite36452d5da6325df7c10cffc60a9e68d21e2606dUnavailableNone listed
88fd9e5352fe05f7fe57778293aebd4cd106960baffectedgit32c4559c61652f24c9fdd5440342196fe37453bcUnavailableNone listed
88fd9e5352fe05f7fe57778293aebd4cd106960baffectedgit4f8897bcc20b9ae44758e0572538d741ab66f0dcUnavailableNone listed
88fd9e5352fe05f7fe57778293aebd4cd106960baffectedgita2aa95b71c9bbec793b5c5fa50f0a80d882b3e8dUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.7affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.7UnavailableNone listed
5.10.120unaffectedsemverUnavailable5.10.*None listed
5.15.45unaffectedsemverUnavailable5.15.*None listed
5.17.13unaffectedsemverUnavailable5.17.*None listed
5.18.2unaffectedsemverUnavailable5.18.*None listed
5.19unaffectedoriginal_commit_for_fixUnavailable*None listed