CVE-2024-53213

net: usb: lan78xx: Fix double free issue with interrupt buffer allocation

HIGH
7.8
CVSS Score
Published: December 27, 2024 at 01:49 PM UTC
Updated: June 17, 2026 at 08:08 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.252 ≤ v < 5.10.2585.15.202 ≤ v < 5.15.2095.17 ≤ v < 6.1.1205.17 ≤ v < 6.11.115.17 ≤ v < 6.12.25.17 ≤ v < 6.135.17 ≤ v < 6.6.646.12 ≤ v < 6.12.26.2 ≤ v < 6.6.646.7 ≤ v < 6.11.113281ebb3dc5ef19507e65523e9f8c00e20b285ca5.10.2525.15.2025.17a6df95cae40bee555e01a37b4023ce8e97ffa249dcafa5a8452738eb28085f559b0683d55e22b2f5
Vendor states this is fixed in 03819abbeb11117dcbba40bfe322b88c0c88a6b6 (fixed)
Vendor states this is fixed in 2970ef2fce90c661952ec2b451b0276d5f8d6180 (fixed)
Vendor states this is fixed in 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40 (fixed)
Vendor states this is fixed in 977128343fc2a30737399b58df8ea77e94f164bd (fixed)
Vendor states this is fixed in a422ebec863d99d5607fb41bb7af3347fcb436d3 (fixed)
Vendor states this is fixed in b09512aea6223eec756f52aa584fc29eeab57480 (fixed)
Vendor states this is fixed in cc5aa8e3ad69dcedeba79e667d4a2efb72a305af (fixed)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card