Extracting prog: 42.377179726s
Minimizing prog: 11m31.474947287s
Simplifying prog options: 0s
Extracting C: 2m5.494244942s
Simplifying C: 5m38.367437626s
extracting reproducer from 30 programs
first checking the prog from the crash report
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(&(0x7f0000000000), 0x0, 0x2)
ioctl$VIDIOC_S_INPUT(r0, 0xc0045627, &(0x7f0000000100)=0x3)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(r0, 0xc0845657, &(0x7f0000000040)={0x0, @bt={0x8af, 0x640, 0x1, 0x2, 0xd59f83, 0x19f2, 0x3f, 0x4, 0x3, 0x3, 0x2800, 0x2800, 0x2, 0xba2, 0x0, 0x38, {0x8, 0xffffffff}, 0xd0, 0x9}})
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
single: successfully extracted reproducer
found reproducer with 3 syscalls
minimizing guilty program
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(&(0x7f0000000000), 0x0, 0x2)
ioctl$VIDIOC_S_INPUT(r0, 0xc0045627, &(0x7f0000000100)=0x3)
program did not crash
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(&(0x7f0000000000), 0x0, 0x2)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(r0, 0xc0845657, &(0x7f0000000040)={0x0, @bt={0x8af, 0x640, 0x1, 0x2, 0xd59f83, 0x19f2, 0x3f, 0x4, 0x3, 0x3, 0x2800, 0x2800, 0x2, 0xba2, 0x0, 0x38, {0x8, 0xffffffff}, 0xd0, 0x9}})
program did not crash
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
ioctl$VIDIOC_S_INPUT(0xffffffffffffffff, 0xc0045627, &(0x7f0000000100)=0x3)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(0xffffffffffffffff, 0xc0845657, &(0x7f0000000040)={0x0, @bt={0x8af, 0x640, 0x1, 0x2, 0xd59f83, 0x19f2, 0x3f, 0x4, 0x3, 0x3, 0x2800, 0x2800, 0x2, 0xba2, 0x0, 0x38, {0x8, 0xffffffff}, 0xd0, 0x9}})
program did not crash
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(0x0, 0x0, 0x2)
ioctl$VIDIOC_S_INPUT(r0, 0xc0045627, &(0x7f0000000100)=0x3)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(r0, 0xc0845657, &(0x7f0000000040)={0x0, @bt={0x8af, 0x640, 0x1, 0x2, 0xd59f83, 0x19f2, 0x3f, 0x4, 0x3, 0x3, 0x2800, 0x2800, 0x2, 0xba2, 0x0, 0x38, {0x8, 0xffffffff}, 0xd0, 0x9}})
program did not crash
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(&(0x7f0000000000), 0x0, 0x2)
ioctl$VIDIOC_S_INPUT(r0, 0xc0045627, 0x0)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(r0, 0xc0845657, &(0x7f0000000040)={0x0, @bt={0x8af, 0x640, 0x1, 0x2, 0xd59f83, 0x19f2, 0x3f, 0x4, 0x3, 0x3, 0x2800, 0x2800, 0x2, 0xba2, 0x0, 0x38, {0x8, 0xffffffff}, 0xd0, 0x9}})
program did not crash
testing program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
detailed listing:
executing program 0:
r0 = syz_open_dev$vbi(&(0x7f0000000000), 0x0, 0x2)
ioctl$VIDIOC_S_INPUT(r0, 0xc0045627, &(0x7f0000000100)=0x3)
ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS(r0, 0xc0845657, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=53.018101237s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
simplifying C reproducer
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
testing compiled C program (duration=53.018101237s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$vbi-ioctl$VIDIOC_S_INPUT-ioctl$VIDIOC_SUBDEV_S_DV_TIMINGS
program crashed: WARNING: kmalloc bug in __v4l2_ctrl_modify_dimensions
reproducing took 19m57.713853652s
repro crashed as (corrupted=false):
------------[ 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:
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
final repro crashed as (corrupted=false):
------------[ 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:
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