BUG: stack guard page was hit at ffffc90000b6fff8 (stack is ffffc90000b70000..ffffc90000b77fff)
kernel stack overflow (double-fault): 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 374 Comm: syz-executor705 Not tainted 5.10.102-syzkaller-00171-ge1b86e7f5cbb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kasan_check_range+0xc/0x2f0 mm/kasan/generic.c:185
Code: ef 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 09 02 00 00 48 89 fb 48 01 f3 0f 82 8a 02
RSP: 0018:ffffc90000b70000 EFLAGS: 00010246
RAX: ffff8881065b0000 RBX: ffffc90000b700e0 RCX: ffffffff813415a4
RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90000b700e0
RBP: ffffc90000b70020 R08: dffffc0000000000 R09: ffffc90000b701c0
R10: fffff5200016e03b R11: 0000000000000000 R12: ffff8881065b0000
R13: ffffc90000b700e0 R14: 0000000000000000 R15: 0000000000000060
FS: 00007f33d8c71700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000b6fff8 CR3: 000000011d0e7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
memset+0x23/0x40 mm/kasan/shadow.c:44
__unwind_start+0x34/0x420 arch/x86/kernel/unwind_frame.c:368
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xdc/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:121
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:428 [inline]
__kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:461
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:583 [inline]
slab_alloc_node mm/slub.c:2954 [inline]
slab_alloc mm/slub.c:2962 [inline]
kmem_cache_alloc+0x1a2/0x380 mm/slub.c:2967
kmem_cache_zalloc include/linux/slab.h:654 [inline]
__alloc_file+0x29/0x3b0 fs/file_table.c:101
alloc_empty_file+0xac/0x1b0 fs/file_table.c:151
dentry_open+0x4e/0x100 fs/open.c:956
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open fs/open.c:942 [inline]
dentry_open+0xb8/0x100 fs/open.c:958
file_open+0x2a3/0x650 fs/incfs/vfs.c:1427
do_dentry_open+0x7a5/0x1090 fs/open.c:819
vfs_open+0x73/0x80 fs/open.c:942
do_open fs/namei.c:3327 [inline]
path_openat+0x264d/0x3500 fs/namei.c:3444
do_filp_open+0x200/0x440 fs/namei.c:3471
do_sys_openat2+0x13b/0x470 fs/open.c:1211
do_sys_open fs/open.c:1227 [inline]
__do_sys_openat fs/open.c:1243 [inline]
__se_sys_openat fs/open.c:1238 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1238
do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f33d8ca1ad4
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 e6 fb ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 18 fc ff ff 8b 44
RSP: 002b:00007f33d8c71160 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f33d8c716b8 RCX: 00007f33d8ca1ad4
RDX: 0000000000010000 RSI: 0000000020000080 RDI: 00000000ffffff9c
RBP: 0000000020000080 R08: 0000000000000000 R09: 00007f33d8c71700
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000010000
R13: 00007f33d8d683fc R14: 0030656c69662f2e R15: 6e656d6572636e69
Modules linked in:
---[ end trace 5cc6494dc10dd80a ]---
RIP: 0010:kasan_check_range+0xc/0x2f0 mm/kasan/generic.c:185
Code: ef 02 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 09 02 00 00 48 89 fb 48 01 f3 0f 82 8a 02
RSP: 0018:ffffc90000b70000 EFLAGS: 00010246
RAX: ffff8881065b0000 RBX: ffffc90000b700e0 RCX: ffffffff813415a4
RDX: 0000000000000001 RSI: 0000000000000060 RDI: ffffc90000b700e0
RBP: ffffc90000b70020 R08: dffffc0000000000 R09: ffffc90000b701c0
R10: fffff5200016e03b R11: 0000000000000000 R12: ffff8881065b0000
R13: ffffc90000b700e0 R14: 0000000000000000 R15: 0000000000000060
FS: 00007f33d8c71700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90000b6fff8 CR3: 000000011d0e7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: ef out %eax,(%dx)
1: 02 31 add (%rcx),%dh
3: c0 5d c3 0f rcrb $0xf,-0x3d(%rbp)
7: 0b eb or %ebx,%ebp
9: 02 0f add (%rdi),%cl
b: 0b b8 ea ff ff ff or -0x16(%rax),%edi
11: 5d pop %rbp
12: c3 retq
13: cc int3
14: cc int3
15: cc int3
16: cc int3
17: cc int3
18: cc int3
19: cc int3
1a: cc int3
1b: cc int3
1c: cc int3
1d: cc int3
1e: 55 push %rbp
1f: 48 89 e5 mov %rsp,%rbp
22: 41 57 push %r15
24: 41 56 push %r14
26: 41 55 push %r13
28: 41 54 push %r12
* 2a: 53 push %rbx <-- trapping instruction
2b: b0 01 mov $0x1,%al
2d: 48 85 f6 test %rsi,%rsi
30: 0f 84 09 02 00 00 je 0x23f
36: 48 89 fb mov %rdi,%rbx
39: 48 01 f3 add %rsi,%rbx
3c: 0f .byte 0xf
3d: 82 (bad)
3e: 8a 02 mov (%rdx),%al