Bug 2328788 (CVE-2024-53099) - CVE-2024-53099 kernel: bpf: Check validity of link->type in bpf_link_show_fdinfo()
Summary: CVE-2024-53099 kernel: bpf: Check validity of link->type in bpf_link_show_fdi...
Keywords:
Status: NEW
Alias: CVE-2024-53099
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2328806
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-25 22:01 UTC by OSIDB Bzimport
Modified: 2024-12-03 14:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-25 22:01:03 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf: Check validity of link->type in bpf_link_show_fdinfo()

If a newly-added link type doesn't invoke BPF_LINK_TYPE(), accessing
bpf_link_type_strs[link->type] may result in an out-of-bounds access.

To spot such missed invocations early in the future, checking the
validity of link->type in bpf_link_show_fdinfo() and emitting a warning
when such invocations are missed.


Note You need to log in before you can comment on or make changes to this bug.