Files
linux-stable-mirror/include/uapi/linux
Hou Tao c2f803052b bpf: Add the missing BPF_LINK_TYPE invocation for sockmap
There is an out-of-bounds read in bpf_link_show_fdinfo() for the sockmap
link fd. Fix it by adding the missing BPF_LINK_TYPE invocation for
sockmap link

Also add comments for bpf_link_type to prevent missing updates in the
future.

Fixes: 699c23f02c ("bpf: Add bpf_link support for sk_msg and sk_skb progs")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241024013558.1135167-2-houtao@huaweicloud.com
2024-10-24 10:17:12 -07:00
..
2024-07-31 13:56:00 +02:00
2024-04-15 13:42:38 +02:00
2024-08-20 14:02:22 -04:00
2024-08-28 06:53:58 -07:00
2024-08-28 06:53:58 -07:00
2024-04-08 14:10:45 +01:00
2024-06-11 12:57:49 -05:00
2024-09-04 16:51:11 +02:00
2024-05-07 01:35:57 +02:00
2024-08-29 10:39:37 +02:00
2024-05-07 01:35:57 +02:00
2024-04-01 10:49:28 +01:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 12:02:03 -03:00
2024-06-01 07:28:21 +02:00
2024-09-01 20:26:05 -07:00
2024-09-16 23:50:52 +02:00
2024-08-19 22:36:26 -04:00
2024-09-06 08:31:40 -06:00
2024-09-11 20:44:32 -07:00
2024-08-12 17:50:34 -07:00
2024-09-19 14:25:26 -05:00