syzbot


KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed (2)

Status: closed as invalid on 2018/07/07 06:58
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+ddb0c85d8ae7e0c523a2@syzkaller.appspotmail.com
First crash: 2125d, last: 2125d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed fs 1 2126d 2126d 0/26 closed as invalid on 2018/07/06 15:28
upstream KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed (3) kernel 1 2125d 2125d 0/26 closed as invalid on 2018/07/07 11:48
upstream KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed (6) kernel 3 1956d 1985d 0/26 auto-closed as invalid on 2019/06/21 01:44
upstream KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed (5) mm 4 2109d 2115d 8/26 fixed on 2018/08/07 13:43
upstream KASAN: stack-out-of-bounds Read in debug_check_no_obj_freed (4) mm 1 2124d 2124d 0/26 closed as invalid on 2018/07/08 10:03

Sample crash report:
==================================================================
BUG: KASAN: stack-out-of-bounds in __debug_check_no_obj_freed lib/debugobjects.c:775 [inline]
BUG: KASAN: stack-out-of-bounds in debug_check_no_obj_freed+0x467/0x595 lib/debugobjects.c:815
Read of size 8 at addr ffff8801d22d2d90 by task udevd/31943

CPU: 0 PID: 31943 Comm: udevd Not tainted 4.18.0-rc3+ #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
PANIC: double fault, error_code: 0x0
Call Trace:
CPU: 1 PID: 31931 Comm: syz-executor1 Not tainted 4.18.0-rc3+ #1
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
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
Code: 41 
57 41 
89 cf 
41 56 
 print_address_description+0x6c/0x20b mm/kasan/report.c:256
41 
55 49 
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
89 fd 
 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
41 54 
 __debug_check_no_obj_freed lib/debugobjects.c:775 [inline]
 debug_check_no_obj_freed+0x467/0x595 lib/debugobjects.c:815
45 89 
cc 
53 65 
 kmem_cache_free+0x216/0x2d0 mm/slab.c:3755
4c 8b 
 remove_vma+0x164/0x1b0 mm/mmap.c:185
34 25 
 exit_mmap+0x365/0x5b0 mm/mmap.c:3116
40 ee 
01 00 
 __mmput kernel/fork.c:970 [inline]
 mmput+0x265/0x620 kernel/fork.c:991
48 83 
e4 f0 
48 81 
ec 60 
03 00 
00 48 
8b 45 
 exec_mmap fs/exec.c:1044 [inline]
 flush_old_exec+0xbaf/0x2100 fs/exec.c:1276
10 <89> 
94 24 
80 00 
00 00 
48 ba 
00 
00 00 
00 
00 fc 
ff df 
48 89 
84 24 
98 
 load_elf_binary+0xa33/0x5610 fs/binfmt_elf.c:869
RSP: 0018:ffff8801cf5dfe70 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 1ffff10039ebc04a RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff88f92620
RBP: ffff8801cf5e01f8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffed003b5e46d6 R11: ffff8801daf236b3 R12: 0000000000000000
R13: ffffffff88f92620 R14: ffff8801cf1de780 R15: 0000000000000002
FS:  00007f38716e9700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
 search_binary_handler+0x17d/0x570 fs/exec.c:1653
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 exec_binprm fs/exec.c:1695 [inline]
 __do_execve_file.isra.35+0x171d/0x2730 fs/exec.c:1819
CR2: ffff8801cf5dfe68 CR3: 00000001a1adc000 CR4: 00000000001406e0
DR0: 0000000020000000 DR1: 0000000020000000 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/06 22:47 bpf c48424d993fa 9636bc93 .config console log report ci-upstream-bpf-kasan-gce
* Struck through repros no longer work on HEAD.