------------[ cut here ]------------
WARNING: CPU: 1 PID: 4244 at mm/util.c:596 kvmalloc_node+0x171/0x180
Modules linked in:
CPU: 1 PID: 4244 Comm: syz-executor336 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:ffffc900039cf950 EFLAGS: 00010293
RAX: ffffffff81c57431 RBX: 00000000852e7e00 RCX: ffff88802d813b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81c57419 R09: 00000000ffffffff
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000852e7e00
R13: ffffc900039cfa80 R14: 00000000ffffffff R15: 0000000000000000
FS: 000055558c24b380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000007b39b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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:0x7faa165dd229
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdee7a7b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffdee7a7cf8 RCX: 00007faa165dd229
RDX: 0000000020000040 RSI: 00000000c0845657 RDI: 0000000000000003
RBP: 00007faa16650610 R08: 00007ffdee7a7cf8 R09: 00007ffdee7a7cf8
R10: 00236962762f7665 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdee7a7ce8 R14: 0000000000000001 R15: 0000000000000001
</TASK>