{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64242","id":"CVE-2026-64242","title":"usb: gadget: net2280: Fix double free in probe error path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: net2280: Fix double free in probe error path\n\nusb_initialize_gadget() installs gadget_release() as the release\ncallback for the embedded gadget device.  The struct net2280 instance is\ntherefore released through gadget_release() when the gadget device's last\nreference is dropped.\n\nThe probe error path calls net2280_re","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: net2280: Fix double free in probe error path\n\nusb_initialize_gadget() installs gadget_release() as the release\ncallback for the embedded gadget device.  The struct net2280 instance is\ntherefore released through gadget_release() when the gadget device's last\nreference is dropped.\n\nThe probe error path calls net2280_remove(), which tears down the\npartially initialized device and drops the gadget reference with\nusb_put_gadget().  Calling kfree(dev) afterwards can free the same object\nagain.\n\nDrop the explicit kfree() and let the gadget device release callback\nhandle the final free.  This issue was found by a static analysis tool\nI am developing.","published":"2026-07-24T15:27:44.730Z","updated":"2026-11-10T02:31:03.121768045Z","reserved":"2026-07-19T15:36:31.772Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"71b3391dc81655ff058492f8e9d013b2c6e5747b","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"550fa4d071a8c8e53072900869d37ae6abf4999d","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"c5b9fdb1e8ddf50bc6272927edb118679f170350","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"085652fda7f38040d1a2c42d72614f418feb843f","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"48f89ead20e48d447ad29fa937b43b9fa981cf28","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"e6f8be12f0307145b9a6010f044925952b37de8b","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"db2b72e83a0208ae2b3b270bf91662b1c6849a9b","status":"affected","versionType":"git"},{"version":"f770fbec4165b1acfabdeadb01ad6008d2c537b5","lessThan":"c8547c74988e0b5f4cbb1b895e2a57aae084f070","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.259","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.210","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.176","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.143","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.93","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.35","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.12","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/71b3391dc81655ff058492f8e9d013b2c6e5747b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/550fa4d071a8c8e53072900869d37ae6abf4999d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c5b9fdb1e8ddf50bc6272927edb118679f170350","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/085652fda7f38040d1a2c42d72614f418feb843f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/48f89ead20e48d447ad29fa937b43b9fa981cf28","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e6f8be12f0307145b9a6010f044925952b37de8b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/db2b72e83a0208ae2b3b270bf91662b1c6849a9b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c8547c74988e0b5f4cbb1b895e2a57aae084f070","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64242.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64242","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00121,"epssPercentile":0.01961,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64242","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64242","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64242","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64242","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}