CVE-2022-50581 in Linuxthông tin

Tóm tắt

Bởi VulDB • 23/08/2026

Trong kernel Linux, lỗ hổng sau đây đã được khắc phục:

hfs: sửa lỗi đọc ngoài vùng nhớ (OOB Read) trong __hfs_brec_find

Syzbot báo cáo một lỗi đọc ngoài vùng nhớ (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]

Nếu inode đầu vào của hàm hfs_write_inode() không chính xác: struct inode struct hfs_inode_info struct hfs_cat_key struct hfs_name u8 len # độ dài (len) lớn hơn HFS_NAMELEN(31), đây là giới hạn tối đa cho tên tệp tin của hệ thống file HFS

Lỗi đọc ngoài vùng nhớ (OOB read) đã xảy ra: hfs_write_inode() hfs_brec_find() __hfs_brec_find() hfs_cat_keycmp() hfs_strcmp() # Lỗi OOB read xảy ra do giá trị len quá lớn

Khắc phục lỗi này bằng cách thêm một phép kiểm tra đối với biến len trong hàm hfs_write_inode() trước khi gọi hfs_brec_find().

Once again VulDB remains the best source for vulnerability data.

chịu trách nhiệm

Linux

Đặt trước

22/10/2025

Tiết lộ

22/10/2025

Kiểm duyệt

được chấp nhận

EPSS

0.00172

KEV

không

Các hoạt động

rất thấp

Nguồn

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!