l2tp_core: tunl 2: sockfd_lookup(fd=22) returned -88 ================================================================== BUG: KASAN: alloca-out-of-bounds in tick_sched_handle+0x16d/0x180 kernel/time/tick-sched.c:171 Read of size 8 at addr ffff88018837e660 by task syz-executor7/7399 CPU: 1 PID: 7399 Comm: syz-executor7 Not tainted 4.16.0+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b9/0x29f lib/dump_stack.c:53 print_address_description+0x6c/0x20b mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.7+0xac/0x2f5 mm/kasan/report.c:412 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433 tick_sched_handle+0x16d/0x180 kernel/time/tick-sched.c:171 tick_sched_timer+0x42/0x130 kernel/time/tick-sched.c:1179 __run_hrtimer kernel/time/hrtimer.c:1337 [inline] __hrtimer_run_queues+0x3e3/0x10a0 kernel/time/hrtimer.c:1399 hrtimer_interrupt+0x286/0x650 kernel/time/hrtimer.c:1457 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline] smp_apic_timer_interrupt+0x15d/0x710 arch/x86/kernel/apic/apic.c:1050 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:862 RIP: 0010:__asan_allocas_unpoison+0xb/0x20 mm/kasan/kasan.c:770 RSP: 0018:ffff88018837e680 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff13 RAX: ffff8801b67c8100 RBX: 0000000000000000 RCX: ffffffff859d4219 RDX: 0000000000000000 RSI: ffff88018837e690 RDI: ffff88018837e5e0 RBP: ffff88018837e978 R08: ffff8801b67c8100 R09: ffffed003b6246c2 R10: ffffed003b6246c2 R11: ffff8801db123613 R12: 0000000000000015 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 snd_pcm_hw_refine+0x8e9/0x1180 sound/core/pcm_native.c:502 snd_pcm_hw_param_first+0x30e/0x680 sound/core/pcm_lib.c:1633 snd_pcm_hw_param_near.constprop.33+0x6e2/0xb10 sound/core/oss/pcm_oss.c:457 snd_pcm_oss_change_params+0x1de9/0x3d10 sound/core/oss/pcm_oss.c:968 snd_pcm_oss_make_ready+0xe3/0x140 sound/core/oss/pcm_oss.c:1127 snd_pcm_oss_sync.isra.27+0x352/0x850 sound/core/oss/pcm_oss.c:1591 snd_pcm_oss_release+0x214/0x290 sound/core/oss/pcm_oss.c:2446 __fput+0x34d/0x890 fs/file_table.c:209 ____fput+0x15/0x20 fs/file_table.c:243 task_work_run+0x1e4/0x290 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1aee/0x2730 kernel/exit.c:865 do_group_exit+0x16f/0x430 kernel/exit.c:968 get_signal+0x886/0x1960 kernel/signal.c:2469 do_signal+0x90/0x2020 arch/x86/kernel/signal.c:810 exit_to_usermode_loop+0x28a/0x310 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:265 [inline] do_syscall_64+0x792/0x9d0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4552d9 RSP: 002b:00007fbef1334c68 EFLAGS: 00000246 ORIG_RAX: 000000000000010f RAX: fffffffffffffdfe RBX: 00007fbef13356d4 RCX: 00000000004552d9 RDX: 0000000020003000 RSI: 0000000000000001 RDI: 0000000020015fb8 RBP: 000000000072bf58 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000020015000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000462 R14: 00000000006f99d0 R15: 0000000000000001 The buggy address belongs to the page: page:ffffea000620df80 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x2fffc0000000000() raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff raw: dead000000000100 dead000000000200 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88018837e500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88018837e580: 00 00 00 00 00 00 00 00 00 00 00 00 ca ca ca ca >ffff88018837e600: 00 00 00 00 00 00 00 00 00 00 04 cb cb cb cb cb ^ ffff88018837e680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88018837e700: 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 f2 f2 ==================================================================