tmpfs: Bad value for 'huge' BUG: unable to handle page fault for address: fffff52000a4647c #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 17ffed067 P4D 17ffed067 PUD 1ca95067 PMD 21b6d067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 10138 Comm: syz.7.1146 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] RIP: 0010:fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] RIP: 0010:fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] RIP: 0010:fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] RIP: 0010:sys_imageblit+0x17bc/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24 Code: 7c cd 00 48 89 fe 48 c1 ee 03 80 3c 1e 00 0f 85 dc 02 00 00 4d 63 f6 48 8b 8c cc 28 01 00 00 4f 8d 34 f7 4c 89 f6 48 c1 ee 03 <80> 3c 1e 00 0f 85 94 02 00 00 49 89 0e 41 89 c6 8d 4d fd 41 c1 ee RSP: 0018:ffffc90003d4f458 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff92000a4647c RDI: ffffc90003d4f580 RBP: 0000000000000004 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881055bd021 R13: ffffc90003d4f580 R14: ffffc900052323e0 R15: ffffc900052323e0 FS: 00007f988af126c0(0000) GS:ffff8880d67b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff52000a4647c CR3: 0000000032724000 CR4: 0000000000352ef0 Call Trace: drm_fbdev_shmem_defio_imageblit+0x20/0x130 drivers/gpu/drm/drm_fbdev_shmem.c:38 bit_putcs_unaligned drivers/video/fbdev/core/bitblit.c:138 [inline] bit_putcs+0x90f/0xde0 drivers/video/fbdev/core/bitblit.c:187 fbcon_putcs+0x384/0x4a0 drivers/video/fbdev/core/fbcon.c:1327 con_putc+0x144/0x170 drivers/tty/vt/vt.c:301 complement_pos+0x2d3/0x4e0 drivers/tty/vt/vt.c:765 highlight_pointer drivers/tty/vt/selection.c:63 [inline] clear_selection+0x1b/0x70 drivers/tty/vt/selection.c:85 vc_do_resize+0xd9b/0x10e0 drivers/tty/vt/vt.c:1195 vc_resize include/linux/vt_kern.h:49 [inline] fbcon_set_disp+0x7ad/0xe50 drivers/video/fbdev/core/fbcon.c:1430 con2fb_init_display drivers/video/fbdev/core/fbcon.c:828 [inline] set_con2fb_map+0x703/0x1080 drivers/video/fbdev/core/fbcon.c:902 fbcon_set_con2fb_map_ioctl+0x16c/0x220 drivers/video/fbdev/core/fbcon.c:3132 do_fb_ioctl+0x328/0x7e0 drivers/video/fbdev/core/fb_chrdev.c:138 fb_ioctl+0xe5/0x150 drivers/video/fbdev/core/fb_chrdev.c:169 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __x64_sys_ioctl+0x18b/0x210 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f988a18ebe9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f988af12038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f988a3b5fa0 RCX: 00007f988a18ebe9 RDX: 0000200000000180 RSI: 0000000000004610 RDI: 0000000000000008 RBP: 00007f988a211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f988a3b6038 R14: 00007f988a3b5fa0 R15: 00007ffccc121048 Modules linked in: CR2: fffff52000a4647c ---[ end trace 0000000000000000 ]--- RIP: 0010:fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] RIP: 0010:fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] RIP: 0010:fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] RIP: 0010:fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] RIP: 0010:sys_imageblit+0x17bc/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24 Code: 7c cd 00 48 89 fe 48 c1 ee 03 80 3c 1e 00 0f 85 dc 02 00 00 4d 63 f6 48 8b 8c cc 28 01 00 00 4f 8d 34 f7 4c 89 f6 48 c1 ee 03 <80> 3c 1e 00 0f 85 94 02 00 00 49 89 0e 41 89 c6 8d 4d fd 41 c1 ee RSP: 0018:ffffc90003d4f458 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff92000a4647c RDI: ffffc90003d4f580 RBP: 0000000000000004 R08: 0000000000000005 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: ffff8881055bd021 R13: ffffc90003d4f580 R14: ffffc900052323e0 R15: ffffc900052323e0 FS: 00007f988af126c0(0000) GS:ffff8880d67b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff52000a4647c CR3: 0000000032724000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 7c cd jl 0xffffffcf 2: 00 48 89 add %cl,-0x77(%rax) 5: fe 48 c1 decb -0x3f(%rax) 8: ee out %al,(%dx) 9: 03 80 3c 1e 00 0f add 0xf001e3c(%rax),%eax f: 85 dc test %ebx,%esp 11: 02 00 add (%rax),%al 13: 00 4d 63 add %cl,0x63(%rbp) 16: f6 48 8b 8c testb $0x8c,-0x75(%rax) 1a: cc int3 1b: 28 01 sub %al,(%rcx) 1d: 00 00 add %al,(%rax) 1f: 4f 8d 34 f7 lea (%r15,%r14,8),%r14 23: 4c 89 f6 mov %r14,%rsi 26: 48 c1 ee 03 shr $0x3,%rsi * 2a: 80 3c 1e 00 cmpb $0x0,(%rsi,%rbx,1) <-- trapping instruction 2e: 0f 85 94 02 00 00 jne 0x2c8 34: 49 89 0e mov %rcx,(%r14) 37: 41 89 c6 mov %eax,%r14d 3a: 8d 4d fd lea -0x3(%rbp),%ecx 3d: 41 rex.B 3e: c1 .byte 0xc1 3f: ee out %al,(%dx)