syzbot


general protection fault in diFree

Status: auto-closed as invalid on 2021/05/28 19:31
Reported-by: syzbot+e814b9d089867bc7635a@syzkaller.appspotmail.com
First crash: 524d, last: 524d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in diFree (2) C 2 20d 169d 0/1 upstream: reported C repro on 2022/01/18 19:31
linux-4.19 KASAN: use-after-free Read in diFree C error 12 110d 632d 0/1 upstream: reported C repro on 2020/10/13 01:51
upstream KASAN: use-after-free Read in diFree C inconclusive 2 111d 107d 0/22 upstream: reported C repro on 2022/03/22 12:48
linux-4.19 BUG: unable to handle kernel paging request in diFree C done 18 354d 646d 1/1 fixed on 2021/08/17 00:59
upstream BUG: unable to handle kernel paging request in diFree C done 13 376d 647d 22/22 fixed on 2021/11/10 00:50

Sample crash report:
ERROR: (device loop4): xtSearch: XT_GETPAGE: xtree page corrupt
kasan: CONFIG_KASAN_INLINE enabled
BTRFS error (device loop3): open_ctree failed
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 23911 Comm: syz-executor.4 Not tainted 4.14.217-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880555d6140 task.stack: ffff88822ad08000
RIP: 0010:diFree+0x154/0x2830 fs/jfs/jfs_imap.c:892
RSP: 0018:ffff88822ad0f9a8 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: ffff888060341a00 RCX: ffffc9000cacc000
RDX: 0000000000000000 RSI: ffffffff8238e14f RDI: ffff8880669478e8
RBP: 0000000000000000 R08: ffffffff8b9c4a48 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880555d6140 R12: ffff888066947968
R13: 0000000000000004 R14: ffffffff87b65da0 R15: ffff888066947b20
FS:  00007f645f4a7700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555747e1000 CR3: 00000000290c3000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 jfs_evict_inode+0xee/0x130 fs/jfs/inode.c:164
 evict+0x2c8/0x700 fs/inode.c:555
 iput_final fs/inode.c:1524 [inline]
 iput+0x458/0x7e0 fs/inode.c:1551
 diFreeSpecial fs/jfs/jfs_imap.c:569 [inline]
 diFreeSpecial+0x63/0x80 fs/jfs/jfs_imap.c:561
 jfs_mount+0x2d4/0x380 fs/jfs/jfs_mount.c:201
 jfs_fill_super+0x52a/0xab0 fs/jfs/super.c:589
__ntfs_error: 3 callbacks suppressed
ntfs: (device loop0): parse_options(): Unrecognized mount option .
 mount_bdev+0x2b3/0x360 fs/super.c:1134
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2549 [inline]
 do_mount+0xe53/0x2a00 fs/namespace.c:2879
 SYSC_mount fs/namespace.c:3095 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3072
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x460c6a
RSP: 002b:00007f645f4a6a78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f645f4a6b10 RCX: 0000000000460c6a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f645f4a6ad0
RBP: 00007f645f4a6ad0 R08: 00007f645f4a6b10 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000140
Code: 48 8b 44 24 18 48 8b 68 80 48 8b 44 24 20 4c 8d 6d 04 48 c1 e8 0c 4c 89 ea 48 c1 ea 03 48 89 04 24 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 
RIP: diFree+0x154/0x2830 fs/jfs/jfs_imap.c:892 RSP: ffff88822ad0f9a8
---[ end trace 3e58ba5eb9b45e2f ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/01/28 19:30 linux-4.14.y 2d2791fce891 7df34f59 .config log report info general protection fault in diFree