syzbot


WARNING in wnd_init (2)

Status: upstream: reported C repro on 2024/09/27 19:06
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+47de774a425e2380f16f@syzkaller.appspotmail.com
First crash: 11d, last: 11d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING in wnd_init (2) 0 (1) 2024/09/27 19:06
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in wnd_init ntfs3 C done 23 654d 736d 22/28 fixed on 2023/02/24 13:50

Sample crash report:
         option from the mount to silence this warning.
=======================================================
ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512).
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5096 at mm/util.c:670 __kvmalloc_node_noprof+0x17a/0x190 mm/util.c:670
Modules linked in:
CPU: 0 UID: 0 PID: 5096 Comm: syz-executor108 Not tainted 6.11.0-syzkaller-08833-gde5cb0dcb74c #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:__kvmalloc_node_noprof+0x17a/0x190 mm/util.c:670
Code: cc 44 89 fe 81 e6 00 20 00 00 31 ff e8 1f ec b9 ff 41 81 e7 00 20 00 00 74 0a e8 d1 e7 b9 ff e9 3b ff ff ff e8 c7 e7 b9 ff 90 <0f> 0b 90 e9 2d ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00
RSP: 0018:ffffc90002d9f8b8 EFLAGS: 00010293
RAX: ffffffff81dad1e9 RBX: 0003ffffff400002 RCX: ffff88801f15c880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81dad1d1 R09: 00000000ffffffff
R10: ffffc90002d9f720 R11: fffff520005b3ee9 R12: ffff88804032e0b0
R13: 0003ffffff400002 R14: 00000000ffffffff R15: 0000000000000000
FS:  0000555588ee8380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa23b395ed8 CR3: 0000000041826000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvmalloc_array_node_noprof include/linux/slab.h:1040 [inline]
 wnd_init+0x1ed/0x320 fs/ntfs3/bitmap.c:663
 ntfs_fill_super+0x2ffe/0x4730 fs/ntfs3/super.c:1315
 get_tree_bdev+0x3f7/0x570 fs/super.c:1635
 vfs_get_tree+0x90/0x2b0 fs/super.c:1800
 do_new_mount+0x2be/0xb40 fs/namespace.c:3507
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4055 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032
 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:0x7f528f5191fa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007ffcd5057158 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcd5057160 RCX: 00007f528f5191fa
RDX: 000000002001f6c0 RSI: 00000000200000c0 RDI: 00007ffcd5057160
RBP: 0000000000000004 R08: 00007ffcd50571a0 R09: 000000000001f27a
R10: 000000000181c041 R11: 0000000000000286 R12: 00007ffcd50571a0
R13: 0000000000000003 R14: 0000000000200000 R15: 00007f528f56103b
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/23 19:07 upstream de5cb0dcb74c 49f9c2d2 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in wnd_init
2024/09/23 18:57 upstream de5cb0dcb74c 49f9c2d2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in wnd_init
* Struck through repros no longer work on HEAD.