In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Reject unhashed UDP sockets on sockmap update
UDP sockets get SOCK_RCU_FREE set when (auto-)bound. This means sk_is_refcounted(unbound) = true, while sk_is_refcounted(bound) = false.
Because sockmap accepts unbound UDP sockets, a BPF program can increment a socket's refcount via lookup. If the socket is subsequently bound, the transition from unbound to bound causes bpf_sk_release() to skip the decrement of the refcount, causing a memory leak.
unreferenced object 0xffff88810bc2eb40 (size 1984): comm "test_progs", pid 2451, jiffies 4295320596 hex dump (first 32 bytes): 7f 00 00 01 7f 00 00 01 d2 04 1b b7 04 d2 00 00 ................ 02 00 01 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............ backtrace (crc bdee079d): kmem_cache_alloc_noprof+0x557/0x660 sk_prot_alloc+0x69/0x240 sk_alloc+0x30/0x460 inet_create+0x2ce/0xf80 __sock_create+0x25b/0x5c0 __sys_socket+0x119/0x1d0 __x64_sys_socket+0x72/0xd0 do_syscall_64+0xa1/0x5f0 entry_SYSCALL_64_after_hwframe+0x76/0x7e
Instead of special-casing for refcounted sockets, reject unhashed UDP sockets during sockmap updates, as there is no benefit to supporting those. This effectively reverts the commit under Fixes, with two exceptions:
1. sock_map_sk_state_allowed() maintains a fall-through `return true`. 2. In the spirit of commit b8b8315e39ff ("bpf, sockmap: Remove unhash handler for BPF sockmap usage"), the proto::unhash BPF handler is not reintroduced.
Historical note: this issue is related to commit 67312adc96b5 ("bpf: reject unhashed sockets in bpf_sk_assign").
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.18-headersUpgrade kernel6.12-develUpgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel6.12Upgrade bpftool6.12-debuginfoUpgrade kernel6.18-develUpgrade kernel6.18-debuginfoUpgrade kernel6.18Upgrade perf6.12-debuginfoUpgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-tools-debuginfoUpgrade kernel-livepatch-6.18.44-99.149Upgrade kernel6.12-headersUpgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.12-toolsUpgrade perf6.12Upgrade kernel6.18-modules-extraUpgrade perf6.18Upgrade kernel6.18-tools-develUpgrade kernel6.18-toolsUpgrade kernel6.12-modules-extra-commonUpgrade python3-perf6.12-debuginfoUpgrade kernel6.12-debuginfoUpgrade python3-perf6.18Upgrade microvm-kernel6.18Upgrade kernel6.12-tools-develUpgrade python3-perf6.12Upgrade kernel6.12-tools-debuginfoUpgrade bpftool6.12Upgrade python3-perf6.18-debuginfoUpgrade kernel6.12-debuginfo-common-x86_64Upgrade bpftool6.18-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.12-modules-extraUpgrade kernel-livepatch-6.12.103-127.188Upgrade bpftool6.18Upgrade perf6.18-debuginfo | Sep 1, 2026 | Aug 10, 2026 |
| Debian | — | Upgrade linuxUpgrade linux-6.12 | Aug 11, 2026 | Aug 11, 2026 |
| Redhat_linux | — | No solution exists | Aug 13, 2026 | Aug 10, 2026 |
| Ubuntu | — | Upgrade linux-image-6.8.0-147-lowlatencyUpgrade linux-image-oem-26.04aUpgrade linux-image-6.8.0-147-genericUpgrade linux-image-7.0.0-1015-oemUpgrade linux-image-generic-lpaeUpgrade linux-image-lowlatency-6.8Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-6.8.0-1071-gcp-fipsUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-gke-64k-7.0Upgrade linux-image-generic-64kUpgrade linux-image-realtime-6.8.1Upgrade linux-image-aws-7.0Upgrade linux-image-6.8.0-147-generic-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-realtimeUpgrade linux-image-azure-6.8Upgrade linux-image-6.8.0-1052-gkeopUpgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-azure-lts-26.04Upgrade linux-image-6.8.0-1067-aws-fipsUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-fipsUpgrade linux-image-gke-6.8Upgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-gcp-fips-6.8Upgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-gcp-64k-6.8Upgrade linux-image-gke-7.0Upgrade linux-image-aws-fipsUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-gkeopUpgrade linux-image-6.8.0-1071-gcpUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-gke-64k-6.8Upgrade linux-image-lowlatency-64k-6.8Upgrade linux-image-gkeUpgrade linux-image-realtime-7.0Upgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-6.8.0-147-lowlatency-64kUpgrade linux-image-virtualUpgrade linux-image-6.8.0-1064-oracleUpgrade linux-image-gcp-64kUpgrade linux-image-gcp-6.8Upgrade linux-image-laptop-23.10Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-lowlatency-64kUpgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-gcp-7.0Upgrade linux-image-genericUpgrade linux-image-generic-64k-7.0Upgrade linux-image-6.8.0-1071-gcp-64kUpgrade linux-image-azure-fde-6.8Upgrade linux-image-oracle-6.8Upgrade linux-image-6.8.0-1067-ibmUpgrade linux-image-aws-64kUpgrade linux-image-intel-iot-realtimeUpgrade linux-image-intel-iotgUpgrade linux-image-oracleUpgrade linux-image-6.8.0-1069-azure-fdeUpgrade linux-image-realtime-64kUpgrade linux-image-aws-fips-6.8Upgrade linux-image-6.8.0-1067-awsUpgrade linux-image-ibm-classicUpgrade linux-image-azure-lts-24.04Upgrade linux-image-gcpUpgrade linux-image-azure-fipsUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-azureUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-fips-6.8Upgrade linux-image-oem-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-awsUpgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-6.8.0-147-fipsUpgrade linux-image-6.8.0-1067-aws-64kUpgrade linux-image-oracle-7.0Upgrade linux-image-aws-6.8Upgrade linux-image-aws-64k-6.8Upgrade linux-image-6.8.0-1071-azure-fipsUpgrade linux-image-kvmUpgrade linux-image-generic-64k-6.8Upgrade linux-image-generic-6.8Upgrade linux-image-gcp-fipsUpgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-lowlatencyUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-6.8.0-1066-gke-64kUpgrade linux-image-oracle-64kUpgrade linux-image-gcp-lts-24.04Upgrade linux-image-oem-7.0Upgrade linux-image-7.0.0-1014-awsUpgrade linux-image-6.8.0-1066-gkeUpgrade linux-image-azure-fdeUpgrade linux-image-aws-lts-24.04Upgrade linux-image-6.8.0-1071-azureUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-virtual-6.8Upgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-gke-64kUpgrade linux-image-azure-fips-6.8Upgrade linux-image-6.8.1-1062-realtimeUpgrade linux-image-oracle-64k-6.8Upgrade linux-image-7.0.0-38-genericUpgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-ibmUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-gkeop-6.8Upgrade linux-image-6.8.0-1064-oracle-64kUpgrade linux-image-azure-fde-7.0Upgrade linux-image-ibm-6.8Upgrade linux-image-azure-7.0Upgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-7.0.0-1014-gcp-64k | Oct 7, 2026 | Oct 6, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 17, 2026 | Aug 10, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub