ocfs2: find the xattr entry again after converting a block to a bucket
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
2.6.28 以上 5.10.275 未満→ 5.10.275 5.11.0 以上 5.15.226 未満→ 5.15.226 5.16.0 以上 6.1.193 未満→ 6.1.193 6.2.0 以上 6.6.163 未満→ 6.6.163 6.7.0 以上 6.12.118 未満→ 6.12.118 6.13.0 以上 6.18.64 未満→ 6.18.64 6.19.0 以上 7.3.5 未満→ 7.3.5 |
5.10.275 5.15.226 6.1.193 6.6.163 6.12.118 6.18.64 7.3.5 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99695 linux-lts 修正版あり
- Debian DEBIAN-CVE-2026-99695 linux-6.12, linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99695 linux-xilinx-zynqmp, linux-xilinx, linux-vmware ほか 166 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: find the xattr entry again after converting a block to a bucket
ocfs2_xattr_create_index_block() turns a non-indexed xattr block into a
tree by copying it into a bucket, and the copy sorts the entries: a
block holds them in insertion order, a bucket by name hash.
ocfs2_xattr_update_xattr_search() nevertheless relocates the caller's
search by the index the entry had in the block, so unless the two orders
agreed it points at an unrelated entry, and nothing between there and
the write compares that entry's name with the one being set.
Setting an xattr whose new value no longer fits the block arrives here
with xs->not_found clear. The block gave up because
ocfs2_xa_block_can_reuse() wants an exact namevalue size match, while
ocfs2_xa_bucket_can_reuse() only wants an entry at least as large as the
new one, so the bucket accepts a pair the block rejected and the update
lands on whichever entry the sort left at that index. Equal padded name
lengths get that other attribute's value replaced in place and its name
left alone, so setxattr returns success while the attribute asked for
keeps its old value. A longer one trips ocfs2_xa_reuse_entry()'s
BUG_ON, and a shorter one is refused by the bucket as well, so
ocfs2_xa_prepare_entry() wipes the entry and writes the new name over
it, leaving xe_name_hash describing a name that is no longer there.
Find the entry again by the name being set, matching the type…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com