CVE-2023-52936
JSON

5.5medium

kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: kernel/irq/irqdomain.c: 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 packageVersionsReported by
Linux Linuxfrom 69dd4503a7e6bae3389b8e028e5768008be8f2d7 before 066ecbf1a53eb0b92b10c8df7808666be6ea5681, from 69dd4503a7e6bae3389b8e028e5768008be8f2d7 before cf1c917bf1c761a557b26410024e90057646c049, from 69dd4503a7e6bae3389b8e028e5768008be8f2d7 before d83d7ed260283560700d4034a80baad46620481b, 5.12
Not affected: before 5.12, from 5.15.93 up to 5.15.*, from 6.1.11 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelbefore 5.15.93, from 5.16 before 6.1.11, 6.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

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: kernel/irq/irqdomain.c: 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: kernel/irq/irqdomain.c: se corrige la pérdida de memoria mediante el uso de debugfs_lookup(). Al llamar a debugfs_lookup(), se debe ejecutar dput() en el resultado; de lo contrario, la pérdida 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

SourceRecordLicence
CVE ListCVE-2023-52936 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52936 changed 2026-06-17Public domain