syzbot


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

Status: closed as dup on 2018/07/05 16:15
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+bbab866e13fcc36090cd@syzkaller.appspotmail.com
First crash: 2361d, last: 2361d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: unable to handle kernel paging request in ttwu_do_activate kernel 1 2361d 2361d

Sample crash report:
==================================================================
BUG: KASAN: stack-out-of-bounds in __list_del_entry_valid+0xe7/0xf3 lib/list_debug.c:54
Read of size 8 at addr ffff88019bd8f900 by task jbd2/sda1-8/2299
PANIC: double fault, error_code: 0x0

CPU: 1 PID: 16423 Comm: syz-executor7 Not tainted 4.18.0-rc3+ #45
CPU: 0 PID: 2299 Comm: jbd2/sda1-8 Not tainted 4.18.0-rc3+ #45
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
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Code: 41 
Call Trace:
57 41 
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
89 cf 
41 56 
41 55 
49 89 
fd 41 
 print_address_description+0x6c/0x20b mm/kasan/report.c:256
54 45 
89 cc 
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
53 65 
 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
4c 8b 
 __list_del_entry_valid+0xe7/0xf3 lib/list_debug.c:54
34 25 
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_init include/linux/list.h:159 [inline]
 autoremove_wake_function+0xe3/0x370 kernel/sched/wait.c:376
40 ee 
01 00 
48 83 
e4 f0 
 __wake_up_common+0x191/0x740 kernel/sched/wait.c:90
48 81 
ec 60 
03 00 
00 48 
8b 45 
 __wake_up_common_lock+0x1c2/0x330 kernel/sched/wait.c:119
10 <89> 
94 24 
80 00 
00 00 
48 ba 
00 00 
00 00 
 __wake_up+0xe/0x10 kernel/sched/wait.c:143
00 fc ff df 48 
 jbd2_journal_commit_transaction+0x6fab/0x8c54 fs/jbd2/commit.c:1110
89 84 
24 98 
RSP: 0018:ffff880199bfbea0 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 1ffff1003337f850 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff88f92620
RBP: ffff880199bfc228 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000
R13: ffffffff88f92620 R14: ffff8801c6cd0440 R15: 0000000000000002
FS:  00007fc0c07c5700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff880199bfbe98 CR3: 0000000008e6a000 CR4: 00000000001406e0
DR0: 0000000020000080 DR1: 0000000020000080 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/05 00:32 bpf-next 2bdea157b999 e1b966c6 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.