ebtables: ebtables: counters copy to user failed while replacing table BUG: unable to handle kernel paging request at ffff888001000044 PGD de01067 P4D de01067 PUD de02067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14121 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x99b/0x1040 drivers/video/fbdev/core/cfbimgblt.c:302 Code: e0 09 44 24 04 e8 55 a2 c7 fd 45 39 e7 0f 87 44 ff ff ff e8 57 a1 c7 fd 48 8b 44 24 08 8b 4c 24 04 48 8d 78 04 48 89 7c 24 08 <89> 08 44 89 e6 44 89 ff e8 28 a2 c7 fd 45 39 e7 0f 85 04 ff ff ff RSP: 0018:ffff888096ca70d8 EFLAGS: 00010246 RAX: ffff888001000044 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff839ae419 RDI: ffff888001000048 RBP: 0000000000000000 R08: ffff8880b06ece4f R09: 000000000000001c R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8880b06ece4d R15: 000000000000001c FS: 00007f2a2ebfa700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000044 CR3: 000000003e8d2000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x6b4/0x2260 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x1126/0x1740 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x531/0x710 drivers/video/fbdev/core/fbcon.c:1312 hide_cursor+0x85/0x2c0 drivers/tty/vt/vt.c:902 do_con_write+0x13d3/0x1d90 drivers/tty/vt/vt.c:2622 con_put_char+0x96/0xe0 drivers/tty/vt/vt.c:3173 tty_put_char+0xb7/0x150 drivers/tty/tty_io.c:2892 do_output_char+0x155/0x850 drivers/tty/n_tty.c:486 __process_echoes+0x38e/0x9f0 drivers/tty/n_tty.c:737 flush_echoes drivers/tty/n_tty.c:827 [inline] __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0xc0c/0x2a90 drivers/tty/n_tty.c:1740 tty_ldisc_receive_buf+0xa9/0x190 drivers/tty/tty_buffer.c:456 paste_selection+0x1e5/0x470 drivers/tty/vt/selection.c:390 tioclinux+0x122/0x510 drivers/tty/vt/vt.c:3072 vt_ioctl+0x163e/0x2380 drivers/tty/vt/vt_ioctl.c:372 tty_ioctl+0x5b0/0x1630 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2a302a6279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2a2ebfa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2a303b9050 RCX: 00007f2a302a6279 RDX: 0000000020000040 RSI: 000000000000541c RDI: 0000000000000006 RBP: 00007f2a303002e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5b48624f R14: 00007f2a2ebfa300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000044 BUG: unable to handle kernel paging request at ffff888001000044 PGD de01067 P4D de01067 PUD de02067 PMD 80000000010001e1 Oops: 0003 [#2] PREEMPT SMP KASAN CPU: 0 PID: 14121 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x99b/0x1040 drivers/video/fbdev/core/cfbimgblt.c:302 Code: e0 09 44 24 04 e8 55 a2 c7 fd 45 39 e7 0f 87 44 ff ff ff e8 57 a1 c7 fd 48 8b 44 24 08 8b 4c 24 04 48 8d 78 04 48 89 7c 24 08 <89> 08 44 89 e6 44 89 ff e8 28 a2 c7 fd 45 39 e7 0f 85 04 ff ff ff RSP: 0018:ffff888096ca6858 EFLAGS: 00010046 RAX: ffff888001000044 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff839ae419 RDI: ffff888001000048 RBP: 0000000000000000 R08: ffff8880b06ece5f R09: 000000000000001c R10: 0000000000000004 R11: ffffffff8c66501b R12: 000000000000001c R13: 0000000000000000 R14: ffff8880b06ece5d R15: 000000000000001c FS: 00007f2a2ebfa700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000044 CR3: 000000003e8d2000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x6b4/0x2260 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x1126/0x1740 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x531/0x710 drivers/video/fbdev/core/fbcon.c:1312 fbcon_blank+0x8b5/0xec0 drivers/video/fbdev/core/fbcon.c:2217 do_unblank_screen+0x241/0x610 drivers/tty/vt/vt.c:4294 bust_spinlocks+0x5b/0xe0 lib/bust_spinlocks.c:26 oops_end+0x2b/0xe0 arch/x86/kernel/dumpstack.c:336 no_context+0x75a/0x940 arch/x86/mm/fault.c:830 __bad_area_nosemaphore+0x2de/0x400 arch/x86/mm/fault.c:918 __do_page_fault+0x17b/0xd60 arch/x86/mm/fault.c:1344 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x99b/0x1040 drivers/video/fbdev/core/cfbimgblt.c:302 Code: e0 09 44 24 04 e8 55 a2 c7 fd 45 39 e7 0f 87 44 ff ff ff e8 57 a1 c7 fd 48 8b 44 24 08 8b 4c 24 04 48 8d 78 04 48 89 7c 24 08 <89> 08 44 89 e6 44 89 ff e8 28 a2 c7 fd 45 39 e7 0f 85 04 ff ff ff RSP: 0018:ffff888096ca70d8 EFLAGS: 00010246 RAX: ffff888001000044 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff839ae419 RDI: ffff888001000048 RBP: 0000000000000000 R08: ffff8880b06ece4f R09: 000000000000001c R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8880b06ece4d R15: 000000000000001c vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x6b4/0x2260 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x1126/0x1740 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x531/0x710 drivers/video/fbdev/core/fbcon.c:1312 hide_cursor+0x85/0x2c0 drivers/tty/vt/vt.c:902 do_con_write+0x13d3/0x1d90 drivers/tty/vt/vt.c:2622 con_put_char+0x96/0xe0 drivers/tty/vt/vt.c:3173 tty_put_char+0xb7/0x150 drivers/tty/tty_io.c:2892 do_output_char+0x155/0x850 drivers/tty/n_tty.c:486 __process_echoes+0x38e/0x9f0 drivers/tty/n_tty.c:737 flush_echoes drivers/tty/n_tty.c:827 [inline] __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0xc0c/0x2a90 drivers/tty/n_tty.c:1740 tty_ldisc_receive_buf+0xa9/0x190 drivers/tty/tty_buffer.c:456 paste_selection+0x1e5/0x470 drivers/tty/vt/selection.c:390 tioclinux+0x122/0x510 drivers/tty/vt/vt.c:3072 vt_ioctl+0x163e/0x2380 drivers/tty/vt/vt_ioctl.c:372 tty_ioctl+0x5b0/0x1630 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2a302a6279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2a2ebfa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2a303b9050 RCX: 00007f2a302a6279 RDX: 0000000020000040 RSI: 000000000000541c RDI: 0000000000000006 RBP: 00007f2a303002e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5b48624f R14: 00007f2a2ebfa300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000044 ---[ end trace d5bd9c5800b8a9e1 ]--- RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x99b/0x1040 drivers/video/fbdev/core/cfbimgblt.c:302 Code: e0 09 44 24 04 e8 55 a2 c7 fd 45 39 e7 0f 87 44 ff ff ff e8 57 a1 c7 fd 48 8b 44 24 08 8b 4c 24 04 48 8d 78 04 48 89 7c 24 08 <89> 08 44 89 e6 44 89 ff e8 28 a2 c7 fd 45 39 e7 0f 85 04 ff ff ff RSP: 0018:ffff888096ca70d8 EFLAGS: 00010246 RAX: ffff888001000044 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff839ae419 RDI: ffff888001000048 RBP: 0000000000000000 R08: ffff8880b06ece4f R09: 000000000000001c R10: 0000000000000004 R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8880b06ece4d R15: 000000000000001c FS: 00007f2a2ebfa700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000044 CR3: 000000003e8d2000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e0 09 loopne 0xb 2: 44 24 04 rex.R and $0x4,%al 5: e8 55 a2 c7 fd callq 0xfdc7a25f a: 45 39 e7 cmp %r12d,%r15d d: 0f 87 44 ff ff ff ja 0xffffff57 13: e8 57 a1 c7 fd callq 0xfdc7a16f 18: 48 8b 44 24 08 mov 0x8(%rsp),%rax 1d: 8b 4c 24 04 mov 0x4(%rsp),%ecx 21: 48 8d 78 04 lea 0x4(%rax),%rdi 25: 48 89 7c 24 08 mov %rdi,0x8(%rsp) * 2a: 89 08 mov %ecx,(%rax) <-- trapping instruction 2c: 44 89 e6 mov %r12d,%esi 2f: 44 89 ff mov %r15d,%edi 32: e8 28 a2 c7 fd callq 0xfdc7a25f 37: 45 39 e7 cmp %r12d,%r15d 3a: 0f 85 04 ff ff ff jne 0xffffff44