CVE-2023-53346
published medium CVSS 3.1 · 5.5kernel/fail_function: fix memory leak with using debugfs_lookup()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < f6d3aee1c66358471275df9dddd480010f061b0e · 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < dd9981a11d74ff2eb253bb5c459876f8bd3c6c36 · 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < bb99db06b8b6ce9351633fc61bec9919d8f6f52b · 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 29d53c4c5a6f6d2b93aaac95b65cb4c907faf2ff · 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 94f68f3e059c478e240f65fcb64746fe371295df · 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 2bb3669f576559db273efe49e0e69f82450efbca · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 5.4.235 through 5.4.* (unaffected · semver) · 5.10.173 through 5.10.* (unaffected · semver) · 5.15.100 through 5.15.* (unaffected · semver) · 6.1.18 through 6.1.* (unaffected · semver) · 6.2.5 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: kernel/fail_function: 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < f6d3aee1c66358471275df9dddd480010f061b0e (affected · git)4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < dd9981a11d74ff2eb253bb5c459876f8bd3c6c36 (affected · git)4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < bb99db06b8b6ce9351633fc61bec9919d8f6f52b (affected · git)4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 29d53c4c5a6f6d2b93aaac95b65cb4c907faf2ff (affected · git)4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 94f68f3e059c478e240f65fcb64746fe371295df (affected · git)4b1a29a7f5425d32640b34b8a755f34e02f64d0f to < 2bb3669f576559db273efe49e0e69f82450efbca (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)5.4.235 through 5.4.* (unaffected · semver)5.10.173 through 5.10.* (unaffected · semver)5.15.100 through 5.15.* (unaffected · semver)6.1.18 through 6.1.* (unaffected · semver)6.2.5 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
6- https://git.kernel.org/stable/c/29d53c4c5a6f6d2b93aaac95b65cb4c907faf2ff
- https://git.kernel.org/stable/c/2bb3669f576559db273efe49e0e69f82450efbca
- https://git.kernel.org/stable/c/94f68f3e059c478e240f65fcb64746fe371295df
- https://git.kernel.org/stable/c/bb99db06b8b6ce9351633fc61bec9919d8f6f52b
- https://git.kernel.org/stable/c/dd9981a11d74ff2eb253bb5c459876f8bd3c6c36
- https://git.kernel.org/stable/c/f6d3aee1c66358471275df9dddd480010f061b0e
Provider assertions
2Linux · cna
kernel/fail_function: fix memory leak with using debugfs_lookup()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 464c56d4c9baec7a33192034b6c7a3179426502bc74582071e130db93b5a5d36
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record