syzbot


KASAN: stack-out-of-bounds Read in __hrtimer_run_queues

Status: closed as dup on 2018/07/05 16:20
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+1fe433a61ed065e1848a@syzkaller.appspotmail.com
First crash: 2367d, last: 2365d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: stack-out-of-bounds Read in timerqueue_add kernel C 4 2351d 2367d
Discussions (1)
Title Replies (including bot) Last reply
KASAN: stack-out-of-bounds Read in __hrtimer_run_queues 1 (2) 2018/07/05 16:19

Sample crash report:
e'
libceph: parse_ips bad ip '[:A]
e'
==================================================================
PANIC: double fault, error_code: 0x0
BUG: KASAN: stack-out-of-bounds in lookup_object lib/debugobjects.c:157 [inline]
BUG: KASAN: stack-out-of-bounds in debug_object_deactivate+0x425/0x450 lib/debugobjects.c:540
CPU: 0 PID: 20714 Comm: syz-executor6 Not tainted 4.18.0-rc3+ #47
Read of size 8 at addr ffff88019bbc96e0 by task syz-executor1/4467
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011

RIP: 0010:__lock_acquire+0x2e/0x5020 kernel/locking/lockdep.c:3294
CPU: 1 PID: 4467 Comm: syz-executor1 Not tainted 4.18.0-rc3+ #47
Code: 41 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
57 
Call Trace:
41 
 <IRQ>
89 
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
cf 41 
56 
41 55 
49 
89 fd 
 print_address_description+0x6c/0x20b mm/kasan/report.c:256
41 54 
45 89 
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
cc 53 
 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
65 
 lookup_object lib/debugobjects.c:157 [inline]
 debug_object_deactivate+0x425/0x450 lib/debugobjects.c:540
4c 8b 
34 
25 
40 
 debug_hrtimer_deactivate kernel/time/hrtimer.c:421 [inline]
 debug_deactivate kernel/time/hrtimer.c:471 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1368 [inline]
 __hrtimer_run_queues+0x2bf/0x10c0 kernel/time/hrtimer.c:1460
ee 
01 
00 
48 
83 e4 
f0 
48 81 
ec 
60 
03 
00 00 
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
48 
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x165/0x730 arch/x86/kernel/apic/apic.c:1050
8b 
45 
10 
<89> 94 
24 
80 00 
00 00 
48 ba 
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
00 
 </IRQ>
00 
RIP: 0033:0x455b64
00 
Code: 
00 00 
18 
fc 
f7 
ff 
e2 
df 
31 
48 
f6 
89 84 
c1 
24 
ea 
98 
12 
RSP: 0018:ffff88019b5ffef0 EFLAGS: 00010086
89 
d0 69 
RAX: 0000000000000000 RBX: 1ffff100336c005b RCX: 0000000000000002
d2 
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff88f92620
40 
RBP: ffff88019b600280 R08: 0000000000000000 R09: 0000000000000000
42 
R10: ffff88019bf0f1b8 R11: ffff8801dae236b3 R12: 0000000000000000
0f 
R13: ffffffff88f92620 R14: ffff8801d81ba700 R15: 0000000000000002
00 48 
FS:  00007fa314299700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
89 
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88019b5ffee8 CR3: 00000001cb0f8000 CR4: 00000000001406f0
04 
DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000020000000
24 
DR3: 0000000020000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
29 

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/06 13:50 bpf-next 6fcf9b1d4d6c 18403e65 .config console log report ci-upstream-bpf-next-kasan-gce
2018/07/04 12:15 bpf-next 2bdea157b999 317fc8ea .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.