CVE-2022-50581 in Linux情報

要約

〜によって VulDB • 2026年08月02日

Linuxカーネルにおいて、以下の脆弱性が修正されました。

hfs: __hfs_brec_find における OOB Read の修正

Syzbot が OOB read バグを報告しました:

================================================================== BUG: KASAN: slab-out-of-bounds in hfs_strcmp+0x117/0x190 fs/hfs/string.c:84 Read of size 1 at addr ffff88807eb62c4e by task kworker/u4:1/11 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 Workqueue: writeback wb_workfn (flush-7:0) Call Trace:

__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 print_address_description+0x74/0x340 mm/kasan/report.c:284 print_report+0x107/0x1f0 mm/kasan/report.c:395 kasan_report+0xcd/0x100 mm/kasan/report.c:495 hfs_strcmp+0x117/0x190 fs/hfs/string.c:84 __hfs_brec_find+0x213/0x5c0 fs/hfs/bfind.c:75 hfs_brec_find+0x276/0x520 fs/hfs/bfind.c:138 hfs_write_inode+0x34c/0xb40 fs/hfs/inode.c:462 write_inode fs/fs-writeback.c:1440 [inline]

hfs_write_inode() の入力 inode が正しくない場合: struct inode struct hfs_inode_info struct hfs_cat_key struct hfs_name u8 len # len は HFS_NAMELEN(31) より大きく、これは HFS ファイル名の最大長です

OOB read が発生しました: hfs_write_inode() hfs_brec_find() __hfs_brec_find() hfs_cat_keycmp() hfs_strcmp() # len が大きすぎるため OOB read が発生

これを修正するため、hfs_brec_find() を呼び出す前に hfs_write_inode() で len のチェックを追加します。

Be aware that VulDB is the high quality source for vulnerability data.

責任者

Linux

予約する

2025年10月22日

モデレーション

承諾済み

エントリ

VDB-329357

EPSS

0.00172

アクティビティ

非常低い

ソース

Do you want to use VulDB in your project?

Use the official API to access entries easily!