CVE-2023-54041

io_uring: fix memory leak when removing provided buffers

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 to before ac48787f58d1068f4e06d627c1135784d64b4c72Affected
  • cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 to before c117c15927772d1624c29c092b6bd3f47c7faa48Affected
  • cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 to before b4a72c0589fdea6259720375426179888969d6a2Affected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.24 through 6.1.*Not affected
  • 6.2.11 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.