syzbot


general protection fault in kobject_uevent

Status: upstream: reported syz repro on 2020/01/30 00:40
Reported-by: syzbot+0e410209872c4f0eea2a@syzkaller.appspotmail.com
First crash: 1599d, last: 1484d
Fix bisection: failed (error log, bisect log)
  
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/15 01:31 10m retest repro linux-4.14.y report log
2022/08/29 16:27 16m retest repro linux-4.14.y report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2020/06/23 02:34 18m (3) bisect fix linux-4.14.y error job log (0)
2020/05/24 01:58 35m bisect fix linux-4.14.y job log (0) log
2020/04/24 01:19 38m bisect fix linux-4.14.y job log (0) log
2020/03/25 00:40 38m bisect fix linux-4.14.y job log (0) log

Sample crash report:
NOHZ: local_softirq_pending 08
FAT-fs (loop0): bogus number of reserved sectors
FAT-fs (loop0): Can't find a valid FAT filesystem
kasan: CONFIG_KASAN_INLINE enabled
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: 0 PID: 7387 Comm: syz-executor.0 Not tainted 4.14.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809b950280 task.stack: ffff8880a4a00000
RIP: 0010:kobject_uevent_env+0xa4/0xc80 lib/kobject_uevent.c:355
RSP: 0018:ffff8880a4a07ae8 EFLAGS: 00010206
RAX: 0000000000000018 RBX: ffff88808d6956c0 RCX: 1ffff1101372a15e
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff8880a4a07b68 R08: ffff88809b950280 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88809b950280 R12: dffffc0000000000
R13: 00000000000000a0 R14: 00000000000000a0 R15: ffff88808d695808
FS:  00000000029a2940(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000004 CR3: 00000000a057b000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kobject_uevent+0x20/0x30 lib/kobject_uevent.c:553
 loop_clr_fd+0x4a7/0xae0 drivers/block/loop.c:1069
 lo_ioctl+0x8d6/0x1cd0 drivers/block/loop.c:1424
 __blkdev_driver_ioctl block/ioctl.c:297 [inline]
 blkdev_ioctl+0x95f/0x1850 block/ioctl.c:594
 block_ioctl+0xde/0x120 fs/block_dev.c:1881
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45b207
RSP: 002b:00007fffe966c368 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045b207
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 000000000000009d R08: 0000000000000000 R09: 000000000000000a
R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffe966c3a0 R14: 000000000001c327 R15: 00007fffe966c3b0
Code: c1 e8 03 42 80 3c 20 00 0f 85 6c 0a 00 00 4d 8b 76 18 4d 85 f6 0f 84 27 02 00 00 e8 37 e9 f9 fa 49 8d 7e 20 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 3a 0a 00 00 4d 8b 7e 20 4d 85 ff 74 b4 e8 
RIP: kobject_uevent_env+0xa4/0xc80 lib/kobject_uevent.c:355 RSP: ffff8880a4a07ae8
---[ end trace b8eb63f8627e4887 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/06 17:48 linux-4.14.y e0f8b8a65a47 5be3a391 .config console log report syz ci2-linux-4-14
2020/02/24 00:40 linux-4.14.y 98db2bf27b9e d801cb02 .config console log report ci2-linux-4-14
2020/02/11 11:44 linux-4.14.y e0f8b8a65a47 084454ae .config console log report ci2-linux-4-14
2020/02/06 15:11 linux-4.14.y e0f8b8a65a47 5be3a391 .config console log report ci2-linux-4-14
2020/01/30 00:40 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.