ip6_tunnel:  xmit: Local address not yet configured! ================================================================== BUG: KASAN: slab-out-of-bounds in hlist_add_head include/linux/list.h:787 [inline] BUG: KASAN: slab-out-of-bounds in enqueue_timer kernel/time/timer.c:540 [inline] BUG: KASAN: slab-out-of-bounds in __internal_add_timer+0x28d/0x490 kernel/time/timer.c:553 Write of size 8 at addr ffff8881cf33b188 by task kworker/0:44/5079 CPU: 0 PID: 5079 Comm: kworker/0:44 Not tainted 5.4.52-syzkaller-00275-ge6cae5574a9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: rcu_gp wait_rcu_exp_gp Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x14a/0x1ce lib/dump_stack.c:118 print_address_description+0x93/0x620 mm/kasan/report.c:374 __kasan_report+0x16d/0x1e0 mm/kasan/report.c:506 kasan_report+0x36/0x60 mm/kasan/common.c:634 hlist_add_head include/linux/list.h:787 [inline] enqueue_timer kernel/time/timer.c:540 [inline] __internal_add_timer+0x28d/0x490 kernel/time/timer.c:553 internal_add_timer kernel/time/timer.c:595 [inline] __mod_timer+0xbf4/0x1af0 kernel/time/timer.c:1053 mld_ifc_start_timer net/ipv6/mcast.c:1053 [inline] mld_ifc_timer_expire+0xb38/0xc80 net/ipv6/mcast.c:2481 call_timer_fn+0x154/0x340 kernel/time/timer.c:1404 expire_timers+0x35c/0x470 kernel/time/timer.c:1449 __run_timers+0x662/0x7b0 kernel/time/timer.c:1773 run_timer_softirq+0x19/0x30 kernel/time/timer.c:1786 __do_softirq+0x2d5/0x725 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x16d/0x180 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831 RIP: 0010:__preempt_count_dec_and_test arch/x86/include/asm/preempt.h:94 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x10/0x30 kernel/locking/spinlock.c:191 Code: 90 65 ff 0d 6e be 2a 7c 74 01 c3 e8 2a 19 29 fd c3 66 0f 1f 84 00 00 00 00 00 50 e8 da 71 53 fd 66 90 48 89 34 24 ff 34 24 9d <65> ff 0d 45 be 2a 7c 74 02 58 c3 e8 00 19 29 fd 58 c3 0f 1f 40 00 RSP: 0018:ffff8881d4dbfaf0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffffffff84c3f300 RCX: 812c6caafde7e100 RDX: dffffc0000000000 RSI: 0000000000000246 RDI: ffffffff84c3f300 RBP: ffff8881d4dbfbf0 R08: dffffc0000000000 R09: ffffed103b537001 R10: ffffed103b537001 R11: 0000000000000000 R12: 0000000000000246 R13: 0000000000000000 R14: 1ffff1103a9b7f68 R15: 0000000000000003 spin_unlock_irqrestore include/linux/spinlock.h:393 [inline] __wake_up_common_lock kernel/sched/wait.c:125 [inline] __wake_up+0x153/0x210 kernel/sched/wait.c:142 rcu_exp_wait_wake kernel/rcu/tree_exp.h:560 [inline] rcu_exp_sel_wait_wake+0x12ca/0x1640 kernel/rcu/tree_exp.h:576 process_one_work+0x777/0xf90 kernel/workqueue.c:2274 worker_thread+0xa8f/0x1430 kernel/workqueue.c:2420 kthread+0x2df/0x300 kernel/kthread.c:255 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 The buggy address belongs to the page: page:ffffea00073cce00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 compound_mapcount: 0 flags: 0x8000000000010000(head) raw: 8000000000010000 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881cf33b080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8881cf33b100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff8881cf33b180: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff8881cf33b200: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8881cf33b280: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ================================================================== ip6_tunnel: ÿ xmit: Local address not yet configured! ip6_tunnel:  xmit: Local address not yet configured! ip6_tunnel: ÿ xmit: Local address not yet configured! ip6_tunnel:  xmit: Local address not yet configured! ip6_tunnel:  xmit: Local address not yet configured! BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1d1e34067 P4D 1d1e34067 PUD 1d1e35067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 27954 Comm: syz-executor.1 Tainted: G B 5.4.52-syzkaller-00275-ge6cae5574a9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881db809c08 EFLAGS: 00010206 RAX: ffffffff8132ff5c RBX: 0000000000000000 RCX: ffff88816e923e00 RDX: 0000000080000100 RSI: 0000000000000000 RDI: ffff8881cf33b180 RBP: ffff8881cf33b1a0 R08: ffffffff8132fdf7 R09: ffffed103b7046e7 R10: ffffed103b7046e7 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000100 R14: ffff8881cf33b188 R15: ffff8881cf33b180 FS: 00007f199744f700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d1daa004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: call_timer_fn+0x154/0x340 kernel/time/timer.c:1404 expire_timers+0x35c/0x470 kernel/time/timer.c:1449 __run_timers+0x662/0x7b0 kernel/time/timer.c:1773 run_timer_softirq+0x19/0x30 kernel/time/timer.c:1786 __do_softirq+0x2d5/0x725 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x16d/0x180 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x281/0x3f0 arch/x86/kernel/apic/apic.c:1146 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831 RIP: 0010:arch_atomic_dec_and_test arch/x86/include/asm/atomic.h:125 [inline] RIP: 0010:atomic_dec_and_test include/asm-generic/atomic-instrumented.h:748 [inline] RIP: 0010:page_ref_dec_and_test include/linux/page_ref.h:139 [inline] RIP: 0010:put_page_testzero include/linux/mm.h:619 [inline] RIP: 0010:release_pages+0x20f/0xa10 mm/swap.c:802 Code: 01 31 ff e8 a3 c0 e1 ff 48 89 d8 48 83 e0 01 0f 85 2a 07 00 00 49 8d 7e 34 be 04 00 00 00 e8 48 c0 0f 00 31 f6 f0 41 ff 4e 34 <0f> 94 c3 40 0f 94 c6 31 ff e8 c3 be e1 ff 84 db 0f 84 db fe ff ff RSP: 0018:ffff8881754f7500 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: dead000000000100 RCX: ffffffff81604318 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffea00068a8034 RBP: ffff8881754f75f8 R08: dffffc0000000000 R09: fffff94000d15007 R10: fffff94000d15007 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8881733e1028 R14: ffffea00068a8000 R15: 0000000000000000 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:184 [inline] tlb_flush_mmu+0x66f/0x810 mm/mmu_gather.c:191 zap_pte_range mm/memory.c:1147 [inline] zap_pmd_range mm/memory.c:1185 [inline] zap_pud_range mm/memory.c:1214 [inline] zap_p4d_range mm/memory.c:1235 [inline] unmap_page_range+0x14f5/0x16e0 mm/memory.c:1256 unmap_single_vma mm/memory.c:1301 [inline] unmap_vmas+0x1b5/0x230 mm/memory.c:1333 exit_mmap+0x28a/0x500 mm/mmap.c:3160 __mmput+0x34/0x240 kernel/fork.c:1090 exit_mm kernel/exit.c:485 [inline] do_exit+0xa6c/0x2700 kernel/exit.c:795 do_group_exit+0x155/0x2b0 kernel/exit.c:906 get_signal+0x13ec/0x1f00 kernel/signal.c:2743 do_signal+0x95/0x5d0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline] prepare_exit_to_usermode+0x207/0x2e0 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c1f9 Code: ff 48 8b 44 24 50 48 85 c0 75 12 48 8b 8c 24 c8 01 00 00 0f ba e1 00 0f 83 13 01 00 00 48 83 f8 64 0f 84 e1 00 00 00 48 8b 84 <24> c0 01 00 00 48 89 04 24 e8 19 fb ff ff 48 8b 84 24 c0 01 00 00 RSP: 002b:00007f199744ecf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000078bf08 RCX: 000000000045c1f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000078bf08 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffff70c57ef R14: 00007f199744f9c0 R15: 000000000078bf0c Modules linked in: CR2: 0000000000000000 ---[ end trace a884278e7eafbae2 ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881db809c08 EFLAGS: 00010206 RAX: ffffffff8132ff5c RBX: 0000000000000000 RCX: ffff88816e923e00 RDX: 0000000080000100 RSI: 0000000000000000 RDI: ffff8881cf33b180 RBP: ffff8881cf33b1a0 R08: ffffffff8132fdf7 R09: ffffed103b7046e7 R10: ffffed103b7046e7 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000100 R14: ffff8881cf33b188 R15: ffff8881cf33b180 FS: 00007f199744f700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001d1daa004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600