{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139202 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139202 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139202 and fix it if it is affected.\n\nWhat it is: CVE-2026-139202 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139202 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-139202/ (Markdown: https://insights.sbomify.com/CVE-2026-139202/index.md)","id":"CVE-2026-139202","markdown":"https://insights.sbomify.com/CVE-2026-139202/index.md","name":"CVE-2026-139202","record":{"aliases":["DEBIAN-CVE-2026-139202","GHSA-8x7f-vfx6-gqqv","UBUNTU-CVE-2026-139202"],"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: Validate stack arg reads against caller state\n\ncheck_stack_arg_read() bounds a stack argument index with the callee's\nBTF-derived argument count, then uses the index in the caller's\nstack_arg_regs[] array. The array's actual logical length is recorded in\ncaller-\u003eout_stack_arg_cnt, so the bound and indexed object can diverge.\n\nA crafted BPF_PROG_LOAD can use an argument mismatch to mark a static\nsubprogram's BTF information unreliable. Later calls return from\nbtf_check_subprog_call() before check_outgoing_stack_args(), while\ncheck_func_call() continues the static call on -EINVAL. The callee can\nthen read a slot that the caller never allocated or initialized. The\nearlier commit 4286f5deee14 (\"bpf: Validate outgoing stack args when\nbtf_prepare_func_args fails\") closed this hole for the first call, but\nnot for later calls after the subprogram has been marked unreliable.\n\nCallbacks have a related problem. The verifier can make incoming stack\narguments readable from outgoing slots at the helper call site. However,\nhelpers and kfuncs invoke callbacks through an ABI that passes at most five\narguments, so the runtime callback receives no stack arguments. Async\ncallback verification can also reach check_stack_arg_read() without a\ncaller frame.\n\nOn x86-64, KASAN reports the direct-call out-of-bounds copy as:\n\n  BUG: KASAN: slab-out-of-bounds in check_load_mem+0xb51/0xc60\n  Read of size 80 at addr ffff8881009af550 by task poc/131\n  Call Trace:\n   check_stack_arg_read at kernel/bpf/verifier.c:4234\n   (inlined by) check_load_mem at kernel/bpf/verifier.c:6645\n   do_check_common at kernel/bpf/verifier.c:19568\n   bpf_check at kernel/bpf/verifier.c:21318\n   bpf_prog_load at kernel/bpf/syscall.c:3134\n\nReject callback subprograms with incoming stack arguments before their\nstate is pushed. For direct calls, retrieve the slot with\nbpf_get_spilled_stack_arg(), which validates the index against the caller's\nout_stack_arg_cnt and rejects uninitialized slots before copying the\nregister state.","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: Validate stack arg reads against caller state","id":"CVE-2026-139202","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":"ALSA: ump: Drain sequencer callbacks before freeing their client","id":"CVE-2026-139203"},"nickname":null,"packages":[],"prev":{"headline":"netlink: fix out-of-bounds bitmap access clearing stale mc groups","id":"CVE-2026-139201"},"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-139202/"}