CVE-2026-99425 (GCVE-0-2026-99425)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:40 – Updated: 2026-11-23 08:02
VLAI
EPSS
VEX
Title
ovl: hold a reference on the parent in readdir
Summary
In the Linux kernel, the following vulnerability has been resolved:
ovl: hold a reference on the parent in readdir
Listing a directory on an overlay uses a freed dentry and crashes the
kernel when a lookup moves the directory at the same time.
Code that can sleep may only use d_parent without a reference while
something stops a move of the dentry. ovl_iterate_real(),
ovl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the
listed directory and hold only the lock of that directory. When a
lookup finds the directory under another parent after a change to a
layer, d_splice_alias() moves it without that lock and drops its
reference on the old parent.
With a delay in ovl_iterate_real(), getdents64 on an overlay directory
raced a rename in the lower layer and a lookup that moved its dentry,
and after an rmdir of the old parent KASAN reported a use-after-free in
security_inode_getattr().
Fix this by using dget_parent() in the three functions.
[amir: fix comments in ovl_need_adjust_d_ino()]
Severity
7.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < a23b702ca4799c0975424280c8124a091f818e22
(git)
Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 068d627b3dbc98389a71e382311382b122dfbc70 (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 7480571ee0444f281bb6f4f6702c87c107235bbc (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < c5bda25914a35bef4b9d01d047efefc8b828875e (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 862804fc1d8e6d11652d01f84451a0c9396d10cd (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 0759376aa01168edeec9319f9cc8e5e9b9388c5c (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea (git) Affected: b5efccbe0a12a9d5c65c1a60b4270837c7fdb900 , < 16d319e12328acafeafd3eecdf09c46d7fb43452 (git) |
|
| Linux | Linux |
Affected:
4.14
Unaffected: 0 , < 4.14 (semver) Unaffected: 5.10.275 , ≤ 5.10.* (semver) Unaffected: 5.15.226 , ≤ 5.15.* (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/overlayfs/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a23b702ca4799c0975424280c8124a091f818e22",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "068d627b3dbc98389a71e382311382b122dfbc70",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "7480571ee0444f281bb6f4f6702c87c107235bbc",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "c5bda25914a35bef4b9d01d047efefc8b828875e",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "862804fc1d8e6d11652d01f84451a0c9396d10cd",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "0759376aa01168edeec9319f9cc8e5e9b9388c5c",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "16d319e12328acafeafd3eecdf09c46d7fb43452",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/overlayfs/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.14"
},
{
"lessThan": "4.14",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.275",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "4.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "4.14",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\novl: hold a reference on the parent in readdir\n\nListing a directory on an overlay uses a freed dentry and crashes the\nkernel when a lookup moves the directory at the same time.\n\nCode that can sleep may only use d_parent without a reference while\nsomething stops a move of the dentry. ovl_iterate_real(),\novl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the\nlisted directory and hold only the lock of that directory. When a\nlookup finds the directory under another parent after a change to a\nlayer, d_splice_alias() moves it without that lock and drops its\nreference on the old parent.\n\nWith a delay in ovl_iterate_real(), getdents64 on an overlay directory\nraced a rename in the lower layer and a lookup that moved its dentry,\nand after an rmdir of the old parent KASAN reported a use-after-free in\nsecurity_inode_getattr().\n\nFix this by using dget_parent() in the three functions.\n\n[amir: fix comments in ovl_need_adjust_d_ino()]"
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - getdents64() reaches ovl_iterate_real() via iterate_dir() and ovl_dir_operations.iterate_shared. That function uses the listed directory\u0027s d_parent with no reference; d_splice_alias() in ovl_lookup() drops it after a rename of the lower directory, and a local rmdir frees the parent.\nAC:L - The attacker creates a merge parent and a lower-only child, then runs getdents64() on the child concurrently with a rename of that directory in the lower layer, a lookup that calls ovl_lookup() into d_splice_alias(), and rmdir of the old parent. vfs_getattr() keeps the raw parent pointer across ovl_getattr(), which can sleep.\nPR:L - The race needs read access to the overlay directory plus write access to the lower directory and to the old parent. overlayfs sets FS_USERNS_MOUNT, and clone_private_mount() accepts CAP_SYS_ADMIN in the mounter\u0027s user namespace, so an unprivileged user can mount this over a tmpfs they created.\nUI:N - The attacker mounts the overlay, calls getdents64() on the child, renames the lower directory, looks up the new path, and rmdirs the old parent. No other user has to mount media or open a file.\nS:U - The freed object is an overlay dentry in the caller\u0027s kernel dcache, consumed by security_inode_getattr() and ovl_getattr() in that same kernel. A successful exploit is kernel privilege escalation without a guest-to-host or IOMMU boundary.\nC:H - security_inode_getattr() reads d_inode from the freed parent, and ovl_getattr() follows that inode and the dentry\u0027s d_fsdata. After dentry_free() returns the object to the slab, reclaiming it supplies those pointers and the getattr walk reads kernel memory.\nI:H - ovl_cache_update() calls dget() on the stale d_parent, and lockref_get() writes that dentry\u0027s refcount. vfs_getattr_nosec() also calls inode-\u003ei_op-\u003egetattr through the freed dentry, so a reclaimed object is an indirect call.\nA:H - The fix commit records a KASAN use-after-free in security_inode_getattr() when ovl_iterate_real() calls vfs_getattr() on the parent after rmdir. That access faults on freed or poisoned dentry memory and crashes the kernel."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:02:36.895Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/a23b702ca4799c0975424280c8124a091f818e22"
},
{
"url": "https://git.kernel.org/stable/c/068d627b3dbc98389a71e382311382b122dfbc70"
},
{
"url": "https://git.kernel.org/stable/c/7480571ee0444f281bb6f4f6702c87c107235bbc"
},
{
"url": "https://git.kernel.org/stable/c/c5bda25914a35bef4b9d01d047efefc8b828875e"
},
{
"url": "https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd"
},
{
"url": "https://git.kernel.org/stable/c/0759376aa01168edeec9319f9cc8e5e9b9388c5c"
},
{
"url": "https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea"
},
{
"url": "https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452"
}
],
"title": "ovl: hold a reference on the parent in readdir",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99425",
"datePublished": "2026-11-19T14:40:28.722Z",
"dateReserved": "2026-09-25T10:25:14.414Z",
"dateUpdated": "2026-11-23T08:02:36.895Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99425",
"date": "2026-11-22",
"epss": "0.00176",
"percentile": "0.07162"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:11:12.000Z",
"cve": "CVE-2026-99425",
"id": "msrc_CVE-2026-99425",
"initial_release_date": "2026-11-21T01:11:12.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "ovl: hold a reference on the parent in readdir",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99425.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/overlayfs/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a23b702ca4799c0975424280c8124a091f818e22",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "068d627b3dbc98389a71e382311382b122dfbc70",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "7480571ee0444f281bb6f4f6702c87c107235bbc",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "c5bda25914a35bef4b9d01d047efefc8b828875e",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "862804fc1d8e6d11652d01f84451a0c9396d10cd",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "0759376aa01168edeec9319f9cc8e5e9b9388c5c",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
},
{
"lessThan": "16d319e12328acafeafd3eecdf09c46d7fb43452",
"status": "affected",
"version": "b5efccbe0a12a9d5c65c1a60b4270837c7fdb900",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/overlayfs/readdir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.14"
},
{
"lessThan": "4.14",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"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\novl: hold a reference on the parent in readdir\n\nListing a directory on an overlay uses a freed dentry and crashes the\nkernel when a lookup moves the directory at the same time.\n\nCode that can sleep may only use d_parent without a reference while\nsomething stops a move of the dentry. ovl_iterate_real(),\novl_need_adjust_d_ino() and ovl_cache_update() use the d_parent of the\nlisted directory and hold only the lock of that directory. When a\nlookup finds the directory under another parent after a change to a\nlayer, d_splice_alias() moves it without that lock and drops its\nreference on the old parent.\n\nWith a delay in ovl_iterate_real(), getdents64 on an overlay directory\nraced a rename in the lower layer and a lookup that moved its dentry,\nand after an rmdir of the old parent KASAN reported a use-after-free in\nsecurity_inode_getattr().\n\nFix this by using dget_parent() in the three functions.\n\n[amir: fix comments in ovl_need_adjust_d_ino()]"
}
],
"id": "CVE-2026-99425",
"lastModified": "2026-11-23T08:17:46.083",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T15:17:55.547",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/068d627b3dbc98389a71e382311382b122dfbc70"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0759376aa01168edeec9319f9cc8e5e9b9388c5c"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/16d319e12328acafeafd3eecdf09c46d7fb43452"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/73aae2a6b5b34b4ee5dbc7b008fc658c2a16fcea"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7480571ee0444f281bb6f4f6702c87c107235bbc"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/862804fc1d8e6d11652d01f84451a0c9396d10cd"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a23b702ca4799c0975424280c8124a091f818e22"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c5bda25914a35bef4b9d01d047efefc8b828875e"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-22T11:33:08+00:00",
"cve": "CVE-2026-99425",
"id": "CVE-2026-99425",
"initial_release_date": "2026-11-19T14:40:28.722000+00:00",
"product_status:known_affected": "190",
"product_status:known_not_affected": "14",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via use-after-free in OverlayFS directory listing",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99425.json",
"version": "3"
}
}
}
Loading…
Loading…
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.
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.
Loading…