CVE-2024-53213
net: usb: lan78xx: Fix double free issue with interrupt buffer allocation
Reported by linux · Published December 27, 2024
In the Linux kernel, the following vulnerability has been resolved: net: usb: lan78xx: Fix double free issue with interrupt buffer allocation In lan78xx_probe(), the buffer `buf` was being freed twice: once implicitly through `usb_free_urb(dev->urb_intr)` with the `URB_FREE_BUFFER` flag and again explicitly by `kfree(buf)`. This caused a double free issue. To resolve this, reordered `kmalloc()` and `usb_alloc_urb()` calls to simplify the initialization sequence and removed the redundant `kfree(buf)`. Now, `buf` is allocated after `usb_alloc_urb()`, ensuring it is correctly managed by `usb_fill_int_urb()` and freed by `usb_free_urb()` as intended.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.2, 6.11.11, 6.6.64, 6.1.120 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3281ebb3dc5ef19507e65523e9f8c00e20b285ca, dcafa5a8452738eb28085f559b0683d55e22b2f5, a6df95cae40bee555e01a37b4023ce8e97ffa249 |
| Linux | Linux | 5.17, 0, 5.10.258 |
| linux | linux_kernel | 5.17, 5.17, 5.17 |
| Linux | Linux | *, *, * |
Timeline
- Dec 27, 2024 CVE Published
- Dec 28, 2024 EPSS Score (30 in total, the first dated here)
- Jan 1, 2025 Coalition ESS Score (8 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 31, 2025 Security Advisory (450 in total, the first dated here)
- Dec 31, 2025 CVE Updated
- Apr 29, 2026 Distribution Patch (367 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53213
vulnetix vdb fixes CVE-2024-53213
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53213/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart