syzbot


KASAN: slab-out-of-bounds Write in record_print_text
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+a42d84593d6a89a76f26@syzkaller.appspotmail.com
Fix commit: 08d60e599954 printk: fix string termination for record_print_text()
First crash: 315d, last: 308d

Cause bisection: introduced by (bisect log) :
commit f0e386ee0c0b71ea6f7238506a4d0965a2dbef11
Author: John Ogness <john.ogness@linutronix.de>
Date: Thu Jan 14 17:04:12 2021 +0000

  printk: fix buffer overflow potential for print_text()

Crash: INFO: trying to register non-static key in ipv6_get_lladdr (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) [no-op commit]:
commit 38d26b244367e84ed657ac4f5093ae9e71c8a7a2
Author: Michael Walle <michael@walle.cc>
Date: Mon Dec 28 13:00:31 2020 +0000

  enetc: drop unneeded indirection

similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: global-out-of-bounds Write in record_print_text C done unreliable 45 310d 311d 0/22 upstream: reported C repro on 2021/01/25 21:14

Sample crash report:

Crashes (17):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/01/25 04:50 upstream e68061375f79 52e37319 .config log report syz C KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-root 2021/01/25 04:39 upstream e68061375f79 52e37319 .config log report syz C KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/25 04:41 linux-next bc085f8fc88f 52e37319 .config log report syz C KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-selinux-root 2021/01/25 04:12 upstream e68061375f79 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-root 2021/01/25 04:10 upstream e68061375f79 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-root 2021/01/25 04:09 upstream e68061375f79 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-selinux-root 2021/01/23 00:43 upstream 83d09ad4b950 4080af96 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-selinux-root 2021/01/23 00:31 upstream 83d09ad4b950 4080af96 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-kasan-gce-386 2021/01/22 03:34 upstream 9f29bd8b2e71 d4f4eca5 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/28 07:40 linux-next bc085f8fc88f eefc07f2 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/28 04:15 linux-next bc085f8fc88f eefc07f2 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/26 11:10 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/26 11:05 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/26 10:30 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/26 07:21 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/25 04:09 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text
ci-upstream-linux-next-kasan-gce-root 2021/01/25 04:09 linux-next bc085f8fc88f 52e37319 .config log report info KASAN: slab-out-of-bounds Write in record_print_text