syzbot


general protection fault in kobject_uevent_env

Status: public: reported C repro on 2019/04/11 00:00
Reported-by: syzbot+3488a96084ba56469504@syzkaller.appspotmail.com
First crash: 2128d, last: 1815d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in kobject_uevent_env syz error 26 1723d 1986d 0/1 upstream: reported syz repro on 2019/06/15 15:20

Sample crash report:
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 NOPTI
Modules linked in:
CPU: 0 PID: 2385 Comm: blkid Not tainted 4.14.110+ #47
task:         (ptrval) task.stack:         (ptrval)
RIP: 0010:kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348
RSP: 0018:ffff8881c243fc10 EFLAGS: 00010206
RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff11038486104
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff8881c252c1d0 R08: 0000000000000001 R09: 0000000000000003
R10: ffff8881c24308a8 R11: 0000000000000001 R12: 00000000000000a0
R13: dffffc0000000000 R14: ffff8881c252c148 R15: 00000000000000a0
FS:  00007f8fb36cc740(0000) GS:ffff8881d7400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200009c0 CR3: 00000001c250e004 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 loop_clr_fd+0x49e/0xac0 drivers/block/loop.c:1060
 __lo_release drivers/block/loop.c:1650 [inline]
 lo_release+0xfc/0x190 drivers/block/loop.c:1668
 __blkdev_put+0x518/0x6d0 fs/block_dev.c:1791
 blkdev_close+0x86/0xb0 fs/block_dev.c:1863
 __fput+0x25e/0x700 fs/file_table.c:210
 task_work_run+0x118/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x13b/0x160 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:267 [inline]
 do_syscall_64+0x372/0x4b0 arch/x86/entry/common.c:294
Code: 03 42 80 3c 28 00 0f 85 7c 0a 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 4f 02 00 00 e8 1a 35 b0 fe 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 48 0a 00 00 49 8b 6c 24 20 48 85 ed 74 b0 
RIP: kobject_uevent_env+0x62/0xc60 lib/kobject_uevent.c:348 RSP: ffff8881c243fc10
---[ end trace b7c838333398490f ]---

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/03 12:05 android-4.14 588c62994468 dfd3394d .config console log report syz C ci-android-414-kasan-gce-root
2019/07/02 10:30 android-4.14 71162e6530df cccc4302 .config console log report syz ci-android-414-kasan-gce-root
2019/02/10 20:38 android-4.14 57de59b3cf53 b4f792e4 .config console log report syz ci-android-414-kasan-gce-root
2019/01/26 20:43 android-4.14 70014b13c28c c73f090a .config console log report syz ci-android-414-kasan-gce-root
2019/12/02 18:25 android-4.14 13855a652bd5 f879db37 .config console log report ci-android-414-kasan-gce-root
2019/12/01 18:23 android-4.14 13855a652bd5 a76bf83f .config console log report ci-android-414-kasan-gce-root
2019/11/29 06:51 android-4.14 714ada7cabc7 76357d6f .config console log report ci-android-414-kasan-gce-root
2019/11/24 22:53 android-4.14 437a2a739c5f 598ca6c8 .config console log report ci-android-414-kasan-gce-root
2019/11/15 20:00 android-4.14 460dc7c31cef cdac920b .config console log report ci-android-414-kasan-gce-root
2019/11/15 02:46 android-4.14 460dc7c31cef a24fe792 .config console log report ci-android-414-kasan-gce-root
2019/11/14 22:57 android-4.14 babe48d2e987 a24fe792 .config console log report ci-android-414-kasan-gce-root
2019/11/13 15:17 android-4.14 0ac69147fd8c 048f2d49 .config console log report ci-android-414-kasan-gce-root
2019/11/13 03:57 android-4.14 0ac69147fd8c 048f2d49 .config console log report ci-android-414-kasan-gce-root
2019/11/12 12:25 android-4.14 10e570bfc15a 048f2d49 .config console log report ci-android-414-kasan-gce-root
2019/11/09 15:18 android-4.14 81144e705f48 dc438b91 .config console log report ci-android-414-kasan-gce-root
2019/11/09 02:06 android-4.14 81144e705f48 dc438b91 .config console log report ci-android-414-kasan-gce-root
2019/10/24 19:35 android-4.14 fb1827d6f2b8 d01bb02a .config console log report ci-android-414-kasan-gce-root
2019/10/21 11:22 android-4.14 234de92896af 8c88c9c1 .config console log report ci-android-414-kasan-gce-root
2019/10/14 22:09 android-4.14 693bea3acb3d 05ad7292 .config console log report ci-android-414-kasan-gce-root
2019/10/12 12:56 android-4.14 1d75f58e4e19 426631dd .config console log report ci-android-414-kasan-gce-root
2019/10/12 10:40 android-4.14 1d75f58e4e19 426631dd .config console log report ci-android-414-kasan-gce-root
2019/10/12 02:01 android-4.14 5faab626bf1f 426631dd .config console log report ci-android-414-kasan-gce-root
2019/10/09 03:45 android-4.14 82b2a4a52e93 b1ebbfef .config console log report ci-android-414-kasan-gce-root
2019/10/04 15:03 android-4.14 199ab25eb006 b2f369e5 .config console log report ci-android-414-kasan-gce-root
2019/09/19 06:47 android-4.14 6bb0e9159cb6 46c0be24 .config console log report ci-android-414-kasan-gce-root
2019/09/08 01:53 android-4.14 4eccd8013349 a60cb4cd .config console log report ci-android-414-kasan-gce-root
2019/08/05 01:24 android-4.14 20c71e6d5a16 6affd8e8 .config console log report ci-android-414-kasan-gce-root
2019/08/04 12:30 android-4.14 20c71e6d5a16 6affd8e8 .config console log report ci-android-414-kasan-gce-root
2019/07/22 08:00 android-4.14 269f182fac0b b3c615f5 .config console log report ci-android-414-kasan-gce-root
2019/06/30 18:54 android-4.14 71162e6530df 699d6448 .config console log report ci-android-414-kasan-gce-root
2019/04/20 06:35 android-4.14 4353393c9d4a b0e8efcb .config console log report ci-android-414-kasan-gce-root
2019/04/03 09:34 android-4.14 588c62994468 dfd3394d .config console log report ci-android-414-kasan-gce-root
2019/03/22 21:28 android-4.14 cfbe30be85c4 3361bde5 .config console log report ci-android-414-kasan-gce-root
2019/03/19 05:31 android-4.14 ea583d160621 46264c32 .config console log report ci-android-414-kasan-gce-root
2019/03/17 12:17 android-4.14 8ed9bc6e6401 ba18afea .config console log report ci-android-414-kasan-gce-root
2019/03/03 13:32 android-4.14 934272e9380b 1c0e457a .config console log report ci-android-414-kasan-gce-root
2019/02/26 11:16 android-4.14 38aeba63ed0d a36ecd98 .config console log report ci-android-414-kasan-gce-root
2019/02/18 16:59 android-4.14 4a739e3530cc 59f36113 .config console log report ci-android-414-kasan-gce-root
2019/02/09 21:00 android-4.14 57de59b3cf53 d75f7686 .config console log report ci-android-414-kasan-gce-root
2019/02/04 04:41 android-4.14 80d7b06534fa c198d5dd .config console log report ci-android-414-kasan-gce-root
2019/02/02 02:17 android-4.14 80d7b06534fa 564f9a4f .config console log report ci-android-414-kasan-gce-root
2019/01/26 18:18 android-4.14 70014b13c28c c73f090a .config console log report ci-android-414-kasan-gce-root
2019/01/24 15:06 android-4.14 d34411de9b95 ce1ccf97 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.