CVE-2026-98984 (GCVE-0-2026-98984)
Vulnerability from cvelistv5 – Published: 2026-10-23 12:20 – Updated: 2026-10-23 12:20
VLAI
EPSS
VEX
Title
dcache: don't put a mountpoint on a dentry that's being removed
Summary
In the Linux kernel, the following vulnerability has been resolved:
dcache: don't put a mountpoint on a dentry that's being removed
rmdir(), unlink() and rename() call dont_mount() on the victim and then
detach_mounts() with the victim's inode locked. do_lock_mount() takes
the inode lock of the mountpoint and checks cant_mount() so a mount
can't show up after detach_mounts().
But attach_recursive_mnt() makes a second mountpoint for the root of the
source mount so that the mounts already located at the destination can
be put on top of it. No inode is locked for that one and d_set_mounted()
only refuses a dentry that is unlinked. Between detach_mounts() and
d_delete() the victim is still hashed:
rmrace: b passed dont_mount() and detach_mounts(), sleeping
T2: move_mount(S, /tmp/plcant/x, BENEATH) = 0 errno 0 ()
T1: rmdir(/tmp/plcant/d/b) = 0 errno 0
109 107 0:61 /d/b//deleted /tmp/plcant/x rw,relatime - tmpfs tmpfs rw
108 109 0:63 / /tmp/plcant/x rw,relatime - tmpfs T rw
A bind mount of the directory that's being removed is moved beneath an
existing mount while the rmdir() is located between the two calls. The
mount ends up on the removed directory and nothing will ever detach it.
Check cant_mount() in d_set_mounted() as well. dont_mount() raises the
flag under d_lock before detach_mounts() runs so either the mountpoint
is set first and detach_mounts() finds the mount or the flag is seen and
the mount is refused.
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
1064f874abc0d05eeed8993815f584d847b72486 , < 5e6bfd9f249f2c74bb63c0f06ad959da3bee0971
(git)
Affected: 1064f874abc0d05eeed8993815f584d847b72486 , < 793cb67b0f52d00c67bd0e76bc57455b5c70ebb8 (git) Affected: 1064f874abc0d05eeed8993815f584d847b72486 , < 390ddcea2a8aca411b931a8e2863a80ccca8d2b3 (git) Affected: 1064f874abc0d05eeed8993815f584d847b72486 , < 30a1625022411a387cce9239408ece9955bc9c58 (git) Affected: 1064f874abc0d05eeed8993815f584d847b72486 , < 75f4197f1e11d2eb75c2d6f916a7d4764db621e5 (git) Affected: 5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf (git) Affected: 839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7 (git) Affected: 808e83e5add13152bd4a88346487de68395c136b (git) Affected: 6de9d08a9718ee9c12ba6343c50141c2d633e3dc (git) Affected: 4.1.40 , < 4.2 (semver) Affected: 4.4.54 , < 4.5 (semver) Affected: 4.9.15 , < 4.10 (semver) Affected: 4.10.3 , < 4.11 (semver) |
guessed | |
| Linux | Linux |
Affected:
4.11
Unaffected: 0 , < 4.11 (semver) Unaffected: 6.6.160 , ≤ 6.6.* (semver) Unaffected: 6.12.113 , ≤ 6.12.* (semver) Unaffected: 6.18.57 , ≤ 6.18.* (semver) Unaffected: 7.2.11 , ≤ 7.2.* (semver) Unaffected: 7.3 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/dcache.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "5e6bfd9f249f2c74bb63c0f06ad959da3bee0971",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "793cb67b0f52d00c67bd0e76bc57455b5c70ebb8",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "390ddcea2a8aca411b931a8e2863a80ccca8d2b3",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "30a1625022411a387cce9239408ece9955bc9c58",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "75f4197f1e11d2eb75c2d6f916a7d4764db621e5",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"status": "affected",
"version": "5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf",
"versionType": "git"
},
{
"status": "affected",
"version": "839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7",
"versionType": "git"
},
{
"status": "affected",
"version": "808e83e5add13152bd4a88346487de68395c136b",
"versionType": "git"
},
{
"status": "affected",
"version": "6de9d08a9718ee9c12ba6343c50141c2d633e3dc",
"versionType": "git"
},
{
"lessThan": "4.2",
"status": "affected",
"version": "4.1.40",
"versionType": "semver"
},
{
"lessThan": "4.5",
"status": "affected",
"version": "4.4.54",
"versionType": "semver"
},
{
"lessThan": "4.10",
"status": "affected",
"version": "4.9.15",
"versionType": "semver"
},
{
"lessThan": "4.11",
"status": "affected",
"version": "4.10.3",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/dcache.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.11"
},
{
"lessThan": "4.11",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.160",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.113",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.57",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.11",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.1.40",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4.54",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndcache: don\u0027t put a mountpoint on a dentry that\u0027s being removed\n\nrmdir(), unlink() and rename() call dont_mount() on the victim and then\ndetach_mounts() with the victim\u0027s inode locked. do_lock_mount() takes\nthe inode lock of the mountpoint and checks cant_mount() so a mount\ncan\u0027t show up after detach_mounts().\n\nBut attach_recursive_mnt() makes a second mountpoint for the root of the\nsource mount so that the mounts already located at the destination can\nbe put on top of it. No inode is locked for that one and d_set_mounted()\nonly refuses a dentry that is unlinked. Between detach_mounts() and\nd_delete() the victim is still hashed:\n\n rmrace: b passed dont_mount() and detach_mounts(), sleeping\n T2: move_mount(S, /tmp/plcant/x, BENEATH) = 0 errno 0 ()\n T1: rmdir(/tmp/plcant/d/b) = 0 errno 0\n 109 107 0:61 /d/b//deleted /tmp/plcant/x rw,relatime - tmpfs tmpfs rw\n 108 109 0:63 / /tmp/plcant/x rw,relatime - tmpfs T rw\n\nA bind mount of the directory that\u0027s being removed is moved beneath an\nexisting mount while the rmdir() is located between the two calls. The\nmount ends up on the removed directory and nothing will ever detach it.\n\nCheck cant_mount() in d_set_mounted() as well. dont_mount() raises the\nflag under d_lock before detach_mounts() runs so either the mountpoint\nis set first and detach_mounts() finds the mount or the flag is seen and\nthe mount is refused."
}
],
"providerMetadata": {
"dateUpdated": "2026-10-23T12:20:02.285Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/5e6bfd9f249f2c74bb63c0f06ad959da3bee0971"
},
{
"url": "https://git.kernel.org/stable/c/793cb67b0f52d00c67bd0e76bc57455b5c70ebb8"
},
{
"url": "https://git.kernel.org/stable/c/390ddcea2a8aca411b931a8e2863a80ccca8d2b3"
},
{
"url": "https://git.kernel.org/stable/c/30a1625022411a387cce9239408ece9955bc9c58"
},
{
"url": "https://git.kernel.org/stable/c/75f4197f1e11d2eb75c2d6f916a7d4764db621e5"
}
],
"title": "dcache: don\u0027t put a mountpoint on a dentry that\u0027s being removed",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-98984",
"datePublished": "2026-10-23T12:20:02.285Z",
"dateReserved": "2026-09-25T10:25:14.384Z",
"dateUpdated": "2026-10-23T12:20:02.285Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/dcache.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "5e6bfd9f249f2c74bb63c0f06ad959da3bee0971",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "793cb67b0f52d00c67bd0e76bc57455b5c70ebb8",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "390ddcea2a8aca411b931a8e2863a80ccca8d2b3",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "30a1625022411a387cce9239408ece9955bc9c58",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"lessThan": "75f4197f1e11d2eb75c2d6f916a7d4764db621e5",
"status": "affected",
"version": "1064f874abc0d05eeed8993815f584d847b72486",
"versionType": "git"
},
{
"status": "affected",
"version": "5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf",
"versionType": "git"
},
{
"status": "affected",
"version": "839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7",
"versionType": "git"
},
{
"status": "affected",
"version": "808e83e5add13152bd4a88346487de68395c136b",
"versionType": "git"
},
{
"status": "affected",
"version": "6de9d08a9718ee9c12ba6343c50141c2d633e3dc",
"versionType": "git"
},
{
"lessThan": "4.2",
"status": "affected",
"version": "4.1.40",
"versionType": "semver"
},
{
"lessThan": "4.5",
"status": "affected",
"version": "4.4.54",
"versionType": "semver"
},
{
"lessThan": "4.10",
"status": "affected",
"version": "4.9.15",
"versionType": "semver"
},
{
"lessThan": "4.11",
"status": "affected",
"version": "4.10.3",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/dcache.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.11"
},
{
"lessThan": "4.11",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndcache: don\u0027t put a mountpoint on a dentry that\u0027s being removed\n\nrmdir(), unlink() and rename() call dont_mount() on the victim and then\ndetach_mounts() with the victim\u0027s inode locked. do_lock_mount() takes\nthe inode lock of the mountpoint and checks cant_mount() so a mount\ncan\u0027t show up after detach_mounts().\n\nBut attach_recursive_mnt() makes a second mountpoint for the root of the\nsource mount so that the mounts already located at the destination can\nbe put on top of it. No inode is locked for that one and d_set_mounted()\nonly refuses a dentry that is unlinked. Between detach_mounts() and\nd_delete() the victim is still hashed:\n\n rmrace: b passed dont_mount() and detach_mounts(), sleeping\n T2: move_mount(S, /tmp/plcant/x, BENEATH) = 0 errno 0 ()\n T1: rmdir(/tmp/plcant/d/b) = 0 errno 0\n 109 107 0:61 /d/b//deleted /tmp/plcant/x rw,relatime - tmpfs tmpfs rw\n 108 109 0:63 / /tmp/plcant/x rw,relatime - tmpfs T rw\n\nA bind mount of the directory that\u0027s being removed is moved beneath an\nexisting mount while the rmdir() is located between the two calls. The\nmount ends up on the removed directory and nothing will ever detach it.\n\nCheck cant_mount() in d_set_mounted() as well. dont_mount() raises the\nflag under d_lock before detach_mounts() runs so either the mountpoint\nis set first and detach_mounts() finds the mount or the flag is seen and\nthe mount is refused."
}
],
"id": "CVE-2026-98984",
"lastModified": "2026-10-23T13:17:20.287",
"metrics": {},
"published": "2026-10-23T13:17:20.287",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/30a1625022411a387cce9239408ece9955bc9c58"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/390ddcea2a8aca411b931a8e2863a80ccca8d2b3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5e6bfd9f249f2c74bb63c0f06ad959da3bee0971"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/75f4197f1e11d2eb75c2d6f916a7d4764db621e5"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/793cb67b0f52d00c67bd0e76bc57455b5c70ebb8"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
}
}
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.