general protection fault, probably for non-canonical address 0xdffffc0000000182: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000c10-0x0000000000000c17] CPU: 1 PID: 10498 Comm: syz-executor.5 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put include/linux/percpu-refcount.h:338 [inline] RIP: 0010:cgroup_bpf_put include/linux/cgroup.h:926 [inline] RIP: 0010:cgroup_sk_free+0x8d/0x570 kernel/cgroup/cgroup.c:6613 Code: 0e 06 00 40 84 ed 5a 0f 84 42 01 00 00 e8 0b 08 06 00 4c 8d ab 10 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 6f 04 00 00 48 8b ab 10 0c 00 00 31 ff 49 89 ec RSP: 0018:ffffc90000dc0c38 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000182 RSI: ffffffff816ff365 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816ff356 R11: 0000000000000000 R12: ffff888033351000 R13: 0000000000000c10 R14: ffffffff8d0d0ccc R15: 0000000000000000 FS: 00007f7bef853700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aaa8d79a50 CR3: 00000000a5704000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: sk_prot_free net/core/sock.c:1852 [inline] __sk_destruct+0x579/0x900 net/core/sock.c:1943 sk_destruct+0xbd/0xe0 net/core/sock.c:1958 __sk_free+0xef/0x3d0 net/core/sock.c:1969 sk_free+0x78/0xa0 net/core/sock.c:1980 sock_put include/net/sock.h:1816 [inline] nr_heartbeat_expiry+0x2e7/0x460 net/netrom/nr_timer.c:148 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:slow_down_io arch/x86/include/asm/paravirt.h:55 [inline] RIP: 0010:outb_p arch/x86/include/asm/io.h:334 [inline] RIP: 0010:vga_io_w include/video/vga.h:209 [inline] RIP: 0010:setmode drivers/video/fbdev/vga16fb.c:125 [inline] RIP: 0010:vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1144 [inline] RIP: 0010:vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] RIP: 0010:vga16fb_imageblit+0x1a36/0x2200 drivers/video/fbdev/vga16fb.c:1260 Code: 00 00 00 fc ff df 48 8b 54 24 28 48 c1 ea 03 80 3c 02 00 0f 85 cd 03 00 00 ff 15 65 e5 6e 07 ba cf 03 00 00 0f b6 44 24 38 ee <48> b8 00 00 00 00 00 fc ff df 48 8b 54 24 28 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc9001728ef70 EFLAGS: 00000246 RAX: 00000000000000ff RBX: dffffc0000000000 RCX: ffffc90014035000 RDX: 00000000000003cf RSI: ffffffff841078ac RDI: 0000000000000003 RBP: ffff8880000a0ad8 R08: 0000000000000002 R09: 0000000000000001 R10: ffffffff8410789e R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000007 R14: 0000000000000002 R15: ffffc9001728f0f8 bit_putcs_unaligned drivers/video/fbdev/core/bitblit.c:139 [inline] bit_putcs+0x6e1/0xd20 drivers/video/fbdev/core/bitblit.c:188 fbcon_putcs+0x35a/0x450 drivers/video/fbdev/core/fbcon.c:1296 fbcon_redraw.constprop.0+0x281/0x4b0 drivers/video/fbdev/core/fbcon.c:1657 fbcon_scroll+0x1d7a/0x3580 drivers/video/fbdev/core/fbcon.c:1782 con_scroll+0x5b9/0x6d0 drivers/tty/vt/vt.c:630 lf+0x26b/0x2c0 drivers/tty/vt/vt.c:1507 vc_con_write_normal drivers/tty/vt/vt.c:2851 [inline] do_con_write+0xf1c/0x1e40 drivers/tty/vt/vt.c:2955 con_write+0x21/0x40 drivers/tty/vt/vt.c:3295 n_tty_write+0xa7a/0xfd0 drivers/tty/n_tty.c:2311 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write.constprop.0+0x526/0x910 drivers/tty/tty_io.c:1110 call_write_iter include/linux/fs.h:2163 [inline] do_iter_readv_writev+0x472/0x750 fs/read_write.c:729 do_iter_write+0x188/0x710 fs/read_write.c:855 vfs_iter_write+0x70/0xa0 fs/read_write.c:896 iter_file_splice_write+0x723/0xc70 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xae9/0x1240 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1314 [inline] __se_sys_sendfile64 fs/read_write.c:1300 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1300 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7bf22dc709 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7bef853188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f7bf23e0f60 RCX: 00007f7bf22dc709 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f7bf2336cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0800000080004103 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff14a4638f R14: 00007f7bef853300 R15: 0000000000022000 Modules linked in: ---[ end trace c70ba1aeb879533b ]--- RIP: 0010:__ref_is_percpu include/linux/percpu-refcount.h:174 [inline] RIP: 0010:percpu_ref_put_many include/linux/percpu-refcount.h:319 [inline] RIP: 0010:percpu_ref_put include/linux/percpu-refcount.h:338 [inline] RIP: 0010:cgroup_bpf_put include/linux/cgroup.h:926 [inline] RIP: 0010:cgroup_sk_free+0x8d/0x570 kernel/cgroup/cgroup.c:6613 Code: 0e 06 00 40 84 ed 5a 0f 84 42 01 00 00 e8 0b 08 06 00 4c 8d ab 10 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 6f 04 00 00 48 8b ab 10 0c 00 00 31 ff 49 89 ec RSP: 0018:ffffc90000dc0c38 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: 0000000000000182 RSI: ffffffff816ff365 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816ff356 R11: 0000000000000000 R12: ffff888033351000 R13: 0000000000000c10 R14: ffffffff8d0d0ccc R15: 0000000000000000 FS: 00007f7bef853700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aaa8d79a50 CR3: 00000000a5704000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 00 40 84 add %al,-0x7c(%rax) 3: ed in (%dx),%eax 4: 5a pop %rdx 5: 0f 84 42 01 00 00 je 0x14d b: e8 0b 08 06 00 callq 0x6081b 10: 4c 8d ab 10 0c 00 00 lea 0xc10(%rbx),%r13 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 4c 89 ea mov %r13,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 6f 04 00 00 jne 0x4a1 32: 48 8b ab 10 0c 00 00 mov 0xc10(%rbx),%rbp 39: 31 ff xor %edi,%edi 3b: 49 89 ec mov %rbp,%r12