syzbot


kernel BUG in new_node_page

Status: upstream: reported C repro on 2022/10/12 19:35
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+40de2c3c89bc726d56dc@syzkaller.appspotmail.com
First crash: 806d, last: 663d
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/01/26 21:00 30m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): Found nat_bits in checkpoint
F2FS-fs (loop0): Mounted with checkpoint version = 3651456e
------------[ cut here ]------------
kernel BUG at fs/f2fs/node.c:1069!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7963 Comm: syz-executor331 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
task: ffff8880b4f10100 task.stack: ffff88809e020000
RIP: 0010:new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069
RSP: 0018:ffff88809e0278b0 EFLAGS: 00010297
RAX: ffff8880b4f10100 RBX: ffff88809e027a00 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffff88809587b2d8
RBP: ffff888095e62700 R08: 0000000000000001 R09: 0000000000000005
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0002bc3cc0
R13: 000000001fffffff R14: ffff88809e0278f8 R15: 0000000000000001
FS:  000055555634c300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557755407c40 CR3: 00000000ab4d8000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 write_all_xattrs fs/f2fs/xattr.c:455 [inline]
 __f2fs_setxattr+0xb77/0x1550 fs/f2fs/xattr.c:700
 f2fs_setxattr+0x11b/0x1c0 fs/f2fs/xattr.c:737
 f2fs_xattr_generic_set+0xe0/0x1c0 fs/f2fs/xattr.c:73
 __vfs_setxattr+0xdc/0x130 fs/xattr.c:150
 __vfs_setxattr_noperm+0xfd/0x3d0 fs/xattr.c:181
 __vfs_setxattr_locked+0x14d/0x250 fs/xattr.c:239
 vfs_setxattr+0xcf/0x230 fs/xattr.c:256
 setxattr+0x1a9/0x300 fs/xattr.c:523
 SYSC_fsetxattr fs/xattr.c:578 [inline]
 SyS_fsetxattr+0x123/0x190 fs/xattr.c:567
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f52340ccbd9
RSP: 002b:00007ffd504f1268 EFLAGS: 00000246 ORIG_RAX: 00000000000000be
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f52340ccbd9
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 00007f523408c470 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f523408c500
R13: 0000000000000000 R14: 00000ffc00000040 R15: 0000000000000000
Code: 00 44 89 ad 78 04 00 00 be 01 00 00 00 48 89 ef e8 99 a3 f7 ff e9 ea fc ff ff 49 c7 c4 ff ff ff ff e9 de fc ff ff e8 13 41 8a fe <0f> 0b 48 89 44 24 10 e8 07 41 8a fe 48 8b 44 24 10 4c 8d 70 ff 
RIP: new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: ffff88809e0278b0
---[ end trace 0de149c9126026b3 ]---

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/12 22:03 linux-4.14.y 9d5c0b3a8e1a 16a9c9e0 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 kernel BUG in new_node_page
2023/03/04 17:54 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/03/01 19:31 linux-4.14.y 7878a41b6cc1 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/18 16:01 linux-4.14.y a8ad60f2af58 d02e9a70 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/16 08:04 linux-4.14.y a8ad60f2af58 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/15 11:10 linux-4.14.y a8ad60f2af58 e62ba3c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/13 04:28 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/10 00:58 linux-4.14.y a8ad60f2af58 07980f9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/09 11:29 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/09 11:22 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/09 11:21 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/09 11:13 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/02/09 11:11 linux-4.14.y a8ad60f2af58 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/01/28 04:19 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/01/28 00:08 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/01/27 23:34 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2023/01/27 23:33 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/17 22:56 linux-4.14.y e911713e40ca 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/15 12:29 linux-4.14.y e911713e40ca 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/08 15:52 linux-4.14.y a901bb6c7db7 060f945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/08 13:00 linux-4.14.y a901bb6c7db7 060f945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/07 14:04 linux-4.14.y a901bb6c7db7 a779b11a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/11/01 21:17 linux-4.14.y a85772d7ba90 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/10/30 20:41 linux-4.14.y 41f36d7859a7 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in new_node_page
2022/10/25 04:15 linux-4.14.y 9d5c0b3a8e1a 45645420 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 kernel BUG in new_node_page
2022/10/12 19:34 linux-4.14.y 9d5c0b3a8e1a 16a9c9e0 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 kernel BUG in new_node_page
* Struck through repros no longer work on HEAD.