QAT: Invalid ioctl IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready ================================================================== BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32 CPU: 0 PID: 13840 Comm: syz-executor.4 Not tainted 5.0.0+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready kmsan_internal_check_memory+0x34e/0xb80 mm/kmsan/kmsan.c:665 kmsan_copy_to_user+0xab/0xc0 mm/kmsan/kmsan_hooks.c:486 _copy_to_user+0x16b/0x1f0 lib/usercopy.c:32 copy_to_user include/linux/uaccess.h:174 [inline] video_usercopy+0x170e/0x1830 drivers/media/v4l2-core/v4l2-ioctl.c:3085 video_ioctl2+0x9f/0xb0 drivers/media/v4l2-core/v4l2-ioctl.c:3098 v4l2_ioctl+0x23f/0x270 drivers/media/v4l2-core/v4l2-dev.c:364 do_vfs_ioctl+0xebd/0x2bf0 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl+0x1da/0x270 fs/ioctl.c:718 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:718 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x458079 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd0efdddc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458079 RDX: 0000000020000300 RSI: 0000000080885659 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd0efdde6d4 R13: 00000000004c2a64 R14: 00000000004d5528 R15: 00000000ffffffff Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:205 [inline] kmsan_save_stack mm/kmsan/kmsan.c:220 [inline] kmsan_internal_chain_origin+0x134/0x230 mm/kmsan/kmsan.c:426 kmsan_memcpy_memmove_metadata+0xc0b/0xfb0 mm/kmsan/kmsan.c:304 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:324 __msan_memcpy+0x58/0x70 mm/kmsan/kmsan_instr.c:139 __v4l2_event_dequeue+0x2d2/0x6f0 drivers/media/v4l2-core/v4l2-event.c:54 v4l2_event_dequeue+0x41c/0x560 drivers/media/v4l2-core/v4l2-event.c:81 v4l_dqevent+0xba/0xe0 drivers/media/v4l2-core/v4l2-ioctl.c:2489 __video_do_ioctl+0x1444/0x1b50 drivers/media/v4l2-core/v4l2-ioctl.c:2872 video_usercopy+0xe60/0x1830 drivers/media/v4l2-core/v4l2-ioctl.c:3054 video_ioctl2+0x9f/0xb0 drivers/media/v4l2-core/v4l2-ioctl.c:3098 v4l2_ioctl+0x23f/0x270 drivers/media/v4l2-core/v4l2-dev.c:364 do_vfs_ioctl+0xebd/0x2bf0 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl+0x1da/0x270 fs/ioctl.c:718 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:718 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:205 [inline] kmsan_save_stack mm/kmsan/kmsan.c:220 [inline] kmsan_internal_chain_origin+0x134/0x230 mm/kmsan/kmsan.c:426 kmsan_memcpy_memmove_metadata+0xc0b/0xfb0 mm/kmsan/kmsan.c:304 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:324 __msan_memcpy+0x58/0x70 mm/kmsan/kmsan_instr.c:139 __v4l2_event_queue_fh+0xcd7/0x1230 drivers/media/v4l2-core/v4l2-event.c:145 v4l2_event_queue_fh+0x1a1/0x270 drivers/media/v4l2-core/v4l2-event.c:185 v4l2_ctrl_add_event+0x952/0xc20 drivers/media/v4l2-core/v4l2-ctrls.c:4100 v4l2_event_subscribe+0xf64/0x1230 drivers/media/v4l2-core/v4l2-event.c:251 v4l2_ctrl_subscribe_event+0xb6/0x110 drivers/media/v4l2-core/v4l2-ctrls.c:4157 v4l_subscribe_event+0x9e/0xc0 drivers/media/v4l2-core/v4l2-ioctl.c:2495 __video_do_ioctl+0x1444/0x1b50 drivers/media/v4l2-core/v4l2-ioctl.c:2872 video_usercopy+0xe60/0x1830 drivers/media/v4l2-core/v4l2-ioctl.c:3054 video_ioctl2+0x9f/0xb0 drivers/media/v4l2-core/v4l2-ioctl.c:3098 v4l2_ioctl+0x23f/0x270 drivers/media/v4l2-core/v4l2-dev.c:364 do_vfs_ioctl+0xebd/0x2bf0 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl+0x1da/0x270 fs/ioctl.c:718 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:718 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Local variable description: ----ev@v4l2_ctrl_add_event Variable was created at: v4l2_ctrl_add_event+0x6e/0xc20 drivers/media/v4l2-core/v4l2-ctrls.c:4081 v4l2_event_subscribe+0xf64/0x1230 drivers/media/v4l2-core/v4l2-event.c:251 Bytes 44-71 of 136 are uninitialized Memory access of size 136 starts at ffff88809d498780 Data copied to user address 0000000020000300 ==================================================================