syzbot


WARNING in get_vaddr_frames

Status: auto-obsoleted due to no activity on 2023/12/09 23:08
Reported-by: syzbot+9b9c572a79ddb0c1dd7a@syzkaller.appspotmail.com
First crash: 623d, last: 417d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/11/03 upstream (ToT) bc3012f4e3a9 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in get_vaddr_frames C 11 644d 713d 0/1 upstream: reported C repro on 2022/12/08 19:56
linux-6.1 WARNING in get_vaddr_frames origin:upstream missing-backport C done 433 417d 623d 0/3 upstream: reported C repro on 2023/03/08 19:50
upstream WARNING in get_vaddr_frames media C done done 1596 423d 717d 0/28 auto-obsoleted due to no activity on 2023/12/20 22:26

Sample crash report:
------------[ cut here ]------------
get_vaddr_frames() cannot follow VM_IO mapping
WARNING: CPU: 1 PID: 3487 at drivers/media/common/videobuf2/frame_vector.c:59 get_vaddr_frames+0x1db/0x220 drivers/media/common/videobuf2/frame_vector.c:59
Modules linked in:
CPU: 1 PID: 3487 Comm: syz-executor206 Not tainted 5.15.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:get_vaddr_frames+0x1db/0x220 drivers/media/common/videobuf2/frame_vector.c:59
Code: 8c 1a ff ff ff 4c 89 e7 e8 82 16 03 fb e9 0d ff ff ff e8 28 76 b9 fa c6 05 16 21 0a 07 01 48 c7 c7 00 79 40 8b e8 f5 3e 85 fa <0f> 0b e9 4a ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 1e ff
RSP: 0018:ffffc90002edf5e8 EFLAGS: 00010246
RAX: 5853189a185ab500 RBX: 1ffff1100f648000 RCX: ffff888078a18000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 00000000000002a4 R08: ffffffff816658fc R09: ffffed1017364f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b240004
R13: dffffc0000000000 R14: 0000000000000000 R15: 00000000fffffff2
FS:  00005555572f5380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000008 CR3: 0000000070556000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vb2_create_framevec+0x4a/0xb0 drivers/media/common/videobuf2/videobuf2-memops.c:50
 vb2_vmalloc_get_userptr+0xe7/0x400 drivers/media/common/videobuf2/videobuf2-vmalloc.c:88
 __prepare_userptr drivers/media/common/videobuf2/videobuf2-core.c:1164 [inline]
 __buf_prepare+0xc22/0x4490 drivers/media/common/videobuf2/videobuf2-core.c:1406
 vb2_core_prepare_buf+0xe2/0x300 drivers/media/common/videobuf2/videobuf2-core.c:1535
 __video_do_ioctl+0xa44/0xe40 drivers/media/v4l2-core/v4l2-ioctl.c:2976
 video_usercopy+0xa87/0x1120 drivers/media/v4l2-core/v4l2-ioctl.c:3324
 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:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f773e705229
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:00007ffd9a1d5f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffd9a1d6128 RCX: 00007f773e705229
RDX: 00000000200002c0 RSI: 00000000c058565d RDI: 0000000000000003
RBP: 00007f773e778610 R08: 00007ffd9a1d6128 R09: 00007ffd9a1d6128
R10: 00236f656469762f R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd9a1d6118 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (248):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/21 11:20 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/03/16 10:53 linux-5.15.y 2ddbd0f967b3 18b58603 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/03/16 10:32 linux-5.15.y 2ddbd0f967b3 18b58603 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/03/08 21:09 linux-5.15.y d9b4a0c83a2d 4fc6d98d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/07/02 04:41 linux-5.15.y 4af60700a60c bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/24 21:58 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/09/30 22:17 linux-5.15.y b911329317b4 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/09/21 05:18 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/09/01 01:26 linux-5.15.y 9e43368a3393 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/08/23 09:15 linux-5.15.y f6f7927ac664 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/08/01 12:39 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/07/14 11:20 linux-5.15.y d54cfc420586 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/06/30 15:33 linux-5.15.y 4af60700a60c 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/03/08 20:37 linux-5.15.y d9b4a0c83a2d 4fc6d98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in get_vaddr_frames
2023/08/01 09:39 linux-5.15.y 09996673e313 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/19 01:34 linux-5.15.y d54cfc420586 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/11 04:28 linux-5.15.y d54cfc420586 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/10 19:38 linux-5.15.y d54cfc420586 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/10 16:12 linux-5.15.y d54cfc420586 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/07 21:17 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/07 19:16 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/07 06:18 linux-5.15.y d54cfc420586 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/06 19:34 linux-5.15.y d54cfc420586 1a2f6297 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/06 14:15 linux-5.15.y d54cfc420586 1a2f6297 .config console log report info ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/05 23:13 linux-5.15.y d54cfc420586 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/05 16:40 linux-5.15.y 4af60700a60c ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/05 09:21 linux-5.15.y 4af60700a60c 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/05 07:35 linux-5.15.y 4af60700a60c 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/04 19:47 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/04 15:26 linux-5.15.y 4af60700a60c f99c2404 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/03 21:44 linux-5.15.y 4af60700a60c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/03 18:33 linux-5.15.y 4af60700a60c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/01 18:35 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/07/01 14:33 linux-5.15.y 4af60700a60c bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/30 23:25 linux-5.15.y 4af60700a60c af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/30 19:30 linux-5.15.y 4af60700a60c af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/30 06:02 linux-5.15.y 4af60700a60c 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/30 02:36 linux-5.15.y 4af60700a60c 01298212 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/29 17:08 linux-5.15.y 4af60700a60c 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/29 11:16 linux-5.15.y 4af60700a60c 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/29 00:00 linux-5.15.y 4af60700a60c ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/28 18:49 linux-5.15.y 4af60700a60c ca69c785 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/28 14:58 linux-5.15.y 4af60700a60c 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/26 21:13 linux-5.15.y f67653019430 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/26 19:36 linux-5.15.y f67653019430 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/24 21:43 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/21 21:32 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/21 17:08 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/21 02:03 linux-5.15.y 471e639e59d1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/20 22:10 linux-5.15.y 471e639e59d1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/20 05:31 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/20 01:18 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/19 20:14 linux-5.15.y 471e639e59d1 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
2023/06/19 12:59 linux-5.15.y 471e639e59d1 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in get_vaddr_frames
* Struck through repros no longer work on HEAD.