tty: pcn_uart: fix memory leak with using debugfs_lookup()
In the Linux kernel, the following vulnerability has been resolved: tty: pcn_uart: 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.100, 6.1.18, 6.2.5
- CVEs
- CVE-2023-53173
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:47 UTC · Revision 1
Source evidence
tty: pcn_uart: fix memory leak with using debugfs_lookup()
core-osv · Original sourcePublished 15 Sept 2025, 14:04 UTC
In the Linux kernel, the following vulnerability has been resolved: tty: pcn_uart: 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-53173
Kernel
Fixed versions: 5.15.100, 6.1.18, 6.2.5
Complete source record
{
"id": "0a82298cfc9503db56baf316bb7023b61dd2a6721fbfe5ab862e9606191fac1d",
"url": "https://osv.dev/vulnerability/CVE-2023-53173",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "tty: pcn_uart: fix memory leak with using debugfs_lookup()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: tty: pcn_uart: 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-53173",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.100",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.18",
"evidence": "/affected/1/ranges"
},
{
"value": "6.2.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-53173",
"aliases": [
"CVE-2023-53173"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4dec5f1af694526db760dfbb47211236e556e27c"
},
{
"fixed": "cf042964c2fa72950bbbf25b2cdd732b873e89db"
},
{
"fixed": "4459d1e7bd0421b3b6fcd745773d8823f71615ef"
},
{
"fixed": "139769c4bd8273b5e3f85ea474aa37018fe7e436"
},
{
"fixed": "04a189c720aa2b6091442113ce9b9bc93552dff8"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53173.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.13.0"
},
{
"fixed": "5.15.100"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.18"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53173.json"
}
}
],
"modified": "2026-10-28T02:30:30.097193901Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/04a189c720aa2b6091442113ce9b9bc93552dff8",
"https://git.kernel.org/stable/c/139769c4bd8273b5e3f85ea474aa37018fe7e436",
"https://git.kernel.org/stable/c/4459d1e7bd0421b3b6fcd745773d8823f71615ef",
"https://git.kernel.org/stable/c/cf042964c2fa72950bbbf25b2cdd732b873e89db",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53173.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53173",
"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/53xxx/CVE-2023-53173.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53173",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 496984,
"published_at": "2025-09-15T14:04:07.411+00:00"
}