5.5medium
HV: hv_balloon: fix memory leak with using debugfs_lookup()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: HV: hv_balloon: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d180e0a1be6cea2b7436fadbd1c96aecdf3c46c7 before 0b570a059cf42ad6e2eb632f47c23813d58d8303, from d180e0a1be6cea2b7436fadbd1c96aecdf3c46c7 before 6dfb0771429a63db8561d44147f2bb76f93e1c86, 6.0 Not affected: before 6.0, from 6.1.11 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 6.0 before 6.1.11, 6.2 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: HV: hv_balloon: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HV: hv_balloon: se corrige una fuga de memoria con debugfs_lookup(). Al llamar a debugfs_lookup(), se debe ejecutar dput() en el resultado; de lo contrario, la fuga de memoria se producirá con el tiempo. Para simplificar, simplemente llame a debugfs_lookup_and_remove(), que gestiona toda la lógica a la vez.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52937 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52937 changed 2026-06-17 | Public domain |