io_uring: fix memory leak when removing provided buffers (Linux Linux)

CVE-2023-54041
Not available

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 < ac48787f58d1068f4e06d627c1135784d64b4c72 ; affected cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 < c117c15927772d1624c29c092b6bd3f47c7faa48 ; affected cc3cec8367cba76a8ae4c271eba8450f3efc1ba3 < b4a72c0589fdea6259720375426179888969d6a2
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.24 ≤ 6.1.* ; unaffected 6.2.11 ≤ 6.2.* ; unaffected 6.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD