BUG: kernel NULL pointer dereference, address: 0000000000000350 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 110799067 P4D 110799067 PUD 11079a067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rose_send_frame+0x2c/0xc0 net/rose/rose_link.c:101 Code: 49 89 fc 48 c7 c7 c0 32 8c 86 55 53 48 89 f3 48 c7 c6 00 1c 99 83 e8 f3 39 00 00 4c 8b 4b 20 48 c7 c2 c0 32 8c 86 85 c0 75 07 <49> 8b 91 50 03 00 00 48 8b 6b 18 48 8d 4b 08 be 04 01 00 00 4c 89 RSP: 0018:ffffc90000003d58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888125589800 RCX: 0000000000000000 RDX: ffffffff868c32c0 RSI: ffffffff83991c00 RDI: ffffffff868c32c0 RBP: 0000000000000032 R08: 00000000000000c0 R09: 0000000000000000 R10: ffff88812b7ec1c0 R11: e4f24d8e8ce32871 R12: ffff888121abe300 R13: 0000000000000078 R14: 0000000000000005 R15: ffffffff82c51ab0 FS: 0000000000000000(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000350 CR3: 0000000110798000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x79/0xa0 net/rose/rose_link.c:255 rose_rx_call_request+0x172/0x623 net/rose/af_rose.c:998 rose_loopback_timer+0x81/0x150 net/rose/rose_loopback.c:100 call_timer_fn+0xa7/0x330 kernel/time/timer.c:1413 expire_timers kernel/time/timer.c:1458 [inline] __run_timers kernel/time/timer.c:1755 [inline] run_timer_softirq+0x20d/0x580 kernel/time/timer.c:1768 __do_softirq+0xee/0x55a kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x71/0x90 arch/x86/kernel/irq_64.c:77 do_softirq.part.16+0x98/0xc0 kernel/softirq.c:343 do_softirq kernel/softirq.c:335 [inline] __local_bh_enable_ip+0x121/0x130 kernel/softirq.c:195 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_nc_purge_paths+0xc7/0xf0 net/batman-adv/network-coding.c:470 batadv_nc_worker+0xfe/0x240 net/batman-adv/network-coding.c:719 process_one_work+0x26a/0x5f0 kernel/workqueue.c:2269 worker_thread+0x38/0x380 kernel/workqueue.c:2415 kthread+0x148/0x170 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: CR2: 0000000000000350 ---[ end trace d4ded4d13156509a ]--- RIP: 0010:rose_send_frame+0x2c/0xc0 net/rose/rose_link.c:101 Code: 49 89 fc 48 c7 c7 c0 32 8c 86 55 53 48 89 f3 48 c7 c6 00 1c 99 83 e8 f3 39 00 00 4c 8b 4b 20 48 c7 c2 c0 32 8c 86 85 c0 75 07 <49> 8b 91 50 03 00 00 48 8b 6b 18 48 8d 4b 08 be 04 01 00 00 4c 89 RSP: 0018:ffffc90000003d58 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888125589800 RCX: 0000000000000000 RDX: ffffffff868c32c0 RSI: ffffffff83991c00 RDI: ffffffff868c32c0 RBP: 0000000000000032 R08: 00000000000000c0 R09: 0000000000000000 R10: ffff88812b7ec1c0 R11: e4f24d8e8ce32871 R12: ffff888121abe300 R13: 0000000000000078 R14: 0000000000000005 R15: ffffffff82c51ab0 FS: 0000000000000000(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000350 CR3: 0000000110798000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400