CVE-2023-53606nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
- 7.5HighCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 79% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: clean up potential nfsd_file refcount leaks in COPY codepath There are two different flavors of the nfsd4_copy struct. One is embedded in the compound and is used directly in synchronous copies. The other is dynamically allocated, refcounted and tracked in the client struture. For the embedded one, the cleanup just involves releasing any nfsd_files held on its behalf. For the async one, the cleanup is a bit more involved, and we need to dequeue it from lists, unhash it, etc. There is at least one potential refcount leak in this code now. If the kthread_create call fails, then both the src and dst nfsd_files in the original nfsd4_copy object are leaked. The cleanup in this codepath is also sort of weird. In the async copy case, we'll have up to four nfsd_file references (src and dst for both flavors of copy structure). They are both put at the end of nfsd4_do_async_copy, even though the ones held on behalf of the embedded one outlive that structure. Change it so that we always clean up the nfsd_file refs held by the embedded copy structure before nfsd4_copy returns. Rework cleanup_async_copy to handle both inter and intra copies. Eliminate nfsd4_cleanup_intra_ssc since it now becomes a no-op.
Timeline
ID reserved
By Linux
Published
- 13 months later
· 13 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.29% · top 79% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected e0639dc5805a9d4faaa2c07ad98fa853b9529dd3 – < fd63299db8090307eae66f2aef17c8f00aafa0a9
- affected e0639dc5805a9d4faaa2c07ad98fa853b9529dd3 – < b3169b6ffe036b549c296a9e71591d29a1fb3209
- affected e0639dc5805a9d4faaa2c07ad98fa853b9529dd3 – < 75b8c681c563ef7e85da6862354efc18d2a08b1b
- affected e0639dc5805a9d4faaa2c07ad98fa853b9529dd3 – < 8f565846fbe8182961498d4cbe618b15076a683b
- affected e0639dc5805a9d4faaa2c07ad98fa853b9529dd3 – < 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f
- affected 4.20
- unaffected < 4.20
- unaffected 5.10.220 – ≤ 5.10.*
- unaffected 5.15.154 – ≤ 5.15.*
- unaffected 6.1.16 – ≤ 6.1.*
- unaffected 6.2.3 – ≤ 6.2.*
- unaffected 6.3 – ≤ *
References
References5
- https://git.kernel.org/stable/c/fd63299db8090307eae66f2aef17c8f00aafa0a9 (opens in a new tab)
- https://git.kernel.org/stable/c/b3169b6ffe036b549c296a9e71591d29a1fb3209 (opens in a new tab)
- https://git.kernel.org/stable/c/75b8c681c563ef7e85da6862354efc18d2a08b1b (opens in a new tab)
- https://git.kernel.org/stable/c/8f565846fbe8182961498d4cbe618b15076a683b (opens in a new tab)
- https://git.kernel.org/stable/c/6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-32260 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53606)Record last updated .