trusted_key: encrypted_key: insufficient parameters specified
==================================================================
BUG: KASAN: vmalloc-out-of-bounds in fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline]
BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline]
BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline]
BUG: KASAN: vmalloc-out-of-bounds in fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline]
BUG: KASAN: vmalloc-out-of-bounds in sys_imageblit+0x1a6f/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24
Write of size 8 at addr ffffc90005378000 by task syz.2.1026/9594
CPU: 3 UID: 0 PID: 9594 Comm: syz.2.1026 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
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xcd/0x630 mm/kasan/report.c:482
kasan_report+0xe0/0x110 mm/kasan/report.c:595
fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline]
fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline]
fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline]
fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline]
sys_imageblit+0x1a6f/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24
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
do_update_region+0x2e6/0x3f0 drivers/tty/vt/vt.c:627
invert_screen+0x1e4/0x590 drivers/tty/vt/vt.c:748
highlight drivers/tty/vt/selection.c:57 [inline]
clear_selection drivers/tty/vt/selection.c:87 [inline]
clear_selection+0x59/0x70 drivers/tty/vt/selection.c:83
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:0x7f638578eba9
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:00007f63865ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f63859d5fa0 RCX: 00007f638578eba9
RDX: 0000200000000180 RSI: 0000000000004610 RDI: 0000000000000003
RBP: 00007f6385811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63859d6038 R14: 00007f63859d5fa0 R15: 00007ffe4740a7f8
The buggy address belongs to a vmalloc virtual mapping
Memory state around the buggy address:
BUG: unable to handle page fault for address: fffff52000a6efe0
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 17ffed067 P4D 17ffed067 PUD 1ca95067 PMD 2520c067 PTE 0
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 3 UID: 0 PID: 9594 Comm: syz.2.1026 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:kasan_metadata_fetch_row+0x15/0x30 mm/kasan/report_generic.c:186
Code: ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ee 03 48 01 c6 <48> 8b 06 48 89 07 48 8b 46 08 48 89 47 08 e9 48 5d 75 09 0f 1f 84
RSP: 0018:ffffc90004ce7370 EFLAGS: 00010082
RAX: dffffc0000000000 RBX: ffffc90005377f00 RCX: 1ffff9200099ce40
RDX: 0000000000000000 RSI: fffff52000a6efe0 RDI: ffffc90004ce737c
RBP: 00000000fffffffe R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000014 R11: 0000000000000000 R12: ffffc90005377f80
R13: ffffc90005378000 R14: 0000000000000296 R15: ffffffff8530fd2f
FS: 00007f63865ae6c0(0000) GS:ffff8880d69b5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52000a6efe0 CR3: 000000005ac6c000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 000000000000003b DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
print_memory_metadata mm/kasan/report.c:458 [inline]
print_report+0x296/0x630 mm/kasan/report.c:483
kasan_report+0xe0/0x110 mm/kasan/report.c:595
fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline]
fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline]
fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline]
fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline]
sys_imageblit+0x1a6f/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24
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
do_update_region+0x2e6/0x3f0 drivers/tty/vt/vt.c:627
invert_screen+0x1e4/0x590 drivers/tty/vt/vt.c:748
highlight drivers/tty/vt/selection.c:57 [inline]
clear_selection drivers/tty/vt/selection.c:87 [inline]
clear_selection+0x59/0x70 drivers/tty/vt/selection.c:83
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:0x7f638578eba9
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:00007f63865ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f63859d5fa0 RCX: 00007f638578eba9
RDX: 0000200000000180 RSI: 0000000000004610 RDI: 0000000000000003
RBP: 00007f6385811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f63859d6038 R14: 00007f63859d5fa0 R15: 00007ffe4740a7f8
Modules linked in:
CR2: fffff52000a6efe0
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_metadata_fetch_row+0x15/0x30 mm/kasan/report_generic.c:186
Code: ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ee 03 48 01 c6 <48> 8b 06 48 89 07 48 8b 46 08 48 89 47 08 e9 48 5d 75 09 0f 1f 84
RSP: 0018:ffffc90004ce7370 EFLAGS: 00010082
RAX: dffffc0000000000 RBX: ffffc90005377f00 RCX: 1ffff9200099ce40
RDX: 0000000000000000 RSI: fffff52000a6efe0 RDI: ffffc90004ce737c
RBP: 00000000fffffffe R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000014 R11: 0000000000000000 R12: ffffc90005377f80
R13: ffffc90005378000 R14: 0000000000000296 R15: ffffffff8530fd2f
FS: 00007f63865ae6c0(0000) GS:ffff8880d69b5000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52000a6efe0 CR3: 000000005ac6c000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 000000000000003b DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 0f 1f 40 00 nopl 0x0(%rax)
4: 90 nop
5: 90 nop
6: 90 nop
7: 90 nop
8: 90 nop
9: 90 nop
a: 90 nop
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 66 0f 1f 00 nopw (%rax)
18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1f: fc ff df
22: 48 c1 ee 03 shr $0x3,%rsi
26: 48 01 c6 add %rax,%rsi
* 29: 48 8b 06 mov (%rsi),%rax <-- trapping instruction
2c: 48 89 07 mov %rax,(%rdi)
2f: 48 8b 46 08 mov 0x8(%rsi),%rax
33: 48 89 47 08 mov %rax,0x8(%rdi)
37: e9 48 5d 75 09 jmp 0x9755d84
3c: 0f .byte 0xf
3d: 1f (bad)
3e: 84 .byte 0x84