nfsd: Fix error cleanup path in nfsd_rename()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.8.5
- CVEs
- CVE-2024-35914
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 07:50 UTC · Revision 1
Source evidence
nfsd: Fix error cleanup path in nfsd_rename()
core-osv · Original sourcePublished 19 May 2024, 08:35 UTC
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.
osv:CVE-2024-35914
Kernel
Fixed versions: 6.8.5
Complete source record
{
"id": "2311cbf7bf51a1e72d8958eeeaa930111e910aeb16071745dcd901b255274eb0",
"url": "https://osv.dev/vulnerability/CVE-2024-35914",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "nfsd: Fix error cleanup path in nfsd_rename()",
"summary": "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.",
"evidence": "osv:CVE-2024-35914",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.8.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-35914",
"aliases": [
"CVE-2024-35914"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a8b0026847b8c43445c921ad2c85521c92eb175f"
},
{
"fixed": "331e125e02c08ffaecc1074af78a988a278039bd"
},
{
"fixed": "9fe6e9e7b58944037714442384075c17cfde1c56"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35914.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.8.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35914.json"
}
}
],
"modified": "2026-10-28T02:30:50.526004451Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/331e125e02c08ffaecc1074af78a988a278039bd",
"https://git.kernel.org/stable/c/9fe6e9e7b58944037714442384075c17cfde1c56",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35914.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-35914",
"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/2024/35xxx/CVE-2024-35914.json"
}
},
"related_cves": [
{
"value": "CVE-2024-35914",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518680,
"published_at": "2024-05-19T08:35:07.367+00:00"
}