{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139304 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139304 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139304 and fix it if it is affected.\n\nWhat it is: CVE-2026-139304 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139304 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-139304/ (Markdown: https://insights.sbomify.com/CVE-2026-139304/index.md)","id":"CVE-2026-139304","markdown":"https://insights.sbomify.com/CVE-2026-139304/index.md","name":"CVE-2026-139304","record":{"aliases":["AZL-117037","BELL-CVE-2026-139304","DEBIAN-CVE-2026-139304","GHSA-g778-2ghx-r55g","UBUNTU-CVE-2026-139304"],"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: Check the maps that sleepable callbacks use\n\nSleepable programs can only use the kinds of map that do without an RCU\nread side critical section.  check_map_prog_compatibility() sees to that\nwhen a map is bound to the program, and asks whether the program is\nsleepable.  That misses the bpf_wq or bpf_task_work callback of a program\nthat is not, which runs sleepable all the same, and it misses an inner\nmap, which is not bound.\n\nThe bpf_wq callback of a tc program that looks a key up in a sockhash\ngets as far as\n\n  WARNING: net/core/sock_map.c:903 at __sock_hash_lookup_elem+0x18f/0x1e0\n\nAsk the same question for the map that is handed to a helper in sleepable\ncontext, unless the RCU read lock is held: by bpf_rcu_read_lock(), or by\nthe helper that runs the callback, as bpf_for_each_map_elem() does for a\nhash map.  Programs that take the lock go on working.  Disabled preemption\nor interrupts are not enough, since the maps ask for rcu_read_lock_held().\nThe other parts of the program may use such a map as before.\n\nA global function that is called with preemption or interrupts disabled is\nverified for the non-sleepable context, in which nothing is known of all\nthat.  Verify it for a context of its own: not sleepable, and without the\nRCU read lock.  It differs in what maps can be used, and in nothing else.\n\nWhat is refused from now on runs into the warning above, or uses what the\nmap frees behind a plain RCU grace period: an entry of a devmap, of a perf\nevent array or of a cgroup array.\n\nA bloom filter does without RCU.  Add it to the list, so that callbacks\nwhich use one go on loading.  As a side effect sleepable programs can use\nbloom filters as well.\n\nA pointer to the value of a devmap which a program keeps beyond\nbpf_rcu_read_unlock() is not dealt with here.","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: Check the maps that sleepable callbacks use","id":"CVE-2026-139304","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: Count sleepable callbacks as sleepable map users","id":"CVE-2026-139305"},"nickname":null,"packages":[],"prev":{"headline":"bpf: Assume no bounds for buffers behind a tail call","id":"CVE-2026-139303"},"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-139304/"}