syzbot


general protection fault in hrtimer_try_to_cancel

Status: closed as invalid on 2021/10/06 01:09
Subsystems: kernel
[Documentation on labels]
First crash: 1048d, last: 993d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in hrtimer_try_to_cancel origin:upstream C 41 6d18h 131d 0/2 upstream: reported C repro on 2023/11/18 21:21
android-6-1 general protection fault in hrtimer_try_to_cancel origin:upstream C done 24 18d 131d 0/2 upstream: reported C repro on 2023/11/18 15:06
linux-6.1 general protection fault in hrtimer_try_to_cancel 1 143d 143d 0/3 auto-obsoleted due to no activity on 2024/02/14 17:05
linux-6.1 general protection fault in hrtimer_try_to_cancel (2) 1 23d 23d 0/3 upstream: reported on 2024/03/05 18:46
android-54 general protection fault in hrtimer_try_to_cancel C 1 1037d 1037d 0/2 upstream: reported C repro on 2021/05/27 07:43

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 12715 Comm: syz-executor.2 Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__seqprop_raw_spinlock_sequence include/linux/seqlock.h:276 [inline]
RIP: 0010:hrtimer_active kernel/time/hrtimer.c:1463 [inline]
RIP: 0010:hrtimer_try_to_cancel+0x7c/0x420 kernel/time/hrtimer.c:1180
Code: d7 10 00 48 8b 5c 24 10 48 8b 44 24 08 42 80 3c 30 00 74 08 48 89 df e8 a2 c2 58 00 4c 8b 3b 4d 8d 67 10 4c 89 e3 48 c1 eb 03 <42> 8a 04 33 84 c0 0f 85 0b 01 00 00 41 8b 2c 24 89 ee 83 e6 01 31
RSP: 0018:ffffc90009aef510 EFLAGS: 00010202
RAX: 1ffffd1ffff925e8 RBX: 0000000000000002 RCX: 1ffffd1ffff925e9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffe8ffffc92f10
RBP: ffffe8ffffc92f10 R08: ffffffff87e0009f R09: fffff91ffff925c1
R10: fffff91ffff925c1 R11: 0000000000000000 R12: 0000000000000010
R13: ffffe8ffffc92d98 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f6f9b26f700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6272f6f718 CR3: 0000000019649000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 hrtimer_cancel+0x12/0x50 kernel/time/hrtimer.c:1295
 napi_disable+0x107/0x150 net/core/dev.c:6893
 gro_cells_destroy+0x124/0x3b0 net/core/gro_cells.c:101
 ip_tunnel_dev_free+0x15/0x50 net/ipv4/ip_tunnel.c:1000
 netdev_run_todo+0xa80/0xcd0 net/core/dev.c:10556
 ip_tunnel_delete_nets+0x32a/0x370 net/ipv4/ip_tunnel.c:1114
 ops_exit_list net/core/net_namespace.c:178 [inline]
 setup_net+0x7c3/0x9d0 net/core/net_namespace.c:356
 copy_net_ns+0x392/0x5e0 net/core/net_namespace.c:474
 create_new_namespaces+0x4ce/0xa00 kernel/nsproxy.c:110
 copy_namespaces+0x2f6/0x350 kernel/nsproxy.c:178
 copy_process+0x2534/0x57f0 kernel/fork.c:2119
 kernel_clone+0x21a/0x7d0 kernel/fork.c:2503
 __do_sys_clone kernel/fork.c:2620 [inline]
 __se_sys_clone kernel/fork.c:2604 [inline]
 __x64_sys_clone+0x236/0x2b0 kernel/fork.c:2604
 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6f9b26f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 000000004000c300
RBP: 00000000004bfcb9 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffff6c15dbf R14: 00007f6f9b26f300 R15: 0000000000022000
Modules linked in:
---[ end trace f5c34cab695372c2 ]---
RIP: 0010:__seqprop_raw_spinlock_sequence include/linux/seqlock.h:276 [inline]
RIP: 0010:hrtimer_active kernel/time/hrtimer.c:1463 [inline]
RIP: 0010:hrtimer_try_to_cancel+0x7c/0x420 kernel/time/hrtimer.c:1180
Code: d7 10 00 48 8b 5c 24 10 48 8b 44 24 08 42 80 3c 30 00 74 08 48 89 df e8 a2 c2 58 00 4c 8b 3b 4d 8d 67 10 4c 89 e3 48 c1 eb 03 <42> 8a 04 33 84 c0 0f 85 0b 01 00 00 41 8b 2c 24 89 ee 83 e6 01 31
RSP: 0018:ffffc90009aef510 EFLAGS: 00010202
RAX: 1ffffd1ffff925e8 RBX: 0000000000000002 RCX: 1ffffd1ffff925e9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffe8ffffc92f10
RBP: ffffe8ffffc92f10 R08: ffffffff87e0009f R09: fffff91ffff925c1
R10: fffff91ffff925c1 R11: 0000000000000000 R12: 0000000000000010
R13: ffffe8ffffc92d98 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f6f9b26f700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdccf16ff8 CR3: 0000000019649000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/27 13:00 upstream 7ac3a1c1ae51 858ea628 .config console log report syz ci-upstream-kasan-gce-smack-root general protection fault in hrtimer_try_to_cancel
2021/05/16 03:01 upstream c12a29ed9094 f54a5c09 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in hrtimer_try_to_cancel
2021/07/09 21:48 net-next-old 5e437416ff66 281e815f .config console log report info ci-upstream-net-kasan-gce general protection fault in hrtimer_try_to_cancel
* Struck through repros no longer work on HEAD.