------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/media/usb/dvb-usb-v2/az6007.c:801:13 index 4096 is out of range for type 'unsigned char [4096]' CPU: 0 UID: 0 PID: 11496 Comm: syz.6.2017 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xcc/0xf0 lib/ubsan.c:455 az6007_i2c_xfer+0x93b/0xbc0 drivers/media/usb/dvb-usb-v2/az6007.c:801 __i2c_transfer+0x5e1/0x1610 drivers/i2c/i2c-core-base.c:2261 i2c_transfer+0x15f/0x380 drivers/i2c/i2c-core-base.c:2317 i2c_transfer_buffer_flags+0x10c/0x190 drivers/i2c/i2c-core-base.c:2345 i2c_master_send include/linux/i2c.h:109 [inline] i2cdev_write+0x11e/0x240 drivers/i2c/i2c-dev.c:183 do_loop_readv_writev fs/read_write.c:852 [inline] do_loop_readv_writev fs/read_write.c:837 [inline] vfs_writev+0x5ea/0xe10 fs/read_write.c:1061 do_pwritev+0x1ac/0x270 fs/read_write.c:1155 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f64a3f9bf79 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f64a21f6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 RAX: ffffffffffffffda RBX: 00007f64a4215fa0 RCX: 00007f64a3f9bf79 RDX: 0000000000000001 RSI: 0000200000000840 RDI: 0000000000000003 RBP: 00007f64a40327e0 R08: 00000000000000b2 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f64a4216038 R14: 00007f64a4215fa0 R15: 00007ffeb4af8cd8 ---[ end trace ]---