kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.93, 6.1.11
- CVEs
- CVE-2023-52936
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 07:40 UTC · Revision 1
Source evidence
kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
core-osv · Original sourcePublished 27 Mar 2025, 16:37 UTC
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.
osv:CVE-2023-52936
Kernel
Fixed versions: 5.15.93, 6.1.11
Complete source record
{
"id": "af15cbefba2b77c54a66805ed17890e14b6720fd51f4e5a9b386d01735b7e9f0",
"url": "https://osv.dev/vulnerability/CVE-2023-52936",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()",
"summary": "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.",
"evidence": "osv:CVE-2023-52936",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.93",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2023-52936",
"aliases": [
"CVE-2023-52936"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "69dd4503a7e6bae3389b8e028e5768008be8f2d7"
},
{
"fixed": "066ecbf1a53eb0b92b10c8df7808666be6ea5681"
},
{
"fixed": "cf1c917bf1c761a557b26410024e90057646c049"
},
{
"fixed": "d83d7ed260283560700d4034a80baad46620481b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52936.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.12.0"
},
{
"fixed": "5.15.93"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52936.json"
}
}
],
"modified": "2026-10-28T02:30:50.215574060Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/066ecbf1a53eb0b92b10c8df7808666be6ea5681",
"https://git.kernel.org/stable/c/cf1c917bf1c761a557b26410024e90057646c049",
"https://git.kernel.org/stable/c/d83d7ed260283560700d4034a80baad46620481b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52936.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52936",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52936.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52936",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518662,
"published_at": "2025-03-27T16:37:16.13+00:00"
}