{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139214 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139214 is a high-severity vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139214 and fix it if it is affected.\n\nWhat it is: CVE-2026-139214 is a high-severity vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139214 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-139214/ (Markdown: https://insights.sbomify.com/CVE-2026-139214/index.md)","id":"CVE-2026-139214","markdown":"https://insights.sbomify.com/CVE-2026-139214/index.md","name":"CVE-2026-139214","record":{"aliases":["BELL-CVE-2026-139214","DEBIAN-CVE-2026-139214","GHSA-mm9r-fr8x-j39r","UBUNTU-CVE-2026-139214"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Fix UAF in attach_task_ctx_data()\n\nstruct perf_ctx_data is RCU protected. In attach_task_ctx_data(),\nthe cmpxchg retry loop runs without holding rcu_read_lock(). If\ntask-\u003eperf_ctx_data already holds a pointer (call it `cd1`), then\ntry_cmpxchg(\u0026task-\u003eperf_ctx_data, \u0026old, cd) fails and loads old = cd1.\nA concurrent thread running detach_task_ctx_data() could free cd1\nleading to UAF and further memory corruption when cd1 is reclaimed by\nanother thread.\n\n  CPU 0: attach_task_ctx_data()     CPU 1: detach_task_ctx_data()\n  -----------------------------     -----------------------------\n  try_cmpxchg(\u0026task-\u003eperf_ctx_data,\n              \u0026old, cd2)\n    -\u003e fails; loads old = cd1\n\n                                    refcount_dec_and_test(\u0026cd1-\u003erefcount)\n                                    try_cmpxchg(\u0026task-\u003eperf_ctx_data,\n                                                \u0026cd1, NULL)\n                                    perf_free_ctx_data_rcu(cd1)\n                                    [ RCU grace period -\u003e kfree(cd1) ]\n\n  refcount_inc_not_zero(\u0026old-\u003erefcount)\n    -\u003e UAF on freed cd1\n\nFix this by taking rcu_read_lock across the race window.","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":"perf: Fix UAF in attach_task_ctx_data()","id":"CVE-2026-139214","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":"nsproxy: Fix cred leak in the error path of prepare_nsset()","id":"CVE-2026-139215"},"nickname":null,"packages":[],"prev":{"headline":"ASoC: amd: raven: Fix memory leak in acp3x_dma_close()","id":"CVE-2026-139213"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-12-01","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139214/"}