------------[ cut here ]------------ WARNING: CPU: 1 PID: 10865 at mm/util.c:596 kvmalloc_node+0x171/0x180 Modules linked in: CPU: 1 PID: 10865 Comm: syz.8.1509 Not tainted 6.1.114-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 a7 22 c5 ff 41 81 e7 00 20 00 00 74 0a e8 39 1f c5 ff e9 3f ff ff ff e8 2f 1f 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:ffffc9000308f950 EFLAGS: 00010283 RAX: ffffffff81c57431 RBX: 00000000852e7e00 RCX: 0000000000040000 RDX: ffffc9000547a000 RSI: 0000000000000919 RDI: 000000000000091a RBP: 0000000000000000 R08: ffffffff81c57419 R09: 00000000ffffffff R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000852e7e00 R13: ffffc9000308fa80 R14: 00000000ffffffff R15: 0000000000000000 FS: 00007f5ffee4b6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3a3c39 CR3: 000000005a73a000 CR4: 00000000003506e0 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:0x7f5ffdf7e719 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:00007f5ffee4b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5ffe135f80 RCX: 00007f5ffdf7e719 RDX: 0000000020000040 RSI: 00000000c0845657 RDI: 0000000000000003 RBP: 00007f5ffdff132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5ffe135f80 R15: 00007ffc307edf48