syzbot


BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer

Status: closed as dup on 2022/11/30 09:28
Subsystems: nfc net
[Documentation on labels]
Reported-by: syzbot+10257d01dd285b15170a@syzkaller.appspotmail.com
First crash: 517d, last: 441d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in nci_send_cmd net nfc C 13 503d 517d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer 2 (4) 2022/11/30 09:28
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/11/16 13:11 16m linma@zju.edu.cn https://github.com/f0rm2l1n/linux-fix.git master OK log
2022/11/16 12:39 15m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 9500fc6e9e60 OK log

Sample crash report:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004
  CM = 0, WnR = 0
user pgtable: 4k pages, 48-bit VAs, pgdp=000000010677a000
[0000000000000000] pgd=0000000000000000, p4d=0000000000000000
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.0-rc2-syzkaller-154433-g247f34f7b803 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
pstate: 004000c5 (nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __queue_work+0x3c4/0x8b4
lr : __queue_work+0x3c4/0x8b4 kernel/workqueue.c:1458
sp : ffff80000800bd60
x29: ffff80000800bd60 x28: 0000000000000001 x27: ffff80000d379000
x26: ffff80000d37d050 x25: ffff80000d2ce008 x24: ffff80000db23000
x23: 0000000000000000 x22: 0000000000000015 x21: ffff0000cdc87c00
x20: 0000000000000008 x19: ffff0000cbd9c0f8 x18: 0000000000000162
x17: ffff80000c0cd83c x16: 0000000000004d92 x15: 000000000000067c
x14: 0000000000000192 x13: 0000000000004c30 x12: 0000000000000400
x11: ff8080000c05b8bc x10: 0000000000000000 x9 : ffff80000c05b8bc
x8 : ffff0000c0328000 x7 : 0000000000000000 x6 : ffff80000813bae8
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c0014c00
Call trace:
 __queue_work+0x3c4/0x8b4 kernel/workqueue.c:1458
 queue_work_on+0xb0/0x15c kernel/workqueue.c:1545
 queue_work include/linux/workqueue.h:503 [inline]
 nci_cmd_timer+0x30/0x40 net/nfc/nci/core.c:615
 call_timer_fn+0x90/0x144 kernel/time/timer.c:1474
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers+0x280/0x374 kernel/time/timer.c:1790
 run_timer_softirq+0x34/0x5c kernel/time/timer.c:1803
 _stext+0x168/0x37c
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
 call_on_irq_stack+0x2c/0x54 arch/arm64/kernel/entry.S:889
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:84
 invoke_softirq+0x70/0xbc kernel/softirq.c:452
 __irq_exit_rcu+0xf0/0x140 kernel/softirq.c:650
 irq_exit_rcu+0x10/0x40 kernel/softirq.c:662
 __el1_irq arch/arm64/kernel/entry-common.c:471 [inline]
 el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:485
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:490
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:577
 arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:35
 default_idle_call+0x48/0xb8 kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x110/0x2d4 kernel/sched/idle.c:303
 cpu_startup_entry+0x24/0x28 kernel/sched/idle.c:400
 secondary_start_kernel+0x154/0x17c arch/arm64/kernel/smp.c:265
 __secondary_switched+0xb0/0xb4 arch/arm64/kernel/head.S:618
Code: 94001384 aa0003f7 aa1303e0 9400144a (f94002f8) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	94001384 	bl	0x4e10
   4:	aa0003f7 	mov	x23, x0
   8:	aa1303e0 	mov	x0, x19
   c:	9400144a 	bl	0x5134
* 10:	f94002f8 	ldr	x24, [x23] <-- trapping instruction

Crashes (122):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/06 11:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/16 08:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/22 21:17 upstream eb7081409f94 1c8e10bc .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/22 07:00 upstream eb7081409f94 1c576c23 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/19 18:59 upstream fe24a97cf254 5bb70014 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/19 18:46 upstream fe24a97cf254 5bb70014 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/16 02:23 upstream 81e7cfa3a9eb bfcab33d .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in nci_cmd_timer
2022/11/24 22:48 upstream c3eb11fbb826 3b903dad .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/24 20:35 upstream c3eb11fbb826 3b903dad .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/24 11:02 upstream 4312098baf37 ff68ff8f .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/24 07:33 upstream 4312098baf37 ff68ff8f .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/23 18:29 upstream eb7081409f94 52fdf57a .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/23 08:42 upstream eb7081409f94 75740b3f .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/22 09:05 upstream eb7081409f94 1c576c23 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/22 07:53 upstream eb7081409f94 1c576c23 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/21 21:05 upstream eb7081409f94 f9a97739 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/21 19:12 upstream eb7081409f94 f9a97739 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/21 17:50 upstream eb7081409f94 f9a97739 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/21 09:36 upstream eb7081409f94 5bb70014 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/21 01:14 upstream 77c51ba552a1 5bb70014 .config console log report info ci-qemu2-arm64 KASAN: use-after-free Read in nci_cmd_timer
2022/11/20 23:46 upstream 77c51ba552a1 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/20 12:59 upstream b6e7fdfd6f6a 5bb70014 .config console log report info ci-qemu2-arm64 KASAN: use-after-free Read in nci_cmd_timer
2022/11/20 10:53 upstream b6e7fdfd6f6a 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/20 06:18 upstream b6e7fdfd6f6a 5bb70014 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in nci_cmd_timer
2022/11/19 22:28 upstream fe24a97cf254 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/19 09:28 upstream ab290eaddc4c 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/19 06:48 upstream ab290eaddc4c 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2022/11/19 05:29 upstream ab290eaddc4c 5bb70014 .config console log report info ci-qemu2-arm64-mte KASAN: use-after-free Read in nci_cmd_timer
2023/01/31 12:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/30 01:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/27 11:49 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/25 19:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/24 08:45 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/23 10:49 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/22 05:03 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 7374c4e5 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/09 00:54 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 1dac8c7a .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/08 09:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 1dac8c7a .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/06 17:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 1dac8c7a .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/06 02:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 1dac8c7a .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/05 19:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 1dac8c7a .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/02 23:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d ab32d508 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2023/01/02 09:40 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d ab32d508 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/30 09:53 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 44712fbc .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/29 11:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 44712fbc .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/25 07:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 9da18ae8 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/24 19:32 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 9da18ae8 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/18 23:37 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 05494336 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/12 06:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 67be1ae7 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/08 00:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d d88f3abb .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/07 16:01 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d d88f3abb .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
2022/12/04 02:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d e080de16 .config console log report info ci-qemu2-riscv64 KASAN: use-after-free Read in nci_cmd_timer
* Struck through repros no longer work on HEAD.