CVE-2024-35914
published high CVSS 3.1 · 7.5nfsd: Fix error cleanup path in nfsd_rename()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa8b0026847b8c43445c921ad2c85521c92eb175f to < 331e125e02c08ffaecc1074af78a988a278039bd · a8b0026847b8c43445c921ad2c85521c92eb175f to < 9fe6e9e7b58944037714442384075c17cfde1c56 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 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 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.188.1 | SUSE-SU-2024:1979-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_219-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.219.1 | SUSE-SU-2024:2184-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.188.1 | SUSE-SU-2024:1983-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaults390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaults390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | dlm-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultaarch64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaults390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | gfs2-kmp-defaultx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultaarch64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaults390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-defaultx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseaarch64 | Advisory build | 5.3.18-150200.24.194.1.150200.9.99.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-baseppc64le | Advisory build | 5.3.18-150200.24.194.1.150200.9.99.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-bases390x | Advisory build | 5.3.18-150200.24.194.1.150200.9.99.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-basex86_64 | Advisory build | 5.3.18-150200.24.194.1.150200.9.99.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develaarch64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-devels390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-develx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchs390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatchx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develppc64le | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-devels390x | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-default-livepatch-develx86_64 | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-develnoarch | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-docsnoarch | Advisory build | 5.3.18-150200.24.194.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_194-defaultppc64le | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_194-defaults390x | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:2183-1 |
| SUSE / openSUSE | SLE-15-SP2 | kernel-livepatch-5_3_18-150200_24_194-defaultx86_64 | Advisory build | 1-150200.5.3.1 | SUSE-SU-2024:2183-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix error cleanup path in nfsd_rename() Commit a8b0026847b8 ("rename(): avoid a deadlock in the case of parents having no common ancestor") added an error bail out path. However this path does not drop the remount protection that has been acquired. Fix the cleanup path to properly drop the remount protection.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable code is in the in-kernel NFS server (nfsd) and is reached purely by sending an NFSv2/v3 RENAME RPC or an NFSv4 COMPOUND containing RENAME over TCP/2049. No local access to the server is needed. AC:L - The remote client supplies both directory filehandles itself and can retry the request an unbounded number of times; nfsd explicitly tolerates DCACHE_DISCONNECTED directory dentries (it only warns), so the lock_rename() -EXDEV bail-out is reachable from client-controlled input rather than depending on a condition the attacker cannot influence. PR:N - With the standard AUTH_SYS/AUTH_UNIX export configuration nfsd performs no cryptographic authentication — the client asserts its own uid/gid, so the fh_verify() NFSD_MAY_REMOVE/NFSD_MAY_CREATE checks are satisfied by a self-declared identity. Any host permitted by the export list can trigger it with no privileges on the server. UI:N - The attacking NFS client drives the entire sequence itself by issuing RENAME requests; no administrator or user action on the server is required. S:U - The leaked mnt_want_write()/sb_start_write() reference affects only the exported filesystem within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:N - The defect is an unbalanced mount write-access/freeze-protection reference on an error path; no memory is read out of bounds, no kernel pointer or file content is exposed, and the rename itself never executes. I:N - Nothing is written or modified — the operation fails with NFS3ERR_XDEV/NFSERR_ACCES and returns; there is no memory corruption or arbitrary-write primitive of any kind. A:H - The error path returns while still holding the export's remount/freeze protection, and a remote client can drive it repeatedly across concurrent connections to keep write references pinned on the exported filesystem, indefinitely stalling fsfreeze and remount-read-only (snapshot/backup) operations on that mount.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a8b0026847b8c43445c921ad2c85521c92eb175f to < 331e125e02c08ffaecc1074af78a988a278039bd (affected · git)a8b0026847b8c43445c921ad2c85521c92eb175f to < 9fe6e9e7b58944037714442384075c17cfde1c56 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
nfsd: Fix error cleanup path in nfsd_rename()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f00e1f4e0a705dd68ce98a5f197121abca91a4a2edea5855037ca60ab7fd57b9
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record