Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99429

published high CVSS 3.1 · 7.8

ocfs2: pin refcount trees before dropping the lookup lock

Published
19 Nov 2026, 14:40:51 UTC
Updated
23 Nov 2026, 08:02:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux374a263e790c4de85844283c098810a92985f623 to < 86b7a6e80104f714cd354d36c4c8a124ea8e05b1 · 374a263e790c4de85844283c098810a92985f623 to < 4e824bf75ce260951433bb22d33f1179d5a3d2fd · 374a263e790c4de85844283c098810a92985f623 to < c873a7a67cd8d8a26f4ce4a830deb3748e7439d9 · 374a263e790c4de85844283c098810a92985f623 to < 4720f762623680e36d2241cf4d113cf0318c0cf9 · 374a263e790c4de85844283c098810a92985f623 to < ce7b46556af15642a1e9f8d0c596022dd7cfb4a7 · 374a263e790c4de85844283c098810a92985f623 to < 7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e · 374a263e790c4de85844283c098810a92985f623 to < 2d9e864c234469dc7f56ea974f8269d251441e6a · 374a263e790c4de85844283c098810a92985f623 to < 8c714a074074af7ae59233c1fa6ef9d7aa710462 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.32 (affected) · 0 to < 2.6.32 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 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
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC: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. PR: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. UI:N - The attacker creates the reflinked inodes and issues both pwrite64 and setxattr on the already-mounted cluster volume. S:U - The object freed by the generation-mismatch put in ocfs2_lock_refcount_tree is that mount's ocfs2_refcount_tree slab allocation, so the corruption remains in the same host kernel. C: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. I: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. A: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's generation-mismatch put, which oopses the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 374a263e790c4de85844283c098810a92985f623 to < 86b7a6e80104f714cd354d36c4c8a124ea8e05b1 (affected · git)374a263e790c4de85844283c098810a92985f623 to < 4e824bf75ce260951433bb22d33f1179d5a3d2fd (affected · git)374a263e790c4de85844283c098810a92985f623 to < c873a7a67cd8d8a26f4ce4a830deb3748e7439d9 (affected · git)374a263e790c4de85844283c098810a92985f623 to < 4720f762623680e36d2241cf4d113cf0318c0cf9 (affected · git)374a263e790c4de85844283c098810a92985f623 to < ce7b46556af15642a1e9f8d0c596022dd7cfb4a7 (affected · git)374a263e790c4de85844283c098810a92985f623 to < 7ff4f020f7b03fddd529735f0b61ac0a8dd92c9e (affected · git)374a263e790c4de85844283c098810a92985f623 to < 2d9e864c234469dc7f56ea974f8269d251441e6a (affected · git)374a263e790c4de85844283c098810a92985f623 to < 8c714a074074af7ae59233c1fa6ef9d7aa710462 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.32 (affected)0 to < 2.6.32 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

ocfs2: pin refcount trees before dropping the lookup lock

Provenance

Schema
5.2
Searchable
yes
Content hash
da0a2069c071156bade57dd9ad8197a1b409bdd968997cbb2f6f3dee6abcf379
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected