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: 1080d, last: 431d
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 1118d 1311d 1/1 fixed on 2021/05/03 13:12
Fix bisection attempts (19)
Created Duration User Patch Repo Result
2023/02/18 23:09 25m bisect fix linux-4.14.y job log (0) log
2023/01/19 14:12 28m bisect fix linux-4.14.y job log (0) log
2022/10/26 10:00 31m bisect fix linux-4.14.y job log (0) log
2022/09/16 00:50 23m bisect fix linux-4.14.y job log (0) log
2022/08/17 00:24 24m bisect fix linux-4.14.y job log (0) log
2022/07/18 00:02 21m bisect fix linux-4.14.y job log (0) log
2022/06/17 23:35 27m bisect fix linux-4.14.y job log (0) log
2022/05/18 21:41 21m bisect fix linux-4.14.y job log (0) log
2022/04/18 21:17 23m bisect fix linux-4.14.y job log (0) log
2022/03/19 20:46 23m bisect fix linux-4.14.y job log (0) log
2022/02/17 20:18 27m bisect fix linux-4.14.y job log (0) log
2022/01/18 18:42 29m bisect fix linux-4.14.y job log (0) log
2021/12/19 18:10 24m bisect fix linux-4.14.y job log (0) log
2021/11/19 17:45 25m bisect fix linux-4.14.y job log (0) log
2021/10/20 17:19 25m bisect fix linux-4.14.y job log (0) log
2021/09/20 16:53 25m bisect fix linux-4.14.y job log (0) log
2021/08/21 16:24 24m bisect fix linux-4.14.y job log (0) log
2021/07/22 15:32 25m bisect fix linux-4.14.y job log (0) log
2021/06/17 12:24 22m bisect fix linux-4.14.y job log (0) log

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 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/22 13:25 linux-4.14.y cfb41ef9deb1 aba2b2fb .config console log report syz C ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
2021/05/18 11:53 linux-4.14.y 7d7d1c0ab3eb a343ba6b .config console log report syz C ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
2021/05/10 10:49 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report syz C ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
2021/05/10 10:29 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 BUG: unable to handle kernel NULL pointer dereference in __lookup_hash
* Struck through repros no longer work on HEAD.