{"id":"CVE-2024-53213","published":"2024-12-27T13:49:58Z","modified":"2026-06-01T16:04:48Z","title":"net: usb: lan78xx: Fix double free issue with interrupt buffer allocation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: lan78xx: Fix double free issue with interrupt buffer allocation\n\nIn lan78xx_probe(), the buffer `buf` was being freed twice: once\nimplicitly through `usb_free_urb(dev->urb_intr)` with the\n`URB_FREE_BUFFER` flag and again explicitly by `kfree(buf)`. This caused\na double free issue.\n\nTo resolve this, reordered `kmalloc()` and `usb_alloc_urb()` calls to\nsimplify the initialization sequence and removed the redundant\n`kfree(buf)`.  Now, `buf` is allocated after `usb_alloc_urb()`, ensuring\nit is correctly managed by  `usb_fill_int_urb()` and freed by\n`usb_free_urb()` as intended.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00231,"percentile":0.14235,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"references":[{"url":"https://git.kernel.org/stable/c/cc5aa8e3ad69dcedeba79e667d4a2efb72a305af","tags":[]},{"url":"https://git.kernel.org/stable/c/2970ef2fce90c661952ec2b451b0276d5f8d6180","tags":[]},{"url":"https://git.kernel.org/stable/c/977128343fc2a30737399b58df8ea77e94f164bd","tags":[]},{"url":"https://git.kernel.org/stable/c/a422ebec863d99d5607fb41bb7af3347fcb436d3","tags":[]},{"url":"https://git.kernel.org/stable/c/b09512aea6223eec756f52aa584fc29eeab57480","tags":[]},{"url":"https://git.kernel.org/stable/c/7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40","tags":[]},{"url":"https://git.kernel.org/stable/c/03819abbeb11117dcbba40bfe322b88c0c88a6b6","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":2.85},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3281ebb3dc5ef19507e65523e9f8c00e20b285ca, < cc5aa8e3ad69dcedeba79e667d4a2efb72a305af",">= dcafa5a8452738eb28085f559b0683d55e22b2f5, < 2970ef2fce90c661952ec2b451b0276d5f8d6180",">= a6df95cae40bee555e01a37b4023ce8e97ffa249, < 977128343fc2a30737399b58df8ea77e94f164bd",">= a6df95cae40bee555e01a37b4023ce8e97ffa249, < a422ebec863d99d5607fb41bb7af3347fcb436d3",">= a6df95cae40bee555e01a37b4023ce8e97ffa249, < b09512aea6223eec756f52aa584fc29eeab57480",">= a6df95cae40bee555e01a37b4023ce8e97ffa249, < 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40",">= a6df95cae40bee555e01a37b4023ce8e97ffa249, < 03819abbeb11117dcbba40bfe322b88c0c88a6b6",">= 5.10.252, < 5.10.258",">= 5.15.202, < 5.15.209"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T20:03:36.748582Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51885","exploited":false,"provenance":"source"}}