# CVE-2024-53213: net: usb: lan78xx: Fix double free issue with interrupt buffer allocation

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-12-27T13:49:58.709Z
- Modified: 2026-06-17T08:08:36.397Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3281ebb3dc5ef19507e65523e9f8c00e20b285ca before cc5aa8e3ad69dcedeba79e667d4a2efb72a305af; from dcafa5a8452738eb28085f559b0683d55e22b2f5 before 2970ef2fce90c661952ec2b451b0276d5f8d6180; from a6df95cae40bee555e01a37b4023ce8e97ffa249 before 977128343fc2a30737399b58df8ea77e94f164bd; from a6df95cae40bee555e01a37b4023ce8e97ffa249 before a422ebec863d99d5607fb41bb7af3347fcb436d3; from a6df95cae40bee555e01a37b4023ce8e97ffa249 before b09512aea6223eec756f52aa584fc29eeab57480; from a6df95cae40bee555e01a37b4023ce8e97ffa249 before 7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40; from a6df95cae40bee555e01a37b4023ce8e97ffa249 before 03819abbeb11117dcbba40bfe322b88c0c88a6b6; from 5.10.252 before 5.10.258; from 5.15.202 before 5.15.209; 5.17 (not affected: before 5.17; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.17 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/cc5aa8e3ad69dcedeba79e667d4a2efb72a305af>
- <https://git.kernel.org/stable/c/2970ef2fce90c661952ec2b451b0276d5f8d6180>
- <https://git.kernel.org/stable/c/977128343fc2a30737399b58df8ea77e94f164bd> (patch)
- <https://git.kernel.org/stable/c/a422ebec863d99d5607fb41bb7af3347fcb436d3> (patch)
- <https://git.kernel.org/stable/c/b09512aea6223eec756f52aa584fc29eeab57480> (patch)
- <https://git.kernel.org/stable/c/7ac9f3c981eeceee2ec4d30d850f4a6f50a1ec40> (patch)
- <https://git.kernel.org/stable/c/03819abbeb11117dcbba40bfe322b88c0c88a6b6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-53213](https://www.cve.org/CVERecord?id=CVE-2024-53213), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2024-53213](https://nvd.nist.gov/vuln/detail/CVE-2024-53213), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53213 · Whole record: https://cve.day/CVE-2024-53213.json · Rebuilt by cve.day 2026-11-25T22:58:50.420Z
