syzbot


BUG: unable to handle kernel paging request in slhc_free

Status: fixed on 2020/03/11 20:34
Reported-by: syzbot+6c5d567447bfa30f78e2@syzkaller.appspotmail.com
Fix commit: baf76f0c58ae slip: make slhc_free() silently accept an error pointer
First crash: 1324d, last: 1203d

Cause bisection: introduced by (bisect log) :
commit e41d58185f1444368873d4d7422f7664a68be61d
Author: Dmitry Vyukov <dvyukov@google.com>
Date: Wed Jul 12 21:34:35 2017 +0000

  fault-inject: support systematic fault injection

Crash: BUG: unable to handle kernel paging request in slhc_free (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit baf76f0c58aec435a3a864075b8f6d8ee5d1f17e
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Apr 25 23:13:58 2019 +0000

  slip: make slhc_free() silently accept an error pointer

similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel paging request in slhc_free 1 1198d 1198d 0/1 auto-closed as invalid on 2019/10/25 08:43
linux-4.14 BUG: unable to handle kernel paging request in slhc_free C done 4 985d 1212d 1/1 fixed on 2019/12/30 15:48

Sample crash report:
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440359
RDX: 0000000020000080 RSI: 0000000000005423 RDI: 0000000000000003
RBP: 00000000006cb018 R08: 0000000000000001 R09: 0000000000000039
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
BUG: unable to handle kernel paging request at fffffffffffffff4
PGD 946d067 P4D 946d067 PUD 946f067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8225 Comm: syz-executor096 Not tainted 4.20.0 #167
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:slhc_free+0x30/0xb0 drivers/net/slip/slhc.c:159
Code: 53 48 89 fb e8 71 04 ad fc 48 85 db 74 74 e8 67 04 ad fc 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 69 <4c> 8b 23 4d 85 e4 74 0d e8 43 04 ad fc 4c 89 e7 e8 bb e1 ef fc e8
RSP: 0018:ffff8881c1a0f770 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: 1ffff1103408b936
RDX: 1ffffffffffffffe RSI: ffffffff84d15439 RDI: fffffffffffffff4
RBP: ffff8881c1a0f780 R08: ffff8881a045c9b0 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8881a045c0c0 R12: 00000000ffffff97
R13: ffff8881c0ca04c0 R14: ffff8881c0daed00 R15: ffff8881c2152ac0
FS:  000000000078a880(0000) GS:ffff8881daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff4 CR3: 00000001b0909000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 sl_alloc_bufs drivers/net/slip/slip.c:196 [inline]
 slip_open+0xdee/0x1107 drivers/net/slip/slip.c:821
 tty_ldisc_open.isra.1+0x8b/0xe0 drivers/tty/tty_ldisc.c:453
 tty_set_ldisc+0x2dc/0x6a0 drivers/tty/tty_ldisc.c:578
 tiocsetd drivers/tty/tty_io.c:2321 [inline]
 tty_ioctl+0x39d/0x17d0 drivers/tty/tty_io.c:2581
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696
 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440359
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff63454bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440359
RDX: 0000000020000080 RSI: 0000000000005423 RDI: 0000000000000003
RBP: 00000000006cb018 R08: 0000000000000001 R09: 0000000000000039
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: fffffffffffffff4
---[ end trace 45b654871fafdc18 ]---
RIP: 0010:slhc_free+0x30/0xb0 drivers/net/slip/slhc.c:159
Code: 53 48 89 fb e8 71 04 ad fc 48 85 db 74 74 e8 67 04 ad fc 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 69 <4c> 8b 23 4d 85 e4 74 0d e8 43 04 ad fc 4c 89 e7 e8 bb e1 ef fc e8
RSP: 0018:ffff8881c1a0f770 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: 1ffff1103408b936
RDX: 1ffffffffffffffe RSI: ffffffff84d15439 RDI: fffffffffffffff4
RBP: ffff8881c1a0f780 R08: ffff8881a045c9b0 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8881a045c0c0 R12: 00000000ffffff97
R13: ffff8881c0ca04c0 R14: ffff8881c0daed00 R15: ffff8881c2152ac0
FS:  000000000078a880(0000) GS:ffff8881daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff4 CR3: 00000001b0909000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (177):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2018/12/25 02:45 upstream 8fe28cb58bcb 8a41a0ad .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/04/25 19:18 upstream f6f3e747454f f46aabc8 .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/25 08:37 upstream cd8dead0c394 8e3c52b1 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/23 23:18 upstream 7142eaa58b49 4d3d6a50 .config log report
ci-upstream-kasan-gce-root 2019/04/23 13:06 upstream 085b7755808a 53199d6e .config log report
ci-upstream-kasan-gce-root 2019/04/23 06:00 upstream 085b7755808a 53199d6e .config log report
ci-upstream-kasan-gce-smack-root 2019/04/22 14:59 upstream 085b7755808a 0a77c33c .config log report
ci-upstream-kasan-gce-smack-root 2019/04/21 23:18 upstream 085b7755808a b0e8efcb .config log report
ci-upstream-kasan-gce-smack-root 2019/04/21 21:42 upstream 085b7755808a b0e8efcb .config log report
ci-upstream-kasan-gce-root 2019/04/21 03:29 upstream 9e5de623a0cb b0e8efcb .config log report
ci-upstream-kasan-gce-root 2019/04/20 12:48 upstream 371dd432ab39 b0e8efcb .config log report
ci-upstream-kasan-gce-root 2019/04/20 02:13 upstream 3ecafda911f4 b0e8efcb .config log report
ci-upstream-kasan-gce-root 2019/04/18 08:52 upstream fe5cdef29e41 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/17 22:39 upstream fe5cdef29e41 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/17 17:17 upstream 444fe9913539 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/17 08:36 upstream 444fe9913539 b0e8efcb .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/16 06:52 upstream 5512320c9f6f 505ab413 .config log report
ci-upstream-kasan-gce-root 2019/04/16 04:07 upstream 618d919cae2f 505ab413 .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/15 03:38 upstream dc4060a5dc25 505ab413 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/14 12:45 upstream 4443f8e6ac77 505ab413 .config log report
ci-upstream-kasan-gce-root 2019/04/14 03:52 upstream b60bc0665e6a c402d8f1 .config log report
ci-upstream-kasan-gce-root 2019/04/12 00:27 upstream 2d06b235815e 13030ef8 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/11 03:47 upstream 771acc7e4a6e e955ac50 .config log report
ci-upstream-kasan-gce-root 2019/04/09 11:28 upstream 869e3305f23d 995065ff .config log report
ci-upstream-kasan-gce-root 2019/04/09 02:03 upstream fd008d1a7a20 0dfb0452 .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/07 15:10 upstream faac51ddac45 c34fde03 .config log report
ci-upstream-kasan-gce-root 2019/04/07 03:56 upstream faac51ddac45 c34fde03 .config log report
ci-upstream-kasan-gce-root 2019/04/06 19:56 upstream f654f0fc0bd3 c34fde03 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/05 19:43 upstream ea2cec24c8d4 40f2363e .config log report
ci-upstream-kasan-gce-smack-root 2019/04/05 08:26 upstream 8e22ba96d44c e5d1b3ac .config log report
ci-upstream-kasan-gce-root 2019/04/03 14:03 upstream a816fd6b49b6 dfd3394d .config log report
ci-upstream-kasan-gce-root 2019/03/27 05:58 upstream 65ae689329c5 55684ce1 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/26 18:50 upstream a3ac7917b730 55684ce1 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/25 04:07 upstream 8c2ffd917477 2c86e0a5 .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/24 12:30 upstream 1bdd3dbfff7a acbc5b7d .config log report
ci-upstream-kasan-gce-smack-root 2019/03/24 01:04 upstream a5ed1e96cafd a2cef203 .config log report
ci-upstream-kasan-gce-root 2019/03/22 09:08 upstream 0939221e6468 dce6e62f .config log report
ci-upstream-kasan-gce-selinux-root 2019/03/20 09:24 upstream b7a42146dca3 2458c1c6 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/20 01:56 upstream b7a42146dca3 2458c1c6 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/19 17:37 upstream 9e98c678c2d6 e4549234 .config log report
ci-upstream-kasan-gce-selinux-root 2018/12/25 01:38 upstream 8fe28cb58bcb 8a41a0ad .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/18 04:37 linux-next a74942526152 b0e8efcb .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/15 00:26 linux-next bcb67f0fbce9 505ab413 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/14 14:07 linux-next bcb67f0fbce9 505ab413 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/13 16:20 linux-next bcb67f0fbce9 c402d8f1 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/12 19:05 linux-next bcb67f0fbce9 8916f5e1 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/10 14:02 linux-next 87b81df1a63d 65b612b7 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/04/09 15:42 linux-next cfd24a53adb8 995065ff .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/26 21:09 linux-next ab8bba4ec4b9 55684ce1 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/26 16:51 linux-next ab8bba4ec4b9 55684ce1 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/03/19 07:39 linux-next 75e6a83b189c 46264c32 .config log report