CVE-2023-53606
nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
Mitigation
- Upgrade Linux to 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f or later.
Who should check
- Anyone running Linux >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < fd63299db8090307eae66f2aef17c8f00aafa0a9; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < b3169b6ffe036b549c296a9e71591d29a1fb3209; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 75b8c681c563ef7e85da6862354efc18d2a08b1b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 8f565846fbe8182961498d4cbe618b15076a683b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f
- Anyone running Linux 4.20
Vulnerability facts
- Affected
- Linux >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < fd63299db8090307eae66f2aef17c8f00aafa0a9; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < b3169b6ffe036b549c296a9e71591d29a1fb3209; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 75b8c681c563ef7e85da6862354efc18d2a08b1b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 8f565846fbe8182961498d4cbe618b15076a683b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f; Linux 4.20
- Fixed in
- Linux 75b8c681c563ef7e85da6862354efc18d2a08b1b, Linux 8f565846fbe8182961498d4cbe618b15076a683b, Linux 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < fd63299db8090307eae66f2aef17c8f00aafa0a9; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < b3169b6ffe036b549c296a9e71591d29a1fb3209; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 75b8c681c563ef7e85da6862354efc18d2a08b1b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 8f565846fbe8182961498d4cbe618b15076a683b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f | — | cvelist |
| Linux | 4.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53606. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53606.md Affected: Linux >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < fd63299db8090307eae66f2aef17c8f00aafa0a9; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < b3169b6ffe036b549c296a9e71591d29a1fb3209; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 75b8c681c563ef7e85da6862354efc18d2a08b1b; >= e0639dc5805a9d4faaa2c07… Fixed in: Linux 75b8c681c563ef7e85da6862354efc18d2a08b1b, Linux 8f565846fbe8182961498d4cbe618b15076a683b, Linux 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/fd63299db8090307eae66f2aef17c8f00aafa0a9
- https://git.kernel.org/stable/c/b3169b6ffe036b549c296a9e71591d29a1fb3209
- https://git.kernel.org/stable/c/75b8c681c563ef7e85da6862354efc18d2a08b1b
- https://git.kernel.org/stable/c/8f565846fbe8182961498d4cbe618b15076a683b
- https://git.kernel.org/stable/c/6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f
FAQ
Is CVE-2023-53606 being exploited?
There is no confirmed exploitation: CVE-2023-53606 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53606?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-53606?
Linux >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < fd63299db8090307eae66f2aef17c8f00aafa0a9; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < b3169b6ffe036b549c296a9e71591d29a1fb3209; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 75b8c681c563ef7e85da6862354efc18d2a08b1b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 8f565846fbe8182961498d4cbe618b15076a683b; >= e0639dc5805a9d4faaa2c07ad98fa853b9529dd3, < 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f; Linux 4.20.
Is there a fix for CVE-2023-53606?
Yes. Fixed in Linux 75b8c681c563ef7e85da6862354efc18d2a08b1b, Linux 8f565846fbe8182961498d4cbe618b15076a683b, Linux 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f. Upgrade Linux to 6ba434cb1a8d403ea9aad1b667c3ea3ad8b3191f or later.
How do I check if I'm affected by CVE-2023-53606?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.