{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-68312 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-68312 is an use after free vulnerability in Linux, published on 16 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-68312 and fix it if it is affected.\n\nWhat it is: CVE-2025-68312 is an use after free vulnerability in Linux, published on 16 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-68312 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-2025-68312/ (Markdown: https://insights.sbomify.com/CVE-2025-68312/index.md)","id":"CVE-2025-68312","markdown":"https://insights.sbomify.com/CVE-2025-68312/index.md","name":"CVE-2025-68312","record":{"aliases":["BELL-CVE-2025-68312","DEBIAN-CVE-2025-68312","GHSA-g57h-pwpg-2849","ROOT-OS-DEBIAN-12-CVE-2025-68312","ROOT-OS-DEBIAN-13-CVE-2025-68312","ROOT-OS-UBUNTU-2204-CVE-2025-68312","ROOT-OS-UBUNTU-2404-CVE-2025-68312","UBUNTU-CVE-2025-68312"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"none","summary":"A use-after-free vulnerability in the Linux kernel usbnet driver allows local attackers to cause a system crash by triggering a race condition during device unregistration.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","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\nusbnet: Prevents free active kevent\n\nThe root cause of this issue are:\n1. When probing the usbnet device, executing usbnet_link_change(dev, 0, 0);\nput the kevent work in global workqueue. However, the kevent has not yet\nbeen scheduled when the usbnet device is unregistered. Therefore, executing\nfree_netdev() results in the \"free active object (kevent)\" error reported\nhere.\n\n2. Another factor is that when calling usbnet_disconnect()-\u003eunregister_netdev(),\nif the usbnet device is up, ndo_stop() is executed to cancel the kevent.\nHowever, because the device is not up, ndo_stop() is not executed.\n\nThe solution to this problem is to cancel the kevent before executing\nfree_netdev().","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":"usbnet: Prevents free active kevent","id":"CVE-2025-68312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2025"},"n_packages":0,"n_references":8,"next":{"headline":"x86/CPU/AMD: Add RDSEED fix for Zen5","id":"CVE-2025-68313"},"packages":[],"prev":{"headline":"tty: serial: ip22zilog: Use platform device for probing","id":"CVE-2025-68311"},"products":["Linux"],"published":"2025-12-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-16","vendors":["Linux"]},"summary":"A use-after-free vulnerability in the Linux kernel usbnet driver allows local attackers to cause a system crash by triggering a race condition during device unregistration.","url":"https://insights.sbomify.com/CVE-2025-68312/"}