syzbot


BUG: unable to handle kernel NULL pointer dereference in __lookup_hash (2)

Status: upstream: reported C repro on 2021/05/10 10:30
Reported-by: syzbot+f41e5ef4b10d81a05122@syzkaller.appspotmail.com
First crash: 414d, last: 10d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: unable to handle kernel NULL pointer dereference in __lookup_hash C done 31 451d 644d 1/1 fixed on 2021/05/03 13:12

Sample crash report:
reiserfs: using flush barriers
REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using tea hash to sort names
BUG: unable to handle kernel NULL pointer dereference at           (null)
IP:           (null)
PGD b2fc8067 P4D b2fc8067 PUD b2fdf067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 8012 Comm: syz-executor002 Not tainted 4.14.237-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b0b9e640 task.stack: ffff8880920f8000
RIP: 0010:          (null)
RSP: 0018:ffff8880920ffa30 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffffff8796bec0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88808e8cc9a0 RDI: ffff88808d143748
RBP: ffff88808d143748 R08: 0000000000000001 R09: 0000000000000002
R10: 0000000000000000 R11: ffff8880b0b9e640 R12: ffff88808e8cc9a0
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000076
FS:  00000000010fd300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000b533e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lookup_real fs/namei.c:1555 [inline]
 __lookup_hash fs/namei.c:1575 [inline]
 __lookup_hash+0x1bb/0x270 fs/namei.c:1563
 lookup_one_len+0x279/0x3a0 fs/namei.c:2539
 reiserfs_lookup_privroot+0x92/0x270 fs/reiserfs/xattr.c:970
 reiserfs_fill_super+0x1ae0/0x28c0 fs/reiserfs/super.c:2179
 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:0x4451aa
RSP: 002b:00007ffccf2d4d18 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffccf2d4d70 RCX: 00000000004451aa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffccf2d4d30
RBP: 00007ffccf2d4d30 R08: 00007ffccf2d4d70 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002a8
R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000007
Code:  Bad RIP value.
RIP:           (null) RSP: ffff8880920ffa30
CR2: 0000000000000000
---[ end trace f253ca1b942a7c13 ]---

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/06/18 00:02 linux-4.14.y 84bae26850e3 aba2b2fb .config log report syz C
ci2-linux-4-14 2022/05/18 22:03 linux-4.14.y dffb5c6ff09c aba2b2fb .config log report syz C
ci2-linux-4-14 2022/04/18 21:41 linux-4.14.y 74766a973637 aba2b2fb .config log report syz C
ci2-linux-4-14 2022/03/19 21:10 linux-4.14.y eb045674aab3 aba2b2fb .config log report syz C
ci2-linux-4-14 2022/02/17 20:46 linux-4.14.y a35d65bedfbc aba2b2fb .config log report syz C
ci2-linux-4-14 2022/01/18 19:12 linux-4.14.y 4ba8e26127c3 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/12/19 18:34 linux-4.14.y 9dfbac0e6b86 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/11/19 18:10 linux-4.14.y 5f9f3b0057d5 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/10/20 17:44 linux-4.14.y 2760370b1649 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/09/20 17:19 linux-4.14.y f96eb53cbd76 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/08/21 16:49 linux-4.14.y 162b95d01320 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/07/22 15:58 linux-4.14.y 964f3712e6a7 aba2b2fb .config log report syz C
ci2-linux-4-14 2021/06/17 12:47 linux-4.14.y cfb41ef9deb1 a343ba6b .config log report syz C
Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/06/22 13:25 linux-4.14.y cfb41ef9deb1 aba2b2fb .config log report syz C BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
ci2-linux-4-14 2021/05/18 11:53 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config log report syz C BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
ci2-linux-4-14 2021/05/10 10:49 linux-4.14.y 7d7d1c0ab3eb bc5434be .config log report syz C BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
ci2-linux-4-14 2021/05/10 10:29 linux-4.14.y 7d7d1c0ab3eb bc5434be .config log report info BUG: unable to handle kernel NULL pointer dereference in __lookup_hash