CVE 记录列出的受影响产品:Linux · Linuxnday 产品登记表中 Linux kernel 的产品类型
当前阶段
DIS
披露
CVSS
7.8 HIGH v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: validate DIO orphan slot during inode read
[BUG]
A corrupted append-DIO dinode (high byte at offset 0xa1
corrupted from 0 to 1) can carry an i_dio_orphaned_slot
outside the mounted filesystem slot range and trigger a
use-after-free error:
BUG: KASAN: slab-use-after-free in ocfs2_get_system_file_inode+0x780/0x820fs/ocfs2/sysfile.c:102Read of size 8 at addr ffff88800b767c00 by task kworker/u8:3/85
Call Trace: ...
ocfs2_get_system_file_inode+0x780/0x820fs/ocfs2/sysfile.c:102ocfs2_wipe_inode+0x292/0xf70fs/ocfs2/inode.c:840ocfs2_delete_inodefs/ocfs2/inode.c:1155[inline]ocfs2_evict_inode+0x6c9/0x1170fs/ocfs2/inode.c:1295evict+0x38e/0x8f0fs/inode.c:810iput_finalfs/inode.c:1914[inline]iputfs/inode.c:1966[inline]iput+0x55b/0x8b0fs/inode.c:1926ocfs2_recover_orphans+0x610/0xe40fs/ocfs2/journal.c:2374ocfs2_complete_recovery+0x5af/0xd00fs/ocfs2/journal.c:1373 ...
[CAUSE]
ocfs2_del_inode_from_orphan() uses i_dio_orphaned_slot to index the
slot-local system inode cache. The dinode validator does not check
this active slot, so an out-of-range value produces an invalid cache
entry pointer that is dereferenced as an inode pointer.
[FIX]
Reject an active i_dio_orphaned_slot outside the slot range during
dinode validation, before DIO orphan recovery can consume it.