syzbot


general protection fault in account_system_index_time (2)

Status: closed as dup on 2019/01/04 11:13
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+137ed32ec9a6d5b0d5fe@syzkaller.appspotmail.com
First crash: 1922d, last: 1868d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
kernel panic: stack is corrupted in udp4_lib_lookup2 net 11 1883d 1880d
Discussions (1)
Title Replies (including bot) Last reply
kernel panic: stack is corrupted in udp4_lib_lookup2 17 (18) 2019/01/07 09:04
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in account_system_index_time kernel C 2 2162d 2161d 5/26 fixed on 2018/05/13 22:34
upstream general protection fault in account_system_index_time (3) reiserfs C error 2 273d 269d 0/26 auto-obsoleted due to no activity on 2023/12/25 10:37

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
kasan: CONFIG_KASAN_INLINE enabled
general protection fault: 0000 [#1] PREEMPT SMP KASAN
kasan: GPF could be caused by NULL-ptr deref or user memory access
CPU: 1 PID: 4 Comm:  Not tainted 4.20.0+ #9
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:191 [inline]
RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:85 [inline]
RIP: 0010:account_group_system_time include/linux/sched/cputime.h:149 [inline]
RIP: 0010:account_system_index_time+0xe8/0x5f0 kernel/sched/cputime.c:168
Code: 04 00 00 49 8b 84 24 00 07 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d b8 40 01 00 00 48 8d 88 28 01 00 00 48 89 fe 48 c1 ee 03 <0f> b6 14 16 48 89 fe 83 e6 07 40 38 f2 7f 08 84 d2 0f 85 93 03 00
RSP: 0018:ffff8880ae707a80 EFLAGS: 00010006
RAX: 0000000041b58ab3 RBX: 1ffff11015ce0f54 RCX: 0000000041b58bdb
RDX: dffffc0000000000 RSI: 000000000836b17e RDI: 0000000041b58bf3
RBP: ffff8880ae707b48 R08: ffff8880ae71f5f0 R09: fffffbfff13363dd
R10: fffffbfff1301b45 R11: ffffffff899b1ee3 R12: ffff8880a94bc440
R13: 0000000000923ab7 R14: 0000000000000003 R15: ffff8880ae707b20
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe311771f0 CR3: 00000000a867a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 irqtime_account_process_tick.isra.0+0x3a2/0x490 kernel/sched/cputime.c:380
 account_process_tick+0x27f/0x350 kernel/sched/cputime.c:483
 update_process_times+0x25/0x80 kernel/time/timer.c:1633
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x3a7/0x1050 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x18d/0x760 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
Modules linked in:
---[ end trace 9a1c096e92226cc8 ]---
general protection fault: 0000 [#2] PREEMPT SMP KASAN
CPU: 0 PID: 9146 Comm: syz-executor784 Tainted: G      D           4.20.0+ #9
RIP: 0010:__read_once_size include/linux/compiler.h:191 [inline]
RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:85 [inline]
RIP: 0010:account_group_system_time include/linux/sched/cputime.h:149 [inline]
RIP: 0010:account_system_index_time+0xe8/0x5f0 kernel/sched/cputime.c:168
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Code: 04 00 00 49 8b 84 24 00 07 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d b8 40 01 00 00 48 8d 88 28 01 00 00 48 89 fe 48 c1 ee 03 <0f> b6 14 16 48 89 fe 83 e6 07 40 38 f2 7f 08 84 d2 0f 85 93 03 00
RIP: 0010:lock_accessed kernel/locking/lockdep.c:968 [inline]
RIP: 0010:__bfs kernel/locking/lockdep.c:1035 [inline]
RIP: 0010:__bfs+0x2ce/0x7a0 kernel/locking/lockdep.c:989
RSP: 0018:ffff8880ae707a80 EFLAGS: 00010006
Code: 49 01 00 00 49 8d 7f 10 4c 89 f8 4c 8b 1d da ca ee 09 48 89 f9 48 2d e0 36 32 8b 44 8b 15 2a c9 61 09 48 c1 e9 03 48 c1 f8 06 <42> 80 3c 21 00 0f 85 2c 03 00 00 49 8b 77 10 4c 8d 46 2c 4c 89 c1
RAX: 0000000041b58ab3 RBX: 1ffff11015ce0f54 RCX: 0000000041b58bdb
RSP: 0018:ffff8880ae6074b0 EFLAGS: 00010007
RDX: dffffc0000000000 RSI: 000000000836b17e RDI: 0000000041b58bf3
RAX: 0000000001d33724 RBX: ffffed1015cc0eaf RCX: 0000000000000002
RBP: ffff8880ae707b48 R08: ffff8880ae71f5f0 R09: fffffbfff13363dd
RDX: 1ffff11015cc0eab RSI: 0000000000000001 RDI: 0000000000000010
R10: fffffbfff1301b45 R11: ffffffff899b1ee3 R12: ffff8880a94bc440
RBP: ffff8880ae6075e0 R08: 0000000000000001 R09: 1ffff11015cc0eaf
R13: 0000000000923ab7 R14: 0000000000000003 R15: ffff8880ae707b20
R10: 000000000000ac3a R11: 0000000000001cb2 R12: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
R13: ffffffff8b2caf50 R14: ffff8880ae6075b8 R15: 0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
FS:  00000000016a2880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CR2: 00007ffe311771f0 CR3: 00000000a867a000 CR4: 00000000001406e0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
CR2: 0000000020000100 CR3: 00000000a8493000 CR4: 00000000001406f0
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/05 02:04 upstream 96d4f267e40f 0127e3ba .config console log report syz C ci-upstream-kasan-gce-root
2019/01/05 00:46 net-next-old b71acb0e3721 0127e3ba .config console log report syz C ci-upstream-net-kasan-gce
2019/01/03 07:03 upstream 85f78456f286 06a2b89f .config console log report syz ci-upstream-kasan-gce-smack-root
2019/01/15 14:43 upstream fe76fc6aaf53 79cb1a7c .config console log report ci-upstream-kasan-gce
2019/01/12 21:00 upstream 66c56cfa64d9 c3f3344c .config console log report ci-upstream-kasan-gce-root
2019/01/06 15:25 upstream b5aef86e089a 94f8adb5 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/04 13:22 upstream 96d4f267e40f 7da23925 .config console log report ci-upstream-kasan-gce
2019/01/03 01:16 upstream 85f78456f286 06a2b89f .config console log report ci-upstream-kasan-gce
2018/12/29 11:26 upstream 903b77c63167 a40793d7 .config console log report ci-upstream-kasan-gce-root
2019/01/07 23:48 net-next-old b71acb0e3721 69d69aa9 .config console log report ci-upstream-net-kasan-gce
2018/11/22 08:28 net-next-old d59da3fbfe3f 2ee77802 .config console log report ci-upstream-net-kasan-gce
2018/12/07 11:09 linux-next 74c4a24df7ca 1eb6a7e4 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.