syzbot


general protection fault in klist_iter_exit

Status: auto-obsoleted due to no activity on 2022/09/16 23:48
Reported-by: syzbot+e690c969b19e84332c36@syzkaller.appspotmail.com
First crash: 574d, last: 263d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 52b52e91899bc5a76a77b42ec1bdf245aee0286e
Author: Gustavo A. R. Silva <gustavoars@kernel.org>
Date: Thu Jul 23 22:32:25 2020 +0000

  tty: Fix identation issues in struct serial_struct32

Crash: SYZFAIL: wrong response packet (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  d310ec03a34e Merge tag 'perf-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
  9c1be1935fb6 net: initialize init_net earlier
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in klist_iter_exit 1 297d 297d 0/1 auto-closed as invalid on 2022/04/04 03:07
linux-4.19 general protection fault in klist_iter_exit C error 89 30d 533d 0/1 upstream: reported C repro on 2021/04/12 19:06
android-54 general protection fault in klist_iter_exit 1 279d 279d 0/2 auto-closed as invalid on 2022/04/22 15:11
android-5-10 general protection fault in klist_iter_exit C error 5 291d 327d 1/2 fixed on 2021/12/20 18:14
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/16 20:29 16m net-next OK log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 3882 Comm: kworker/0:3 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events netlink_sock_destruct_work
RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:313
Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 24 30 98 fd 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 fb 2f 98 fd 31 f6
RSP: 0018:ffffc9000312fbf8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff83daa98c RDI: 0000000000000000
RBP: 0000000000000008 R08: 0000000000000000 R09: ffffffff8d6fc867
R10: fffffbfff1adf90c R11: 1ffffffff1ede8aa R12: ffff888143cb7540
R13: 0000000000000000 R14: ffff88801bce1520 R15: ffff8880b9c34980
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a3562f1f0 CR3: 0000000017103000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 nfc_device_iter_exit net/nfc/nfc.h:121 [inline]
 nfc_genl_dump_devices_done+0x31/0x50 net/nfc/netlink.c:639
 genl_lock_done+0x8d/0x100 net/netlink/genetlink.c:636
 netlink_sock_destruct+0x96/0x2b0 net/netlink/af_netlink.c:398
 __sk_destruct+0x4b/0x900 net/core/sock.c:1795
 sk_destruct+0xbd/0xe0 net/core/sock.c:1839
 __sk_free+0xef/0x3d0 net/core/sock.c:1850
 sk_free+0x78/0xa0 net/core/sock.c:1861
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (54):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2021/03/03 02:38 net-next d310ec03a34e e5b64d68 .config log report syz C general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/12/08 00:24 upstream cd8c917a56f2 0230ba3e .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/12/05 14:00 upstream 79a72162048e a617004c .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/12/03 17:51 upstream 5f58da2befa5 c7c20675 .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream 2021/11/30 05:55 upstream d58071a8a76d d0830353 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/11/27 05:39 upstream c5c17547b778 63eeac02 .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream 2021/11/22 18:40 upstream 136057256686 545ab074 .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream 2021/11/21 15:10 upstream 923dcc5eb0c1 4eb20a4e .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream 2021/11/12 08:55 upstream 5833291ab6de 75b04091 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/11/09 16:41 upstream d2f38a3c6507 59bcaf9a .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/11/07 00:27 upstream 512b7931ad05 4c1be0be .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream 2021/11/02 09:59 upstream e66435936756 098b5d53 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/10/21 00:52 upstream 8e37395c3a5d f111d03b .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/10/11 00:23 upstream efb52a7d9511 838e7e2c .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/09/26 11:10 upstream a5e0aceabef6 8cac236e .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/09/12 12:59 upstream 78e709522d2c 5ae8508a .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/08/19 13:38 upstream d6d09a694205 a2fe1cb5 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-smack-root 2021/08/19 13:31 upstream d6d09a694205 a2fe1cb5 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/08/15 21:48 upstream 0aa78d17099b 2489ab88 .config log report info general protection fault in klist_iter_exit
ci-upstream-kasan-gce-root 2021/07/15 06:05 upstream 8096acd7442e b9a2f64e .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream-386 2021/12/03 20:53 upstream 5f58da2befa5 c7c20675 .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream-386 2021/11/14 09:26 upstream ccfff0a2bd2a 83f5c9b5 .config log report info general protection fault in klist_iter_exit
ci-qemu-upstream-386 2021/11/06 16:58 upstream fe91c4725aee 4c1be0be .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/12/01 18:41 net b0f38e15979f 5fa3eacc .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/11/26 01:42 net 9dbe33cf371b 63eeac02 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/11/07 20:35 net 08fcdfa6e3ae 4c1be0be .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/11/03 19:25 net db2434343b2c 4c1be0be .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/10/26 20:36 net 759635760a80 d50eb50a .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/09/29 09:51 net 4ccb9f03fee7 d82cb927 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/08/24 19:47 net 3b0720ba00a7 b599f2fc .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/08/20 23:34 net a8f89fa27773 b599f2fc .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/08/18 17:26 net 1b80fec7b043 a2fe1cb5 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/08/09 00:55 net 2383cb9497d1 6972b106 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/07/18 02:16 net 5b69874f74cc f115ae98 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-this-kasan-gce 2021/06/10 05:45 net 13c62f5371e3 1ba81399 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/12/08 15:28 net-next 150791442e7c a4a2a501 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/12/06 11:21 net-next ce83278f313c 579a8754 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/12/04 22:12 net-next ce83278f313c a617004c .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/12/02 14:42 net-next ce8299b6f76f 61f86278 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/11/16 08:59 net-next 3ad4b7c81a99 83f5c9b5 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/11/14 14:04 net-next 1274a4eb318d 83f5c9b5 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/11/12 15:37 net-next 5833291ab6de 75b04091 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/11/02 08:06 net-next 047304d0bfa5 098b5d53 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/10/29 03:16 net-next f2edaa4ad5d5 be531bb4 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/10/05 19:08 net-next 49ed8dde3715 0a63fd36 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/08/19 13:15 net-next 19b8ece42c56 a2fe1cb5 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/07/10 17:51 net-next 5e437416ff66 8f5a7b8c .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/07/01 17:51 net-next dbe69e433722 658ebc66 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/06/08 10:28 net-next dc8cf7550a70 b718257f .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/05/15 03:02 net-next 30515832e987 8bdd5343 .config log report info general protection fault in klist_iter_exit
ci-upstream-net-kasan-gce 2021/03/03 02:17 net-next d310ec03a34e e5b64d68 .config log report info general protection fault in klist_iter_exit
ci-upstream-linux-next-kasan-gce-root 2021/11/06 06:23 linux-next 6a37ebbe07bf 4c1be0be .config log report info general protection fault in klist_iter_exit
ci-upstream-linux-next-kasan-gce-root 2021/09/28 00:27 linux-next bf5b1e621a51 78494d16 .config log report info general protection fault in klist_iter_exit
ci-upstream-linux-next-kasan-gce-root 2021/08/09 00:58 linux-next 7999516e20bd 6972b106 .config log report info general protection fault in klist_iter_exit
* Struck through repros no longer work on HEAD.