{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139182 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139182 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139182 and fix it if it is affected.\n\nWhat it is: CVE-2026-139182 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139182 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-139182/ (Markdown: https://insights.sbomify.com/CVE-2026-139182/index.md)","id":"CVE-2026-139182","markdown":"https://insights.sbomify.com/CVE-2026-139182/index.md","name":"CVE-2026-139182","record":{"aliases":["BELL-CVE-2026-139182","DEBIAN-CVE-2026-139182","GHSA-f89v-jw25-f3jj","UBUNTU-CVE-2026-139182"],"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\nnet: tun: hold napi_mutex when deleting NAPI in tun_detach_all()\n\nWith IFF_NAPI_FRAGS, tun_get_user() takes tfile-\u003enapi_mutex, gets the\nskb from napi_get_frags() and copies the user data into it before it\nenters the RCU read-side section around napi_gro_frags().\n\ntun_detach_all() waits with synchronize_net() and then calls\ntun_napi_del() without napi_mutex.  netif_napi_del() frees napi-\u003eskb\nthrough napi_free_frags().  A writer that is still copying has not yet\nentered its RCU section, so synchronize_net() does not wait for it, and\ndeleting the device frees the skb while the writer is using it:\n\n  BUG: KASAN: slab-use-after-free in skb_copy_datagram_from_iter+0x175/0x720\n  Read of size 8 at addr ffff888077def990 by task br029-poc/9406\n  Call Trace:\n   skb_copy_datagram_from_iter+0x175/0x720\n   tun_get_user+0xb42/0x3d00\n   tun_chr_write_iter+0x113/0x200\n  ...\n  Freed by task 9405:\n   kmem_cache_free+0x184/0x670\n   __netif_napi_del_locked+0x2bb/0x3c0\n   tun_net_uninit+0x566/0xa70\n   unregister_netdevice_many_notify+0x1a26/0x2090\n   rtnl_dellink+0x514/0x710\n\n__tun_detach() also calls tun_napi_del() without the mutex, but only\nfrom tun_chr_close(), when no write on that file can be in flight.\n\nTake napi_mutex around tun_napi_del() in tun_detach_all() for both\nattached and disabled queues.","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":"net: tun: hold napi_mutex when deleting NAPI in tun_detach_all()","id":"CVE-2026-139182","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":8,"n_vendor_status":0,"next":{"headline":"net: usb: cdc_mbim: don't enable BHs in tx_fixup under netpoll","id":"CVE-2026-139183"},"nickname":null,"packages":[],"prev":{"headline":"ksmbd: fix SMB2 CREATE response buffer overflow in compound requests","id":"CVE-2026-139181"},"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-139182/"}