{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139161 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139161 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139161 and fix it if it is affected.\n\nWhat it is: CVE-2026-139161 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139161 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-139161/ (Markdown: https://insights.sbomify.com/CVE-2026-139161/index.md)","id":"CVE-2026-139161","markdown":"https://insights.sbomify.com/CVE-2026-139161/index.md","name":"CVE-2026-139161","record":{"aliases":["AZL-116926","BELL-CVE-2026-139161","DEBIAN-CVE-2026-139161","GHSA-4q2p-r8jh-g926","UBUNTU-CVE-2026-139161"],"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\ntls: keep TX and RX hardware offload on the same device\n\nAfter TX is offloaded on device A, a route change, or a change in the\nusable-slave set of an 802.3ad or balance-xor (layer3+4) bond, can make\nRX setup program device B. tls_device_attach() sees the existing TLS\ndestructor and keeps ctx-\u003enetdev pointing at A. The RX driver state on B\nis then untracked: tls_dev_resync() and tls_dev_del() are invoked on A\nfor a context it never created, and neither socket close nor\nNETDEV_DOWN on B calls tls_dev_del() for B, so the driver context leaks.\nThe reverse setup order has the same problem.\n\nCheck the shared device binding under device_offload_lock before each\ntls_dev_add(). Permit the first attachment and a second direction on the\nsame device. Reject a different device, including when the old binding\nwas cleared by NETDEV_DOWN: the TLS destructor remains installed and\ntls_device_attach() cannot establish a new binding. Setup then falls\nback to software for the requested direction.\n\nThe RX check precedes allocation and software setup. TX uses its existing\nresource unwind path without calling the driver. Document the shared\nbinding and clarify that fallback is per direction.\n\nThis issue was discovered during code review and subsequently\nreproduced on hardware using mlx5 and TLS 1.2 AES-GCM-128.\n\nChanging the route between TX and RX setup installed the second\ndirection on a different device. Driver traces showed successful adds\non both devices, but both deletes at socket close targeted the first\ndevice, leaving an orphaned context on the second. Both setup orders\nreproduced the leak, even though all current core TLS context counters\nreturned to zero. No crash was observed.\n\nWith the fix, the same tests correctly fall back to software for the\nsecond direction and leave no orphaned hardware context.","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":"tls: keep TX and RX hardware offload on the same device","id":"CVE-2026-139161","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":4,"n_vendor_status":0,"next":{"headline":"fs/ntfs3: handle partial allocation in attr_data_get_block_locked()","id":"CVE-2026-139162"},"nickname":null,"packages":[],"prev":{"headline":"nfp: flower: fix use-after-free in neighbour update work","id":"CVE-2026-139160"},"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-139161/"}