CVE-2026-139311

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Link the first element after its storage is published

bpf_local_storage_alloc() links the first element of a new storage to the bucket of its map, and then publishes the storage in the owner with cmpxchg(). If another cpu has been faster, the element is taken out of the bucket again and is freed together with the storage.

In between the iterator over a sk_storage map can find the element. It stays linked to a storage that points to the socket, but the socket knows nothing of that storage: bpf_sk_storage_free() neither unlinks the element nor waits for anybody who uses the storage. So nothing tells the iterator that the socket has gone away.

Three cpus that create the first storage of a new AF_UNIX socket at the same time, and a fourth that reads the iterator, are enough: in 20 seconds its program was shown some 4000 elements of storages that had lost. If the socket is closed in time, the program is handed a freed socket.

Link the element once the storage is published. Both happens under the lock of the bucket, which holds off whoever finds the element through the owner and wants to unlink it.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= c69d2ddb2072eb7ffca1a31ee5ddc16dcd414ed9, < d85ea0db86bc00d392be347799d7027090cc5929; >= c69d2ddb2072eb7ffca1a31ee5ddc16dcd414ed9, < bd897919e4dc18bbfdfc58b696fb948b8bc2c79a
LinuxLinux5.10

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139312In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL deref in the sk_storage map iterator bpf_sk_storage_map_CVE-2026-139313In the Linux kernel, the following vulnerability has been resolved: bpf: Clear sk_refcnt of a clone before its storage is linked sk_clone(CVE-2026-139314In the Linux kernel, the following vulnerability has been resolved: bpf: Update the SRH state if End.B6 fails late For SEG6_LOCAL_ACTION_ECVE-2026-139315In the Linux kernel, the following vulnerability has been resolved: bpf: Pull the inner header for End.DT6 in End.BPF bpf_lwt_seg6_action(CVE-2026-1393168.1In the Linux kernel, the following vulnerability has been resolved: bpf: Validate the SRH which End.DT6 uncovers in End.BPF input_action_eCVE-2026-139317In the Linux kernel, the following vulnerability has been resolved: bpf: Don't saturate owner_refcnt on the last unpin bpf_local_storage_mCVE-2026-139318In the Linux kernel, the following vulnerability has been resolved: bpf: Read the probe of a perf event under event_mutex For a perf eventCVE-2026-139319In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let bpf_skb_adjust_room() use up the MSS When bpf_skb_adjusCVE-2026-139326.5Inappropriate implementation in Sharing in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker who had compromised theCVE-2026-1393207.8In the Linux kernel, the following vulnerability has been resolved: bpf: Look at all 64 bits of a BPF_JSET mask on 32-bit In the branch ofCVE-2026-139321In the Linux kernel, the following vulnerability has been resolved: bpf: Forbid sleeping in bpf_find_vma() callbacks A sleepable program cCVE-2026-139322In the Linux kernel, the following vulnerability has been resolved: bpf: Reject sleepable programs for task_vma iterator A sleepable "iter
CVE-2026-139311: Unscored | Vulnix