# CVE-2023-54001: staging: r8712: Fix memory leak in _r8712_init_xmit_priv()

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:36.991Z
- Modified: 2026-06-17T06:46:30.890Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

staging: r8712: Fix memory leak in _r8712_init_xmit_priv()

In the above mentioned routine, memory is allocated in several places.
If the first succeeds and a later one fails, the routine will leak memory.
This patch fixes commit 2865d42c78a9 ("staging: r8712u: Add the new driver
to the mainline kernel"). A potential memory leak in
r8712_xmit_resource_alloc() is also addressed.

(As written by CVE List.)

## Affected

- Linux Linux: from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before fc511ae405f7ba29fbcb0246061ec15c272386e1; from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before acacdbe0f740ca8c5d5da73d50870903a3ded677; from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 41e05572e871b10dbdc168c76175c97982daf4a4; from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before 874555472c736813ba1f4baf0b4c09c8e26d81ea; from 2865d42c78a9121caad52cb02d1fbb7f5cdbc4ef before ac83631230f77dda94154ed0ebfd368fc81c70a3; 2.6.37 (not affected: before 2.6.37; from 5.10.190 up to 5.10.*; from 5.15.124 up to 5.15.*; from 6.1.43 up to 6.1.*; from 6.4.8 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/fc511ae405f7ba29fbcb0246061ec15c272386e1>
- <https://git.kernel.org/stable/c/acacdbe0f740ca8c5d5da73d50870903a3ded677>
- <https://git.kernel.org/stable/c/41e05572e871b10dbdc168c76175c97982daf4a4>
- <https://git.kernel.org/stable/c/874555472c736813ba1f4baf0b4c09c8e26d81ea>
- <https://git.kernel.org/stable/c/ac83631230f77dda94154ed0ebfd368fc81c70a3>

## Sources

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

---

Page: https://cve.day/CVE-2023-54001 · Whole record: https://cve.day/CVE-2023-54001.json · Rebuilt by cve.day 2026-11-25T22:58:35.136Z
