syzbot


general protection fault in inode_insert5

Status: upstream: reported syz repro on 2025/08/01 15:48
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+117f64a14c2a41e45fae@syzkaller.appspotmail.com
First crash: 35d, last: 16d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] general protection fault in inode_insert5 0 (1) 2025/08/01 15:48

Sample crash report:
loop1: detected capacity change from 0 to 4096
ntfs3(loop1): Different NTFS sector size (1024) and media sector size (512).
Oops: general protection fault, probably for non-canonical address 0x294d29b747fed018: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 7891 Comm: syz.1.1763 Tainted: G        W           6.17.0-rc1-syzkaller-00211-g90d970cade8e #0 PREEMPT_{RT,(full)} 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__list_add_valid include/linux/list.h:88 [inline]
RIP: 0010:__list_add include/linux/list.h:150 [inline]
RIP: 0010:list_add include/linux/list.h:169 [inline]
RIP: 0010:inode_sb_list_add fs/inode.c:629 [inline]
RIP: 0010:inode_insert5+0x2f4/0x4d0 fs/inode.c:1322
Code: c0 0b 00 00 4c 89 e3 48 c1 eb 03 80 3c 2b 00 74 08 4c 89 e7 e8 8d 54 ec ff 4d 8b 2c 24 4c 89 f7 4c 89 e6 4c 89 ea e8 3b 47 8e <02> 84 c0 0f 84 84 00 00 00 e8 4e 21 8d ff 49 8d 4d 08 48 89 c8 48
RSP: 0018:ffffc90005f67628 EFLAGS: 00010287
RAX: cbb33d862462ec01 RBX: 1ffff11006d15178 RCX: 0000000000000000
RDX: ffff88805a7013a0 RSI: ffff8880368a8bc0 RDI: ffff888057b27860
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1e3a787 R12: ffff8880368a8bc0
R13: ffff88805a7013a0 R14: ffff888057b27860 R15: 1ffff1100af64f0c
FS:  0000555586aaf500(0000) GS:ffff8881269c5000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f555c962020 CR3: 0000000023742000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 iget5_locked+0x66/0xa0 fs/inode.c:1358
 ntfs_iget5+0xc1/0x37c0 fs/ntfs3/inode.c:533
 ntfs_fill_super+0x3927/0x40b0 fs/ntfs3/super.c:1519
 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1815
 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
 do_mount fs/namespace.c:4133 [inline]
 __do_sys_mount fs/namespace.c:4344 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4321
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f555c98038a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc3bdbbe78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc3bdbbf00 RCX: 00007f555c98038a
RDX: 00002000000002c0 RSI: 000020000001f840 RDI: 00007ffc3bdbbec0
RBP: 00002000000002c0 R08: 00007ffc3bdbbf00 R09: 0000000000000082
R10: 0000000000000082 R11: 0000000000000246 R12: 000020000001f840
R13: 00007ffc3bdbbec0 R14: 000000000001f80f R15: 0000200000000640
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid include/linux/list.h:88 [inline]
RIP: 0010:__list_add include/linux/list.h:150 [inline]
RIP: 0010:list_add include/linux/list.h:169 [inline]
RIP: 0010:inode_sb_list_add fs/inode.c:629 [inline]
RIP: 0010:inode_insert5+0x2f4/0x4d0 fs/inode.c:1322
Code: c0 0b 00 00 4c 89 e3 48 c1 eb 03 80 3c 2b 00 74 08 4c 89 e7 e8 8d 54 ec ff 4d 8b 2c 24 4c 89 f7 4c 89 e6 4c 89 ea e8 3b 47 8e <02> 84 c0 0f 84 84 00 00 00 e8 4e 21 8d ff 49 8d 4d 08 48 89 c8 48
RSP: 0018:ffffc90005f67628 EFLAGS: 00010287
RAX: cbb33d862462ec01 RBX: 1ffff11006d15178 RCX: 0000000000000000
RDX: ffff88805a7013a0 RSI: ffff8880368a8bc0 RDI: ffff888057b27860
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1e3a787 R12: ffff8880368a8bc0
R13: ffff88805a7013a0 R14: ffff888057b27860 R15: 1ffff1100af64f0c
FS:  0000555586aaf500(0000) GS:ffff8881269c5000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f555c962020 CR3: 0000000023742000 CR4: 00000000003526f0

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/17 07:46 upstream 90d970cade8e 1804e95e .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in inode_insert5
2025/08/16 02:48 upstream ee94b00c1a64 1804e95e .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in inode_insert5
2025/08/12 23:41 upstream 0e39a731820a 22ec1469 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in inode_insert5
2025/08/05 21:36 upstream 7e161a991ea7 37880f40 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/07/31 23:47 upstream 260f6f4fda93 0c075d67 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/16 19:39 upstream 90d970cade8e 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/15 06:04 upstream 24ea63ea3877 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/12 20:21 upstream 0e39a731820a 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/07 01:17 upstream cca7a0aae895 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/03 17:36 upstream 186f3edfdd41 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/03 06:01 upstream 186f3edfdd41 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/02 08:33 upstream 0905809b38bd 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/07/30 10:02 upstream 4b290aae788e f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/07/29 20:28 upstream 0919a5b3b11c f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/07/29 09:03 upstream ae388edd4a8f c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in inode_insert5
2025/08/17 02:58 upstream 90d970cade8e 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/07 22:55 upstream 6e64f4580381 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/04 11:32 upstream d2eedaa3909b 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/04 10:32 upstream 352af6a011d5 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/03 18:21 upstream 186f3edfdd41 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/03 14:43 upstream 186f3edfdd41 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
2025/08/03 10:33 upstream 186f3edfdd41 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs BUG: unable to handle kernel paging request in inode_insert5
* Struck through repros no longer work on HEAD.