In the Linux kernel, the following vulnerability has been resolved: bpf: Clear skrefcnt of a clone before its storage is linked skclone()…
CVE-2026-139313
In the Linux kernel, the following vulnerability has been resolved: bpf: Clear skrefcnt of a clone before its storage is linked skclone() sets skrefcnt of the new socket some lines behind bpfskstorageclone(). But the elements which that function copies are linked to their maps at once, and an element leads to its owner: the iterator over a skstorage map hands the owner to its program. bpfskstorageget() with BPFSKSTORAGEGETFCREATE and bpfskstoragedelete() rely on refcountincnotzero() to tell whether they may touch the socket. skrefcnt is in the part of struct sock which sockcopy() leaves out, and skprotalloc() does not clear a clone unless initonalloc is on. It is zero in an object which has been a socket before, and anything in one which has not. If it is not zero, a helper gets a reference which refcountset() wipes out, and the helper's sockput() then drops one of the two references of the new socket, which is freed too early: IPv4: Attempt to release TCP socket in state 1 BUG: KASAN: slab-use-after-free in rawspinlockinit+0x47/0x90 In the meantime the helper changes a storage which bpfskstorageclone() fills without taking its lock. Nothing else can find the clone at this point.…
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/1e49688900d8bddc0cf626ba5cc780c34b58ef58
- https://git.kernel.org/stable/c/22f100bd013458836c3d0eaf8050b854d7534a66
- https://git.kernel.org/stable/c/28051395df6e8829f7f168c6eef4a4e411cbbc37
- https://git.kernel.org/stable/c/856649a34a66e1e485ecfee12d0f9e7f02896d52
- https://git.kernel.org/stable/c/a5b2375d755a6f7841ef25301bc824e089060454
- https://git.kernel.org/stable/c/e43a39cdd14639bba5c7b66d1e99ea4948cec04c
- https://git.kernel.org/stable/c/fc6d7288e0521de69b6e130278563138551e5c7e
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139313