SELinux: unrecognized netlink message: protocol=0 nlmsg_type=12297 sclass=netlink_route_socket pig=15053 comm=syz-executor.1 ================================================================== BUG: KASAN: slab-out-of-bounds in do_update_region+0x603/0x650 drivers/tty/vt/vt.c:361 Read of size 2 at addr ffff888096fdb120 by task syz-executor.1/15053 CPU: 0 PID: 15053 Comm: syz-executor.1 Not tainted 4.14.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 print_address_description.cold+0x7c/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2af mm/kasan/report.c:393 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:428 do_update_region+0x603/0x650 drivers/tty/vt/vt.c:361 update_region drivers/tty/vt/vt.c:391 [inline] update_region+0xe7/0x120 drivers/tty/vt/vt.c:385 vcs_write+0x36b/0xbc0 drivers/tty/vt/vc_screen.c:549 __vfs_write+0x105/0x6b0 fs/read_write.c:480 vfs_write+0x198/0x500 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xfd/0x230 fs/read_write.c:582 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a919 RSP: 002b:00007f7394b59c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a919 RDX: 0000000000000225 RSI: 0000000020000a00 RDI: 000000000000000c RBP: 000000000075c118 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7394b5a6d4 R13: 00000000004cb497 R14: 00000000004e4e58 R15: 00000000ffffffff Allocated by task 23541: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:529 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15d/0x7a0 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] vc_do_resize+0x1da/0xec0 drivers/tty/vt/vt.c:872 vc_resize+0x4d/0x60 drivers/tty/vt/vt.c:974 fbcon_do_set_font+0x474/0x9a0 drivers/video/fbdev/core/fbcon.c:2555 fbcon_set_font+0x67a/0x7b0 drivers/video/fbdev/core/fbcon.c:2651 con_font_set drivers/tty/vt/vt.c:4162 [inline] con_font_op+0xc0f/0x1060 drivers/tty/vt/vt.c:4227 do_fontx_ioctl drivers/tty/vt/vt_ioctl.c:244 [inline] vt_ioctl+0x2d3/0x2170 drivers/tty/vt/vt_ioctl.c:944 tty_ioctl+0x841/0x1320 drivers/tty/tty_io.c:2661 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 Freed by task 7: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x75/0xc0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 snmp6_free_dev net/ipv6/addrconf_core.c:159 [inline] in6_dev_finish_destroy_rcu+0x3a/0xb0 net/ipv6/addrconf_core.c:168 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x7b8/0x12b0 kernel/rcu/tree.c:2946 __do_softirq+0x244/0x9a0 kernel/softirq.c:288 The buggy address belongs to the object at ffff888096fda7c0 which belongs to the cache kmalloc-4096 of size 4096 The buggy address is located 2400 bytes inside of 4096-byte region [ffff888096fda7c0, ffff888096fdb7c0) The buggy address belongs to the page: page:ffffea00025bf680 count:1 mapcount:0 mapping:ffff888096fda7c0 index:0x0 compound_mapcount: 0 flags: 0xfffe0000008100(slab|head) raw: 00fffe0000008100 ffff888096fda7c0 0000000000000000 0000000100000001 raw: ffffea0002265d20 ffffea0001259d20 ffff8880aa800dc0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888096fdb000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888096fdb080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888096fdb100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888096fdb180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888096fdb200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================