cve-ja
← 新着
CVE

認証なしで、壊れた ocfs2 イメージによりカーネルを異常停止させられるおそれ。

不適切な入力確認。対象は Linux kernel(6.1.193 未満・6.6.163 未満・6.12.118 未満・6.18.63 未満・7.3.4 未満・7.4-rc1 未満)。

CVE-2026-138889参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.5
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.1.193・6.6.163・6.12.118・6.18.63・7.3.4・7.4-rc1 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux カーネルを、お使いの系統の修正版(6.1.193、6.6.163、6.12.118、6.18.63、7.3.4 のいずれか以降)に更新する
公開
2026年11月30日
最終更新
2026年11月30日
優先度の理由
—
最終確認
2026年12月5日
EPSS
0.73%
PoC
見つかっていない
攻撃の条件
ネット越し・ログイン不要・相手の操作は要らない
国内
まだ無い

概要

認証なしで、壊れた ocfs2 イメージによりカーネルを異常停止させられるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes Patch series "ocfs2: validate suballoc slot and bit of metadata blocks", v3. The ocfs2 metadata validators trust the on-disk suballoc slot and bit without checking them against the slot range of the mounted filesystem and the capacity of the block group bitmap. A corrupted image can carry OCFS2_INVALID_SLOT or another out-of-range slot, or a suballoc bit beyond the bitmap, and once the corresponding inode, extent block, xattr block, dir index root or refcount block gets freed, the bad value goes straight into ocfs2_get_system_file_inode() or _ocfs2_free_suballoc_bits() and hits a BUG_ON() or runs off the end of local_system_inodes[]. This series rejects such values at read time, in the existing validators, so corrupted objects fail with -EROFS (and a read-only remount) instead of crashing: patch 1 restricts OCFS2_INVALID_SLOT dinodes to system inodes, completing fe7a283b3916 ("ocfs2: add suballoc slot check in ocfs2_validate_inode_block()"), and turns the "system file state is ambiguous" BUG_ON() in ocfs2_read_locked_inode() into an ocfs2_error(); patch 2 rejects oversized dinode suballoc bits; patch 3 validates the suballoc slot and bit of xattr and dir index blocks; patch 4 validates the suballoc slot and bit of extent and refcount blocks. The checks only enforce what the kernel and mkfs.ocfs2 already write: a valid slot from meta_ac->ac_alloc_slot and a bit within the block group bitmap, with system inodes carrying OCFS2_INVALID_SLOT plus OCFS2_SYSTEM_FL and extent blocks using slot 0. Nothing changes for healthy filesystems. Each new check was exercised under QEMU by corrupting the field in question with an out-of-range value; with the series applied the access fails with -EROFS and the filesystem remounts read-only instead of hitting the BUG_ON(). This patch (of 4): ocfs2_validate_inode_block() currently permits i_suballoc_slot to be OCFS2_INVALID_SLOT for any dinode. Only system inodes created by mkfs.ocfs2 are allocated from the global allocator and thus legitimately carry this value; regular inodes are always allocated from a per-slot suballocator and hence must have a valid slot. If a corrupted regular inode with OCFS2_INVALID_SLOT is accepted, ocfs2_remove_inode() will pass the slot to ocfs2_get_system_file_inode() and get_local_system_inode() will hit BUG_ON(slot == OCFS2_INVALID_SLOT) when the inode is deleted. This can be triggered by an unprivileged user unlinking such a corrupted file. Reject OCFS2_INVALID_SLOT for non-system dinodes during validation, while still accepting it for system inodes. Note that a crafted dinode carrying OCFS2_SYSTEM_FL passes the check above, yet a plain lookup of it still used to BUG() in ocfs2_read_locked_inode() ("system file state is ambiguous"). Since i_flags comes from disk, handle that mismatch with ocfs2_error() instead of BUG_ON() as well.

影響を受ける人

ocfs2 を使う Linux の管理者

対策

  • Linux カーネルを、お使いの系統の修正版(6.1.193、6.6.163、6.12.118、6.18.63、7.3.4 のいずれか以降)に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月30日・一次情報
脆弱性が公開された

影響する版

Linux Linux6.1.193 未満が対象(6.1.193 で修正)・6.6.163 未満が対象(6.6.163 で修正)・6.12.118 未満が対象(6.12.118 で修正)
Linux Linux6.1.193 未満が対象(6.1.193 で修正)・6.6.163 未満が対象(6.6.163 で修正)・6.12.118 未満が対象(6.12.118 で修正)・6.18.63 未満が対象(6.18.63 で修正)・7.3.4 未満が対象(7.3.4 で修正)・7.4-rc1 未満が対象(7.4-rc1 で修正)