{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139558 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139558 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139558 and fix it if it is affected.\n\nWhat it is: CVE-2026-139558 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139558 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-139558/ (Markdown: https://insights.sbomify.com/CVE-2026-139558/index.md)","id":"CVE-2026-139558","markdown":"https://insights.sbomify.com/CVE-2026-139558/index.md","name":"CVE-2026-139558","record":{"aliases":["BELL-CVE-2026-139558","DEBIAN-CVE-2026-139558","GHSA-h4q9-r22j-qvc9","UBUNTU-CVE-2026-139558"],"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\nsched: Set TIF_NEED_RESCHED before calling __trace_set_need_resched()\n\nset_tsk_need_resched() tests TIF_NEED_RESCHED, calls\n__trace_set_need_resched() if the flag is clear, then sets it via\nset_tsk_thread_flag().  A BPF raw_tp program attached to\nsched_set_need_resched executes synchronously inside __bpf_trace_run().\nOn return, __bpf_trace_run() drops the RCU lock with\nrcu_read_unlock_migrate(), which on the preempt-or-BH-disabled path\ncalls set_need_resched_current() -\u003e set_tsk_need_resched() again.\n\nset_tsk_thread_flag() follows the tracepoint call, so every re-entrant\nframe sees TIF_NEED_RESCHED clear and calls __trace_set_need_resched()\nagain:\n\n  BUG: TASK stack guard page was hit at ffffc9001224ff98\n  Oops: stack guard page: 0000 [#1] SMP KASAN PTI\n  RIP: 0010:__bpf_trace_sched_set_need_resched_tp+0x1c/0x190\n  Call Trace:\n   trace_sched_set_need_resched_tp+0x110/0x130\n   set_tsk_need_resched include/linux/sched.h:2076\n   set_need_resched_current include/linux/sched.h:2094\n   rcu_read_unlock_special+0x43a/0x440\n   __rcu_read_unlock+0x9e/0x120\n   rcu_read_unlock_migrate+0xa9/0x240\n   __bpf_trace_run+0x131/0x180\n   bpf_trace_run3+0x333/0x430\n   __bpf_trace_sched_set_need_resched_tp+0x13a/0x190\n   trace_sched_set_need_resched_tp+0x110/0x130\n   set_tsk_need_resched include/linux/sched.h:2076\n   ...\n\n__resched_curr() has the same ordering, firing the tracepoint before\nsetting the flag via set_ti_thread_flag() or set_nr_and_not_polling().\nFix it for consistency.\n\nReplace the separate test_tsk_thread_flag() + set_tsk_thread_flag() pair\nin set_tsk_need_resched() with test_and_set_tsk_thread_flag().  In\n__resched_curr(), move the tracepoint call after the flag is set in\neach path.","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":"sched: Set TIF_NEED_RESCHED before calling __trace_set_need_resched()","id":"CVE-2026-139558","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":3,"n_vendor_status":0,"next":{"headline":"seg6: fix HMAC validation when an extension header precedes the SRH","id":"CVE-2026-139559"},"nickname":null,"packages":[],"prev":{"headline":"misc: enclosure: fix UAF on device_register() failure","id":"CVE-2026-139557"},"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-139558/"}