VDB

CVE-2024-53213

CVE-2024-53213 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
linux_kernellinux6.12.2, 6.11.11, 6.6.64, 6.1.120

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3281ebb3dc5ef19507e65523e9f8c00e20b285ca, dcafa5a8452738eb28085f559b0683d55e22b2f5, a6df95cae40bee555e01a37b4023ce8e97ffa249
LinuxLinux5.17, 0, 5.10.258
linuxlinux_kernel5.17, 5.17, 5.17
LinuxLinux*, *, *

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›