{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139312 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139312 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139312 and fix it if it is affected.\n\nWhat it is: CVE-2026-139312 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139312 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-139312/ (Markdown: https://insights.sbomify.com/CVE-2026-139312/index.md)","id":"CVE-2026-139312","markdown":"https://insights.sbomify.com/CVE-2026-139312/index.md","name":"CVE-2026-139312","record":{"aliases":["DEBIAN-CVE-2026-139312","GHSA-gqrv-hvxf-885x","UBUNTU-CVE-2026-139312"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix NULL deref in the sk_storage map iterator\n\nbpf_sk_storage_map_seq_find_next() hands out an element only if its\nlocal_storage pointer is set. __bpf_sk_storage_map_seq_show() then reads\nthe pointer a second time and dereferences it without a test.\n\nSince bpf_local_storage_destroy() unlinks the elements with\nbpf_selem_unlink_nofail(), the pointer is reset to NULL when the socket\nwhich owns the element is destroyed, so it can change between the two\nreads. Reading the iterator while sockets with an element in the map are\nclosed ends in a NULL pointer dereference. The sockets need not belong to\nthe reader: where a program gives every new socket an element, an\nunprivileged user who opens and closes sockets is enough.\n\nSkip such an element, as the TCP and UDP iterators skip a socket which\nhas been unhashed.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"bpf: Fix NULL deref in the sk_storage map iterator","id":"CVE-2026-139312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"bpf: Clear sk_refcnt of a clone before its storage is linked","id":"CVE-2026-139313"},"nickname":null,"packages":[],"prev":{"headline":"bpf: Link the first element after its storage is published","id":"CVE-2026-139311"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-30","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139312/"}