CVE-2026-99429 (GCVE-0-2026-99429)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:40 – Updated: 2026-11-23 08:02
VLAI
EPSS
VEX
Title
ocfs2: pin refcount trees before dropping the lookup lock
Summary
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: pin refcount trees before dropping the lookup lock
A refcount tree returned to ocfs2_lock_refcount_tree() must stay alive
until that caller releases its operation reference. However,
ocfs2_get_refcount_tree() returns the cached pointer after dropping
osb_lock, and the caller only takes its kref afterwards. The registry
reference does not protect this gap from concurrent removal.
This can happen when another node frees a refcount root and reuses its
block with a different generation while this mount retains the old
cached tree. Two local operations on different inodes sharing the new
root, such as data CoW and an external xattr update, can then look up
the same stale tree. Their inode locks are independent, and both the
REFCOUNT DLM lock and rf_sem are acquired after the first operation
reference.
The following ordering is possible, with no other operation references:
Data CoW Xattr update
-------- ------------
Look up the old tree under
osb_lock, then drop osb_lock
Look up the same tree and take a kref
Acquire the tree locks and read the
new on-disk generation
Erase the old tree under osb_lock
Unlock and drop the operation kref
Drop the registry kref, freeing tree
Take a kref through the
freed tree pointer
The final kref_get() accesses freed rf_getcnt storage, and subsequent
accesses in ocfs2_lock_refcount_tree() also use the freed allocation.
Take the operation reference in ocfs2_get_refcount_tree() before
releasing osb_lock, including when an insertion loses to another lookup.
Removal must acquire the same lock, so it cannot drop the registry
reference before the lookup has pinned the tree. Keep the existing
unlock and error path puts. The two callers that already hold the
refcount tree lock keep their borrowed lookup behavior and do not
acquire an extra reference.
KASAN report as below:
BUG: KASAN: slab-use-after-free in ocfs2_lock_refcount_tree+0x94a/0x9b0
Read of size 4 at addr ffff888117212820 by task python3/497
[Kernel and hardware identification omitted.]
Call Trace:
<TASK>
dump_stack_lvl+0x93/0xd0
print_report+0xce/0x630
? ocfs2_lock_refcount_tree+0x94a/0x9b0
? srso_alias_return_thunk+0x5/0xfbef5
? __virt_addr_valid+0x20e/0x420
? ocfs2_lock_refcount_tree+0x94a/0x9b0
kasan_report+0xe0/0x110
? ocfs2_lock_refcount_tree+0x94a/0x9b0
ocfs2_lock_refcount_tree+0x94a/0x9b0
? __pfx_ocfs2_lock_refcount_tree+0x10/0x10
? srso_alias_return_thunk+0x5/0xfbef5
? ocfs2_refcount_cow+0x3b6/0xd90
? srso_alias_return_thunk+0x5/0xfbef5
? __kmalloc_cache_noprof+0x28d/0x610
? ocfs2_refcount_cow+0x3b6/0xd90
ocfs2_refcount_cow+0x410/0xd90
? __pfx_ocfs2_refcount_cow+0x10/0x10
? __pfx___might_resched+0x10/0x10
? down_write+0x11a/0x1f0
? __pfx_down_write+0x10/0x10
? ocfs2_inode_unlock+0x1a9/0x260
? __pfx_ocfs2_inode_unlock+0x10/0x10
? ocfs2_file_write_iter+0x1413/0x1d30
ocfs2_file_write_iter+0x157b/0x1d30
? __pfx_ocfs2_file_write_iter+0x10/0x10
? lock_acquire+0x190/0x300
? __x64_sys_pwrite64+0x1b7/0x220
? __pfx___might_resched+0x10/0x10
? srso_alias_return_thunk+0x5/0xfbef5
? security_file_permission+0x26/0x80
? srso_alias_return_thunk+0x5/0xfbef5
? lock_is_held_type+0x8f/0x100
vfs_write+0x639/0x1010
? __pfx_ocfs2_file_write_iter+0x10/0x10
? lock_vma_under_rcu+0x154/0x4a0
? __pfx_vfs_write+0x10/0x10
? lock_release+0x121/0x290
? srso_alias_return_thunk+0x5/0xfbef5
__x64_sys_pwrite64+0x1b7/0x220
? __pfx___x64_sys_pwrite64+0x10/0x10
? irqentry_exit+0xbe/0x820
---truncated---
Severity
7.8 (High)
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
374a263e790c4de85844283c098810a92985f623 , < 86b7a6e80104f714cd354d36c4c8a124ea8e05b1
(git)
Affected: 374a263e790c4de85844283c098810a92985f623 , < 4e824bf75ce260951433bb22d33f1179d5a3d2fd (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < c873a7a67cd8d8a26f4ce4a830deb3748e7439d9 (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < 4720f762623680e36d2241cf4d113cf0318c0cf9 (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < ce7b46556af15642a1e9f8d0c596022dd7cfb4a7 (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < 7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < 2d9e864c234469dc7f56ea974f8269d251441e6a (git) Affected: 374a263e790c4de85844283c098810a92985f623 , < 8c714a074074af7ae59233c1fa6ef9d7aa710462 (git) |
|
| Linux | Linux |
Affected:
2.6.32
Unaffected: 0 , < 2.6.32 (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/ocfs2/refcounttree.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "86b7a6e80104f714cd354d36c4c8a124ea8e05b1",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "4e824bf75ce260951433bb22d33f1179d5a3d2fd",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "c873a7a67cd8d8a26f4ce4a830deb3748e7439d9",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "4720f762623680e36d2241cf4d113cf0318c0cf9",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "ce7b46556af15642a1e9f8d0c596022dd7cfb4a7",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "2d9e864c234469dc7f56ea974f8269d251441e6a",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "8c714a074074af7ae59233c1fa6ef9d7aa710462",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/ocfs2/refcounttree.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.32"
},
{
"lessThan": "2.6.32",
"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": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "2.6.32",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "2.6.32",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: pin refcount trees before dropping the lookup lock\n\nA refcount tree returned to ocfs2_lock_refcount_tree() must stay alive\nuntil that caller releases its operation reference. However,\nocfs2_get_refcount_tree() returns the cached pointer after dropping\nosb_lock, and the caller only takes its kref afterwards. The registry\nreference does not protect this gap from concurrent removal.\n\nThis can happen when another node frees a refcount root and reuses its\nblock with a different generation while this mount retains the old\ncached tree. Two local operations on different inodes sharing the new\nroot, such as data CoW and an external xattr update, can then look up\nthe same stale tree. Their inode locks are independent, and both the\nREFCOUNT DLM lock and rf_sem are acquired after the first operation\nreference.\n\nThe following ordering is possible, with no other operation references:\n\n Data CoW Xattr update\n -------- ------------\n Look up the old tree under\n osb_lock, then drop osb_lock\n Look up the same tree and take a kref\n Acquire the tree locks and read the\n new on-disk generation\n Erase the old tree under osb_lock\n Unlock and drop the operation kref\n Drop the registry kref, freeing tree\n Take a kref through the\n freed tree pointer\n\nThe final kref_get() accesses freed rf_getcnt storage, and subsequent\naccesses in ocfs2_lock_refcount_tree() also use the freed allocation.\n\nTake the operation reference in ocfs2_get_refcount_tree() before\nreleasing osb_lock, including when an insertion loses to another lookup.\nRemoval must acquire the same lock, so it cannot drop the registry\nreference before the lookup has pinned the tree. Keep the existing\nunlock and error path puts. The two callers that already hold the\nrefcount tree lock keep their borrowed lookup behavior and do not\nacquire an extra reference.\n\nKASAN report as below:\n\n BUG: KASAN: slab-use-after-free in ocfs2_lock_refcount_tree+0x94a/0x9b0\n Read of size 4 at addr ffff888117212820 by task python3/497\n\n[Kernel and hardware identification omitted.]\n\n Call Trace:\n \u003cTASK\u003e\n dump_stack_lvl+0x93/0xd0\n print_report+0xce/0x630\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? __virt_addr_valid+0x20e/0x420\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n kasan_report+0xe0/0x110\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n ocfs2_lock_refcount_tree+0x94a/0x9b0\n ? __pfx_ocfs2_lock_refcount_tree+0x10/0x10\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? ocfs2_refcount_cow+0x3b6/0xd90\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? __kmalloc_cache_noprof+0x28d/0x610\n ? ocfs2_refcount_cow+0x3b6/0xd90\n ocfs2_refcount_cow+0x410/0xd90\n ? __pfx_ocfs2_refcount_cow+0x10/0x10\n ? __pfx___might_resched+0x10/0x10\n ? down_write+0x11a/0x1f0\n ? __pfx_down_write+0x10/0x10\n ? ocfs2_inode_unlock+0x1a9/0x260\n ? __pfx_ocfs2_inode_unlock+0x10/0x10\n ? ocfs2_file_write_iter+0x1413/0x1d30\n ocfs2_file_write_iter+0x157b/0x1d30\n ? __pfx_ocfs2_file_write_iter+0x10/0x10\n ? lock_acquire+0x190/0x300\n ? __x64_sys_pwrite64+0x1b7/0x220\n ? __pfx___might_resched+0x10/0x10\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? security_file_permission+0x26/0x80\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? lock_is_held_type+0x8f/0x100\n vfs_write+0x639/0x1010\n ? __pfx_ocfs2_file_write_iter+0x10/0x10\n ? lock_vma_under_rcu+0x154/0x4a0\n ? __pfx_vfs_write+0x10/0x10\n ? lock_release+0x121/0x290\n ? srso_alias_return_thunk+0x5/0xfbef5\n __x64_sys_pwrite64+0x1b7/0x220\n ? __pfx___x64_sys_pwrite64+0x10/0x10\n ? irqentry_exit+0xbe/0x820\n---truncated---"
}
],
"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 - pwrite64 reaches the gap through ocfs2_file_write_iter, ocfs2_prepare_inode_for_write, ocfs2_refcount_cow, and ocfs2_lock_refcount_tree into ocfs2_get_refcount_tree, which drops osb_lock and returns the cached tree before kref_get of rf_getcnt. The freeing side is setxattr via ocfs2_xattr_user_set and ocfs2_xattr_set. The generation that causes the free is the on-disk rf_generation of the reused refcount block.\nAC:L - The attacker caches the tree on one node, then from the other node unlinks the last user so ocfs2_remove_refcount_tree frees the block and ocfs2_create_refcount_tree stores a new rf_generation when ocfs2_claim_metadata reuses it. On the caching node the attacker races pwrite and setxattr on two inodes whose inode locks are independent.\nPR:L - ocfs2_reflink_ioctl admits any caller who passes inode_permission MAY_WRITE|MAY_EXEC on the destination directory and MAY_READ on the source. The free is a user.* setxattr in ocfs2_xattr_user_set; xattr_permission allows that on a writable regular file.\nUI:N - The attacker creates the reflinked inodes and issues both pwrite64 and setxattr on the already-mounted cluster volume.\nS:U - The object freed by the generation-mismatch put in ocfs2_lock_refcount_tree is that mount\u0027s ocfs2_refcount_tree slab allocation, so the corruption remains in the same host kernel.\nC:H - kref_get touches the freed rf_getcnt, then ocfs2_refcount_lock walks the embedded rf_lockres and ocfs2_read_blocks calls through rf_ci.ci_ops, so a reclaim of the kmalloc-1k slot lets the attacker chase kernel pointers.\nI:H - On the freed ocfs2_refcount_tree, __ocfs2_lock_refcount_tree down_writes rf_sem and ocfs2_cluster_lock follows l_ops, and ocfs2_read_blocks calls ci_ops, so a sprayed 1024-byte object supplies a kernel write and a function-pointer call.\nA:H - The reported KASAN hit is a slab-use-after-free in ocfs2_lock_refcount_tree when kref_get uses the tree already freed by the setxattr path\u0027s generation-mismatch put, which oopses the kernel."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:02:41.340Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/86b7a6e80104f714cd354d36c4c8a124ea8e05b1"
},
{
"url": "https://git.kernel.org/stable/c/4e824bf75ce260951433bb22d33f1179d5a3d2fd"
},
{
"url": "https://git.kernel.org/stable/c/c873a7a67cd8d8a26f4ce4a830deb3748e7439d9"
},
{
"url": "https://git.kernel.org/stable/c/4720f762623680e36d2241cf4d113cf0318c0cf9"
},
{
"url": "https://git.kernel.org/stable/c/ce7b46556af15642a1e9f8d0c596022dd7cfb4a7"
},
{
"url": "https://git.kernel.org/stable/c/7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e"
},
{
"url": "https://git.kernel.org/stable/c/2d9e864c234469dc7f56ea974f8269d251441e6a"
},
{
"url": "https://git.kernel.org/stable/c/8c714a074074af7ae59233c1fa6ef9d7aa710462"
}
],
"title": "ocfs2: pin refcount trees before dropping the lookup lock",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99429",
"datePublished": "2026-11-19T14:40:51.812Z",
"dateReserved": "2026-09-25T10:25:14.414Z",
"dateUpdated": "2026-11-23T08:02:41.340Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99429",
"date": "2026-11-22",
"epss": "0.0021",
"percentile": "0.11157"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:11:48.000Z",
"cve": "CVE-2026-99429",
"id": "msrc_CVE-2026-99429",
"initial_release_date": "2026-11-21T01:11:48.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "ocfs2: pin refcount trees before dropping the lookup lock",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99429.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/ocfs2/refcounttree.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "86b7a6e80104f714cd354d36c4c8a124ea8e05b1",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "4e824bf75ce260951433bb22d33f1179d5a3d2fd",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "c873a7a67cd8d8a26f4ce4a830deb3748e7439d9",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "4720f762623680e36d2241cf4d113cf0318c0cf9",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "ce7b46556af15642a1e9f8d0c596022dd7cfb4a7",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "2d9e864c234469dc7f56ea974f8269d251441e6a",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
},
{
"lessThan": "8c714a074074af7ae59233c1fa6ef9d7aa710462",
"status": "affected",
"version": "374a263e790c4de85844283c098810a92985f623",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/ocfs2/refcounttree.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.32"
},
{
"lessThan": "2.6.32",
"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\nocfs2: pin refcount trees before dropping the lookup lock\n\nA refcount tree returned to ocfs2_lock_refcount_tree() must stay alive\nuntil that caller releases its operation reference. However,\nocfs2_get_refcount_tree() returns the cached pointer after dropping\nosb_lock, and the caller only takes its kref afterwards. The registry\nreference does not protect this gap from concurrent removal.\n\nThis can happen when another node frees a refcount root and reuses its\nblock with a different generation while this mount retains the old\ncached tree. Two local operations on different inodes sharing the new\nroot, such as data CoW and an external xattr update, can then look up\nthe same stale tree. Their inode locks are independent, and both the\nREFCOUNT DLM lock and rf_sem are acquired after the first operation\nreference.\n\nThe following ordering is possible, with no other operation references:\n\n Data CoW Xattr update\n -------- ------------\n Look up the old tree under\n osb_lock, then drop osb_lock\n Look up the same tree and take a kref\n Acquire the tree locks and read the\n new on-disk generation\n Erase the old tree under osb_lock\n Unlock and drop the operation kref\n Drop the registry kref, freeing tree\n Take a kref through the\n freed tree pointer\n\nThe final kref_get() accesses freed rf_getcnt storage, and subsequent\naccesses in ocfs2_lock_refcount_tree() also use the freed allocation.\n\nTake the operation reference in ocfs2_get_refcount_tree() before\nreleasing osb_lock, including when an insertion loses to another lookup.\nRemoval must acquire the same lock, so it cannot drop the registry\nreference before the lookup has pinned the tree. Keep the existing\nunlock and error path puts. The two callers that already hold the\nrefcount tree lock keep their borrowed lookup behavior and do not\nacquire an extra reference.\n\nKASAN report as below:\n\n BUG: KASAN: slab-use-after-free in ocfs2_lock_refcount_tree+0x94a/0x9b0\n Read of size 4 at addr ffff888117212820 by task python3/497\n\n[Kernel and hardware identification omitted.]\n\n Call Trace:\n \u003cTASK\u003e\n dump_stack_lvl+0x93/0xd0\n print_report+0xce/0x630\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? __virt_addr_valid+0x20e/0x420\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n kasan_report+0xe0/0x110\n ? ocfs2_lock_refcount_tree+0x94a/0x9b0\n ocfs2_lock_refcount_tree+0x94a/0x9b0\n ? __pfx_ocfs2_lock_refcount_tree+0x10/0x10\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? ocfs2_refcount_cow+0x3b6/0xd90\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? __kmalloc_cache_noprof+0x28d/0x610\n ? ocfs2_refcount_cow+0x3b6/0xd90\n ocfs2_refcount_cow+0x410/0xd90\n ? __pfx_ocfs2_refcount_cow+0x10/0x10\n ? __pfx___might_resched+0x10/0x10\n ? down_write+0x11a/0x1f0\n ? __pfx_down_write+0x10/0x10\n ? ocfs2_inode_unlock+0x1a9/0x260\n ? __pfx_ocfs2_inode_unlock+0x10/0x10\n ? ocfs2_file_write_iter+0x1413/0x1d30\n ocfs2_file_write_iter+0x157b/0x1d30\n ? __pfx_ocfs2_file_write_iter+0x10/0x10\n ? lock_acquire+0x190/0x300\n ? __x64_sys_pwrite64+0x1b7/0x220\n ? __pfx___might_resched+0x10/0x10\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? security_file_permission+0x26/0x80\n ? srso_alias_return_thunk+0x5/0xfbef5\n ? lock_is_held_type+0x8f/0x100\n vfs_write+0x639/0x1010\n ? __pfx_ocfs2_file_write_iter+0x10/0x10\n ? lock_vma_under_rcu+0x154/0x4a0\n ? __pfx_vfs_write+0x10/0x10\n ? lock_release+0x121/0x290\n ? srso_alias_return_thunk+0x5/0xfbef5\n __x64_sys_pwrite64+0x1b7/0x220\n ? __pfx___x64_sys_pwrite64+0x10/0x10\n ? irqentry_exit+0xbe/0x820\n---truncated---"
}
],
"id": "CVE-2026-99429",
"lastModified": "2026-11-23T08:17:46.680",
"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:56.087",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/2d9e864c234469dc7f56ea974f8269d251441e6a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/4720f762623680e36d2241cf4d113cf0318c0cf9"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/4e824bf75ce260951433bb22d33f1179d5a3d2fd"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/86b7a6e80104f714cd354d36c4c8a124ea8e05b1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8c714a074074af7ae59233c1fa6ef9d7aa710462"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c873a7a67cd8d8a26f4ce4a830deb3748e7439d9"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ce7b46556af15642a1e9f8d0c596022dd7cfb4a7"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-22T11:33:12+00:00",
"cve": "CVE-2026-99429",
"id": "CVE-2026-99429",
"initial_release_date": "2026-11-19T14:40:51.812000+00:00",
"product_status:known_not_affected": "204",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of service via use-after-free race condition in ocfs2",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99429.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…