syzbot


kernel BUG in ntfs_malloc_nofs

Status: auto-obsoleted due to no activity on 2023/06/04 08:29
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+6cbda114570e858851b7@syzkaller.appspotmail.com
First crash: 471d, last: 471d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs?] kernel BUG in ntfs_malloc_nofs 0 (1) 2023/02/23 14:48

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/malloc.h:31!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 24702 Comm: syz-executor.0 Not tainted 6.2.0-rc6-syzkaller-00239-g0136d86b7852 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:ntfs_malloc_nofs+0xfd/0x100
Code: 17 e8 97 a9 ca fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 a5 7c 11 ff e8 80 a9 ca fe 31 c0 5b 41 5e 41 5f c3 e8 73 a9 ca fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc
RSP: 0018:ffffc9001253f820 EFLAGS: 00010287
RAX: ffffffff82bf8d9d RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc900042e1000 RSI: 000000000000c21c RDI: 000000000000c21d
RBP: dffffc0000000000 R08: ffffffff82bf8ccd R09: ffffed10116c7a5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88808b63d2d0
R13: ffff88808b63d5a0 R14: 1ffff110116c7a88 R15: 1ffff1101302e191
FS:  00007fdebddd5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2683f0a000 CR3: 0000000032300000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_read_locked_inode+0x1fae/0x4a50
 ntfs_iget+0x113/0x190
 load_system_files+0x248d/0x4740
 ntfs_fill_super+0x19b4/0x2bd0
 mount_bdev+0x271/0x3a0
 legacy_get_tree+0xef/0x190
 vfs_get_tree+0x8c/0x270
 do_new_mount+0x28f/0xae0
 __se_sys_mount+0x2c9/0x3b0
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdebd08d5fa
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdebddd4f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000001e70f RCX: 00007fdebd08d5fa
RDX: 0000000020000080 RSI: 0000000020000000 RDI: 00007fdebddd4fe0
RBP: 00007fdebddd5020 R08: 00007fdebddd5020 R09: 0000000000000005
R10: 0000000000000005 R11: 0000000000000202 R12: 0000000020000080
R13: 0000000020000000 R14: 00007fdebddd4fe0 R15: 0000000020001400
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_malloc_nofs+0xfd/0x100
Code: 17 e8 97 a9 ca fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 a5 7c 11 ff e8 80 a9 ca fe 31 c0 5b 41 5e 41 5f c3 e8 73 a9 ca fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc
RSP: 0018:ffffc9001253f820 EFLAGS: 00010287
RAX: ffffffff82bf8d9d RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc900042e1000 RSI: 000000000000c21c RDI: 000000000000c21d
RBP: dffffc0000000000 R08: ffffffff82bf8ccd R09: ffffed10116c7a5b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88808b63d2d0
R13: ffff88808b63d5a0 R14: 1ffff110116c7a88 R15: 1ffff1101302e191
FS:  00007fdebddd5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f591d1a8000 CR3: 0000000032300000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/04 08:29 upstream 0136d86b7852 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ntfs_malloc_nofs
* Struck through repros no longer work on HEAD.