CVE-2024-53213
net: usb: lan78xx: Fix double free issue with interrupt buffer allocation
Mitigation
- Upgrade Linux to 5.15.209 or later.
Who should check
- Anyone running Linux >= 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
- Anyone running Linux 5.17
Vulnerability facts
- Affected
- Linux >= 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; Linux 5.17
- Fixed in
- Linux 2970ef2fce90c661952ec2b451b0276d5f8d6180, Linux 977128343fc2a30737399b58df8ea77e94f164bd, Linux 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40, Linux 03819abbeb11117dcbba40bfe322b88c0c88a6b6, Linux 5.10.258, Linux 5.15.209
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-415
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 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 | — | cvelist |
| Linux | 5.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-53213. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-53213.md Affected: Linux >= 3281ebb3dc5ef19507e65523e9f8c00e20b285ca, < cc5aa8e3ad69dcedeba79e667d4a2efb72a305af; >= dcafa5a8452738eb28085f559b0683d55e22b2f5, < 2970ef2fce90c661952ec2b451b0276d5f8d6180; >= a6df95cae40bee555e01a37b4023ce8e97ffa249, < 977128343fc2a30737399b58df8ea77e94f164bd; >= a6df95cae40bee555e01a37… Fixed in: Linux 2970ef2fce90c661952ec2b451b0276d5f8d6180, Linux 977128343fc2a30737399b58df8ea77e94f164bd, Linux 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40, Linux 03819abbeb11117dcbba40bfe322b88c0c88a6b6, Linux 5.10.258, Linux 5.15.209 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/977128343fc2a30737399b58df8ea77e94f164bd
- https://git.kernel.org/stable/c/a422ebec863d99d5607fb41bb7af3347fcb436d3
- https://git.kernel.org/stable/c/b09512aea6223eec756f52aa584fc29eeab57480
- https://git.kernel.org/stable/c/7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40
- https://git.kernel.org/stable/c/03819abbeb11117dcbba40bfe322b88c0c88a6b6
FAQ
Is CVE-2024-53213 being exploited?
There is no confirmed exploitation: CVE-2024-53213 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-53213?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-53213?
Linux >= 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; Linux 5.17.
Is there a fix for CVE-2024-53213?
Yes. Fixed in Linux 2970ef2fce90c661952ec2b451b0276d5f8d6180, Linux 977128343fc2a30737399b58df8ea77e94f164bd, Linux 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40, Linux 03819abbeb11117dcbba40bfe322b88c0c88a6b6, Linux 5.10.258, Linux 5.15.209. Upgrade Linux to 5.15.209 or later.
How do I check if I'm affected by CVE-2024-53213?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.