CVE-2023-52523
published high CVSS 3.1 · 7.8bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux122e6c79efe1c25816118aca9cfabe54e99c2432 to < bc8b89b6963803a123f64aa9494155a037b3d728 · 122e6c79efe1c25816118aca9cfabe54e99c2432 to < b8f97e47b6fb84fcf2f5a22e725eefb6cf5070c2 · 122e6c79efe1c25816118aca9cfabe54e99c2432 to < ded6e448028f0f91b6af35985afca01fa02a9089 · 122e6c79efe1c25816118aca9cfabe54e99c2432 to < b80e31baa43614e086a9d29dc1151932b1bd7fc5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.135 through 5.15.* (unaffected · semver) · 6.1.57 through 6.1.* (unaffected · semver) · 6.5.7 through 6.5.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-029 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-422 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.116.1.150400.24.54.5 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_116-defaultppc64le | Advisory build | 1-150400.9.5.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_116-defaults390x | Advisory build | 1-150400.9.5.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_116-defaultx86_64 | Advisory build | 1-150400.9.5.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symss390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.116.1 | SUSE-SU-2024:1321-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.59.1.150500.6.25.7 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-azurenoarch | Advisory build | 5.14.21-150500.33.48.1 | SUSE-SU-2024:1490-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.47.1 | SUSE-SU-2024:1466-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.59.1 | SUSE-SU-2024:1480-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatchx86_64 | Advisory build | 5_14_21-150500_13_43-rt-1-150500.11.5.1 | SUSE-SU-2024:1322-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_13_47-rtx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2024:1466-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets With a SOCKMAP/SOCKHASH map and an sk_msg program user can steer messages sent from one TCP socket (s1) to actually egress from another TCP socket (s2): tcp_bpf_sendmsg(s1) // = sk_prot->sendmsg tcp_bpf_send_verdict(s1) // __SK_REDIRECT case tcp_bpf_sendmsg_redir(s2) tcp_bpf_push_locked(s2) tcp_bpf_push(s2) tcp_rate_check_app_limited(s2) // expects tcp_sock tcp_sendmsg_locked(s2) // ditto There is a hard-coded assumption in the call-chain, that the egress socket (s2) is a TCP socket. However in commit 122e6c79efe1 ("sock_map: Update sock type checks for UDP") we have enabled redirects to non-TCP sockets. This was done for the sake of BPF sk_skb programs. There was no indention to support sk_msg send-to-egress use case. As a result, attempts to send-to-egress through a non-TCP socket lead to a crash due to invalid downcast from sock to tcp_sock: BUG: kernel NULL pointer dereference, address: 000000000000002f ... Call Trace: <TASK> ? show_regs+0x60/0x70 ? __die+0x1f/0x70 ? page_fault_oops+0x80/0x160 ? do_user_addr_fault+0x2d7/0x800 ? rcu_is_watching+0x11/0x50 ? exc_page_fault+0x70/0x1c0 ? asm_exc_page_fault+0x27/0x30 ? tcp_tso_segs+0x14/0xa0 tcp_write_xmit+0x67/0xce0 __tcp_push_pending_frames+0x32/0xf0 tcp_push+0x107/0x140 tcp_sendmsg_locked+0x99f/0xbb0 tcp_bpf_push+0x19d/0x3a0 tcp_bpf_sendmsg_redir+0x55/0xd0 tcp_bpf_send_verdict+0x407/0x550 tcp_bpf_sendmsg+0x1a1/0x390 inet_sendmsg+0x6a/0x70 sock_sendmsg+0x9d/0xc0 ? sockfd_lookup_light+0x12/0x80 __sys_sendto+0x10e/0x160 ? syscall_enter_from_user_mode+0x20/0x60 ? __this_cpu_preempt_check+0x13/0x20 ? lockdep_hardirqs_on+0x82/0x110 __x64_sys_sendto+0x1f/0x30 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd Reject selecting a non-TCP sockets as redirect target from a BPF sk_msg program to prevent the crash. When attempted, user will receive an EACCES error from send/sendto/sendmsg() syscall.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires local bpf() setup of a SOCKMAP/SOCKHASH with an sk_msg verdict program plus send/sendto/sendmsg on a sockmap-enrolled TCP socket; the crash path is the local tcp_bpf_sendmsg → tcp_bpf_sendmsg_redir chain, not remote packet processing. AC:L - The attacker fully controls map population (TCP source and non-TCP redirect target), the sk_msg redirect verdict, and the triggering sendmsg; the type confusion is deterministic and needs no race or uncontrolled layout. PR:L - SOCKMAP/sk_msg creation needs CAP_NET_ADMIN/CAP_BPF, but those are commonly held by networking containers and can be delegated via BPF tokens; once a sockmap sk_msg redirect path exists, the send trigger is an ordinary local operation, matching other sockmap scores. UI:N - The attacker performs map setup, program attach, and the triggering sendmsg themselves; no victim action is required. S:U - The type confusion and resulting heap OOB/crash remain inside the host kernel’s security authority; this is standard local kernel impact, not a VM/IOMMU/sandbox boundary crossing. C:H - tcp_bpf_push runs tcp_rate_check_app_limited() on the non-TCP target, reading tcp_sock fields (e.g. write_seq/mss_cache/delivered at offsets ≥1480) past udp_sock (1344) or unix_sock (1152), i.e. heap OOB reads of adjacent groomable objects. I:H - The same path writes tp->app_limited at offset 1780 past the smaller socket object (heap OOB write), and treating a non-TCP sock as tcp_sock is type confusion, which is High integrity impact under scoring guidance. A:H - The demonstrated result is a kernel NULL pointer dereference in tcp_tso_segs (icsk_ca_ops) reached via tcp_sendmsg_locked, causing an oops/panic that the attacker can repeat at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 122e6c79efe1c25816118aca9cfabe54e99c2432 to < bc8b89b6963803a123f64aa9494155a037b3d728 (affected · git)122e6c79efe1c25816118aca9cfabe54e99c2432 to < b8f97e47b6fb84fcf2f5a22e725eefb6cf5070c2 (affected · git)122e6c79efe1c25816118aca9cfabe54e99c2432 to < ded6e448028f0f91b6af35985afca01fa02a9089 (affected · git)122e6c79efe1c25816118aca9cfabe54e99c2432 to < b80e31baa43614e086a9d29dc1151932b1bd7fc5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.135 through 5.15.* (unaffected · semver)6.1.57 through 6.1.* (unaffected · semver)6.5.7 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a88df49476c137b17b078b7cd5d9ea206cda441ddfa58ef691c2c77b3a50188c
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record