# CVE-2023-54041: io_uring: fix memory leak when removing provided buffers

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-24T10:56:06.858Z
- Modified: 2026-06-17T06:46:41.870Z
- Assigned by: Linux

## Description

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

io_uring: fix memory leak when removing provided buffers

When removing provided buffers, io_buffer structs are not being disposed
of, leading to a memory leak. They can't be freed individually, because
they are allocated in page-sized groups. They need to be added to some
free list instead, such as io_buffers_cache. All callers already hold
the lock protecting it, apart from when destroying buffers, so had to
extend the lock there.

(As written by CVE List.)

## Affected

- Linux Linux: from cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 before ac48787f58d1068f4e06d627c1135784d64b4c72; from cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 before c117c15927772d1624c29c092b6bd3f47c7faa48; from cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 before b4a72c0589fdea6259720375426179888969d6a2; 5.18 (not affected: before 5.18; from 6.1.24 up to 6.1.*; from 6.2.11 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/ac48787f58d1068f4e06d627c1135784d64b4c72>
- <https://git.kernel.org/stable/c/c117c15927772d1624c29c092b6bd3f47c7faa48>
- <https://git.kernel.org/stable/c/b4a72c0589fdea6259720375426179888969d6a2>

## Sources

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

---

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