OSV 1.4.0 · unreviewed · 修改于 2026-09-04 14:31
发布时间
2026-09-03 23:32
GitHub 审查时间
—
NVD 发布时间
2026-09-03 21:06
源文件
advisories/unreviewed/2026/09/GHSA-83j6-pc2m-jhg5/GHSA-83j6-pc2m-jhg5.json
In the Linux kernel, the following vulnerability has been resolved:
bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie
bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie accept a socket pointer 'sk' with argument type ARG_PTR_TO_BTF_ID_SOCK_COMMON. However, they access sk->sk_protocol without validating whether 'sk' represents a full socket.
Fix this issue by checking sk->sk_state != TCP_LISTEN before inspecting sk->sk_protocol in both bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie. Since mini-sockets are never in the TCP_LISTEN state, the condition short-circuits and prevents dereferencing fullsock-specific fields.
该公告没有提供结构化的受影响软件包信息。