syzbot
KASAN: null-ptr-deref Read in fuse_copy_args
Status:
closed as dup on 2025/01/06 09:20
Subsystems:
fuse
[Documentation on labels]
Reported-by: syzbot+63ba511937b4080e2ff3@syzkaller.appspotmail.com
First crash: 635d, last: 599d
Sample crash report:
==================================================================
BUG: KASAN: null-ptr-deref in fuse_copy_one fs/fuse/dev.c:1065 [inline]
BUG: KASAN: null-ptr-deref in fuse_copy_args+0x2d8/0x9c0 fs/fuse/dev.c:1083
Read of size 16 at addr 0000000000000000 by task syz.8.2115/13524
CPU: 0 UID: 0 PID: 13524 Comm: syz.8.2115 Not tainted 6.13.0-rc1-syzkaller-00316-gb5f217084ab3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
print_report+0xe8/0x550 mm/kasan/report.c:492
kasan_report+0x143/0x180 mm/kasan/report.c:602
kasan_check_range+0x282/0x290 mm/kasan/generic.c:189
__asan_memcpy+0x29/0x70 mm/kasan/shadow.c:105
fuse_copy_one fs/fuse/dev.c:1065 [inline]
fuse_copy_args+0x2d8/0x9c0 fs/fuse/dev.c:1083
fuse_dev_do_read+0xcbd/0x11e0 fs/fuse/dev.c:1357
fuse_dev_read+0x170/0x220 fs/fuse/dev.c:1424
new_sync_read fs/read_write.c:484 [inline]
vfs_read+0x991/0xb70 fs/read_write.c:565
ksys_read+0x18f/0x2b0 fs/read_write.c:708
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9341d7e8ec
Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 93 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 ef 93 02 00 48
RSP: 002b:00007f9342c6efd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000020002100 RCX: 00007f9341d7e8ec
RDX: 0000000000002000 RSI: 0000000020002100 RDI: 0000000000000005
RBP: 00007f9341df3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000005
R13: 0000000020000c80 R14: 00007f9341f45fa0 R15: 00007ffc99a31c58
</TASK>
==================================================================
* Struck through repros no longer work on HEAD.