syzbot


general protection fault in htab_elem_free_rcu

Status: upstream: reported C repro on 2020/07/11 17:03
Reported-by: syzbot+a9db0ab6a8e0ca14351d@syzkaller.appspotmail.com
First crash: 817d, last: 657d

Cause bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/27 20:30 18m linux-next error

Sample crash report:
general protection fault, probably for non-canonical address 0xf33bb70012bc003b: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x99ddd80095e001d8-0x99ddd80095e001df]
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.8.0-rc4-next-20200710-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:htab_elem_free kernel/bpf/hashtab.c:769 [inline]
RIP: 0010:htab_elem_free_rcu+0x4a/0x110 kernel/bpf/hashtab.c:779
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bc 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b f8 48 8d 7d 18 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 82 00 00 00 44 8b 65 18 bf 05
RSP: 0018:ffffc90000007e48 EFLAGS: 00010a03
RAX: dffffc0000000000 RBX: ffff888084800010 RCX: 0000000000000001
RDX: 133bbb0012bc003b RSI: ffffffff8186891e RDI: 99ddd80095e001de
RBP: 99ddd80095e001c6 R08: 0000000000000000 R09: ffffffff8c5b09f7
R10: fffffbfff18b613e R11: 0000000000000000 R12: ffffc90000007ed8
R13: ffff888084800000 R14: 0000000000000000 R15: ffffffff89a86580
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c6368 CR3: 0000000009a79000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_do_batch kernel/rcu/tree.c:2418 [inline]
 rcu_core+0x5dc/0x11d0 kernel/rcu/tree.c:2645
 __do_softirq+0x34c/0xa60 kernel/softirq.c:292
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 do_softirq_own_stack+0x111/0x170 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:387 [inline]
 __irq_exit_rcu kernel/softirq.c:417 [inline]
 irq_exit_rcu+0x229/0x270 kernel/softirq.c:429
 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1090
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: ff 4c 89 ef e8 93 66 c6 f9 e9 8e fe ff ff 48 89 df e8 86 66 c6 f9 eb 8a cc cc cc cc e9 07 00 00 00 0f 00 2d 34 9b 5b 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 24 9b 5b 00 f4 c3 cc cc 55 53 e8 09
RSP: 0018:ffffffff89a07c70 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffffffff89a86580 RSI: ffffffff87ed2968 RDI: ffffffff87ed293e
RBP: ffff8880a6a93064 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a6a93064
R13: 1ffffffff1340f98 R14: ffff8880a6a93065 R15: 0000000000000001
 arch_safe_halt arch/x86/include/asm/paravirt.h:150 [inline]
 acpi_safe_halt+0x8d/0x110 drivers/acpi/processor_idle.c:111
 acpi_idle_do_entry+0x15c/0x1b0 drivers/acpi/processor_idle.c:525
 acpi_idle_enter+0x3f9/0xab0 drivers/acpi/processor_idle.c:651
 cpuidle_enter_state+0xff/0x960 drivers/cpuidle/cpuidle.c:235
 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:346
 call_cpuidle kernel/sched/idle.c:126 [inline]
 cpuidle_idle_call kernel/sched/idle.c:214 [inline]
 do_idle+0x431/0x6d0 kernel/sched/idle.c:276
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:372
 start_kernel+0x9cb/0xa06 init/main.c:1045
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243
Modules linked in:
---[ end trace 5ce7b44eaacf6c96 ]---
RIP: 0010:htab_elem_free kernel/bpf/hashtab.c:769 [inline]
RIP: 0010:htab_elem_free_rcu+0x4a/0x110 kernel/bpf/hashtab.c:779
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bc 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b f8 48 8d 7d 18 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 82 00 00 00 44 8b 65 18 bf 05
RSP: 0018:ffffc90000007e48 EFLAGS: 00010a03
RAX: dffffc0000000000 RBX: ffff888084800010 RCX: 0000000000000001
RDX: 133bbb0012bc003b RSI: ffffffff8186891e RDI: 99ddd80095e001de
RBP: 99ddd80095e001c6 R08: 0000000000000000 R09: ffffffff8c5b09f7
R10: fffffbfff18b613e R11: 0000000000000000 R12: ffffc90000007ed8
R13: ffff888084800000 R14: 0000000000000000 R15: ffffffff89a86580
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c6368 CR3: 0000000009a79000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (440):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2020/07/11 05:15 linux-next d31958b30ea3 18d18b59 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/18 05:50 upstream d64c6f96ba86 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/16 09:55 upstream d635a69dd498 f213e07e .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/15 15:58 upstream 148842c98a24 97183ed7 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/07 15:36 upstream 0477e9288185 1190297f .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/25 16:16 upstream 127c501a03d5 1a1f4bd8 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/18 02:36 upstream 111e91a6df50 bd2a760b .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/08 23:25 upstream 9dbc1c03eeb5 64069d48 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/07 15:33 upstream 659caaf65dc9 64069d48 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/05 16:38 upstream 4ef8451b3326 64069d48 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/04 19:51 upstream 4ef8451b3326 cba33199 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/10/30 06:08 upstream 23859ae44402 a0c7169a .config log report info
ci-upstream-kasan-gce-root 2020/10/08 03:46 upstream c85fb28b6f99 1880b4a9 .config log report info
ci-upstream-kasan-gce-smack-root 2020/10/06 08:59 upstream 7575fdda569b 1880b4a9 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/09/14 05:06 upstream e4c26faa426c 2d3cdd63 .config log report
ci-upstream-kasan-gce-root 2020/09/09 20:06 upstream 34d4ddd359db 0ea7a887 .config log report
ci-upstream-kasan-gce-smack-root 2020/09/09 17:40 upstream 34d4ddd359db 0ea7a887 .config log report
ci-qemu-upstream-386 2020/08/12 18:47 upstream 00e4db51259a 0d7bd2e0 .config log report
ci-upstream-bpf-kasan-gce 2020/10/14 23:43 bpf 28802e7c0c99 fc7735a2 .config log report info
ci-upstream-bpf-kasan-gce 2020/10/01 05:10 bpf 9cf51446e686 8516f6d3 .config log report info
ci-upstream-bpf-kasan-gce 2020/09/27 22:20 bpf 87f92ac4c127 5dd8aee8 .config log report info
ci-upstream-bpf-kasan-gce 2020/09/17 14:08 bpf 642e450b6b59 8247808b .config log report info
ci-upstream-bpf-kasan-gce 2020/09/14 03:31 bpf fde6dedfb794 2d3cdd63 .config log report
ci-upstream-bpf-kasan-gce 2020/09/11 13:09 bpf fde6dedfb794 adfb8b4e .config log report
ci-upstream-bpf-kasan-gce 2020/09/11 04:00 bpf 746f534a4809 409809d8 .config log report
ci-upstream-bpf-kasan-gce 2020/09/10 12:59 bpf 746f534a4809 409809d8 .config log report
ci-upstream-bpf-kasan-gce 2020/09/10 05:20 bpf 746f534a4809 409809d8 .config log report
ci-upstream-bpf-kasan-gce 2020/09/09 15:49 bpf 746f534a4809 0ea7a887 .config log report
ci-upstream-net-this-kasan-gce 2020/09/09 05:36 net 843d926b003e abf9ba4f .config log report
ci-upstream-bpf-next-kasan-gce 2020/10/20 16:32 bpf-next 9ff9b0d392ea ff4a3345 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/10/19 18:18 bpf-next 9ff9b0d392ea ff4a3345 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/10/17 05:43 bpf-next 9ff9b0d392ea 6e262c73 .config log report info
ci-upstream-net-kasan-gce 2020/10/12 12:24 net-next bc081a693a56 4a77ae0b .config log report info
ci-upstream-bpf-next-kasan-gce 2020/10/10 21:28 bpf-next ac53a0d3107c 4a77ae0b .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/29 23:42 bpf-next 00e8c44a147a 5abc3f1a .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/29 20:37 bpf-next 00e8c44a147a 5abc3f1a .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/26 23:39 bpf-next ba5f4cfeac77 2d5ea0cb .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/24 00:15 bpf-next a8a717963fe5 287cd75a .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/20 18:19 bpf-next 70b971118e07 9564d2e9 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/19 23:26 bpf-next 70b971118e07 53ce8104 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/19 19:16 bpf-next 70b971118e07 53ce8104 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/18 23:40 bpf-next b6ed6cf4a3ac 53ce8104 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/17 18:58 bpf-next c64779e24e88 8247808b .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/16 16:28 bpf-next ffa915f46193 18d7d030 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/09/12 12:16 bpf-next 2bab48c5bef0 79fb24e2 .config log report
ci-upstream-net-kasan-gce 2020/09/10 22:25 net-next 4f6a5caf187f 409809d8 .config log report
ci-upstream-net-kasan-gce 2020/09/10 18:29 net-next 4f6a5caf187f 409809d8 .config log report
ci-upstream-bpf-next-kasan-gce 2020/09/10 16:19 bpf-next 8081ede1f731 409809d8 .config log report
ci-upstream-net-kasan-gce 2020/09/10 12:38 net-next b599a5b9e166 409809d8 .config log report
ci-upstream-bpf-next-kasan-gce 2020/09/10 08:28 bpf-next 7fb5eefd7639 409809d8 .config log report
ci-upstream-bpf-next-kasan-gce 2020/09/10 00:52 bpf-next 7fb5eefd7639 409809d8 .config log report
ci-upstream-net-kasan-gce 2020/09/09 18:59 net-next f5499c67477e 0ea7a887 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/10/01 04:00 linux-next de69ee6df1cf 8516f6d3 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/09/23 20:59 linux-next dcf2427baa64 287cd75a .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/07/11 04:48 linux-next d31958b30ea3 18d18b59 .config log report
* Struck through repros no longer work on HEAD.