------------[ cut here ]------------ WARNING: CPU: 0 PID: 4406 at mm/util.c:596 kvmalloc_node+0x171/0x180 Modules linked in: CPU: 0 PID: 4406 Comm: syz.3.15 Not tainted 6.1.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:kvmalloc_node+0x171/0x180 mm/util.c:596 Code: 5d c3 44 89 fe 81 e6 00 20 00 00 31 ff e8 77 21 c5 ff 41 81 e7 00 20 00 00 74 0a e8 09 1e c5 ff e9 3f ff ff ff e8 ff 1d c5 ff <0f> 0b e9 33 ff ff ff 0f 1f 84 00 00 00 00 00 41 56 53 49 89 f6 48 RSP: 0018:ffffc90004717950 EFLAGS: 00010283 RAX: ffffffff81c57551 RBX: 00000000852e7e00 RCX: 0000000000040000 RDX: ffffc9000e245000 RSI: 0000000000000919 RDI: 000000000000091a RBP: 0000000000000000 R08: ffffffff81c57539 R09: 00000000ffffffff R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000852e7e00 R13: ffffc90004717a80 R14: 00000000ffffffff R15: 0000000000000000 FS: 00007f0ce5dbd6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ce5dbcf98 CR3: 0000000030314000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvmalloc include/linux/slab.h:710 [inline] kvzalloc include/linux/slab.h:718 [inline] __v4l2_ctrl_modify_dimensions+0x437/0xb50 drivers/media/v4l2-core/v4l2-ctrls-api.c:999 v4l2_ctrl_modify_dimensions include/media/v4l2-ctrls.h:1005 [inline] vivid_update_format_cap+0x148f/0x2230 drivers/media/test-drivers/vivid/vivid-vid-cap.c:480 vivid_vid_cap_s_dv_timings+0x528/0x1210 drivers/media/test-drivers/vivid/vivid-vid-cap.c:1760 __video_do_ioctl+0xa3a/0xe30 drivers/media/v4l2-core/v4l2-ioctl.c:3037 video_usercopy+0xa79/0x10c0 drivers/media/v4l2-core/v4l2-ioctl.c:3384 v4l2_ioctl+0x181/0x1d0 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0ce5f7e719 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:00007f0ce5dbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0ce6136130 RCX: 00007f0ce5f7e719 RDX: 0000000020000040 RSI: 00000000c0845657 RDI: 0000000000000003 RBP: 00007f0ce5ff132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0ce6136130 R15: 00007ffef7cc6288