syzbot


WARNING in dma_buf_vunmap

Status: upstream: reported C repro on 2019/04/17 14:27
Reported-by: syzbot+9f85443bf7419f90494c@syzkaller.appspotmail.com
First crash: 1889d, last: 631d
Fix bisection the fix commit could be any of (bisect log):
  58b454ebf81e Linux 4.14.112
  4139fb08c05f Linux 4.14.187
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in dma_buf_vunmap dri media C done done 17 2006d 2044d 13/27 fixed on 2019/11/11 16:48
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2020/07/01 14:40 29m (2) bisect fix linux-4.14.y job log (2)
2020/06/01 12:18 24m bisect fix linux-4.14.y job log (0) log
2020/05/02 11:53 24m bisect fix linux-4.14.y job log (0) log
2020/02/10 20:06 23m bisect fix linux-4.14.y job log (0) log
2020/01/11 19:43 22m bisect fix linux-4.14.y job log (0) log
2019/12/12 15:57 22m bisect fix linux-4.14.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7965 at drivers/dma-buf/dma-buf.c:1039 dma_buf_vunmap+0x181/0x1f0 drivers/dma-buf/dma-buf.c:1039
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7965 Comm: syz-executor799 Not tainted 4.14.292-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:dma_buf_vunmap+0x181/0x1f0 drivers/dma-buf/dma-buf.c:1039
RSP: 0018:ffff8880918e7b20 EFLAGS: 00010297
RAX: ffff8880a5fe4240 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffc90005c26000 RDI: 0000000000000000
RBP: ffffc90005c26000 R08: 0000000000000000 R09: 000000000004054a
R10: ffff8880a5fe4af0 R11: ffff8880a5fe4240 R12: ffffc90005c26000
R13: ffff8880ab2e15a8 R14: ffff8880b364db80 R15: 0000000000000000
 vb2_vmalloc_detach_dmabuf+0x57/0x80 drivers/media/v4l2-core/videobuf2-vmalloc.c:407
 __vb2_plane_dmabuf_put+0x10b/0x2e0 drivers/media/v4l2-core/videobuf2-core.c:273
 __vb2_buf_dmabuf_put drivers/media/v4l2-core/videobuf2-core.c:289 [inline]
 __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:411 [inline]
 __vb2_queue_free+0x5e4/0x7a0 drivers/media/v4l2-core/videobuf2-core.c:454
 vb2_core_queue_release+0x5b/0x70 drivers/media/v4l2-core/videobuf2-core.c:2054
 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline]
 _vb2_fop_release+0x1c1/0x280 drivers/media/v4l2-core/videobuf2-v4l2.c:840
 vivid_fop_release+0x17d/0x6c0 drivers/media/platform/vivid/vivid-core.c:486
 v4l2_release+0xf4/0x190 drivers/media/v4l2-core/v4l2-dev.c:446
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xa44/0x2850 kernel/exit.c:868
 do_group_exit+0x100/0x2e0 kernel/exit.c:965
 SYSC_exit_group kernel/exit.c:976 [inline]
 SyS_exit_group+0x19/0x20 kernel/exit.c:974
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fd3b2ab8409
RSP: 002b:00007fff8765bc58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fd3b2b2c270 RCX: 00007fd3b2ab8409
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd3b2b2c270
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (61):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/07 19:58 linux-4.14.y 65640c873dcf c5b7bc57 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/05/25 23:16 linux-4.14.y 501eec4f9e13 3037caa9 .config console log report syz C ci2-linux-4-14 WARNING in dma_buf_vunmap
2020/07/03 11:20 linux-4.14.y b850307b279c f30c14bf .config console log report syz C ci2-linux-4-14
2019/04/17 14:18 linux-4.14.y 58b454ebf81e b0e8efcb .config console log report syz C ci2-linux-4-14
2022/09/26 06:52 linux-4.14.y 4edbf74132a4 0042f2b4 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/09/22 13:51 linux-4.14.y 4edbf74132a4 60af5050 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/09/07 19:46 linux-4.14.y 65640c873dcf c5b7bc57 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/07/07 07:07 linux-4.14.y ed2e96e11936 bff65f44 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/06/22 03:57 linux-4.14.y 84bae26850e3 0fc5c330 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/05/25 23:04 linux-4.14.y 501eec4f9e13 3037caa9 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/04/17 01:26 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/04/12 12:39 linux-4.14.y 74766a973637 af01ee7d .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/04/12 07:29 linux-4.14.y 74766a973637 af01ee7d .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/03/21 00:55 linux-4.14.y eb045674aab3 e2d91b1d .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/03/20 19:27 linux-4.14.y eb045674aab3 e2d91b1d .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/03/13 15:48 linux-4.14.y af48f51cb593 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/02/28 02:39 linux-4.14.y fa33f9094f36 45a13a73 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/02/05 16:32 linux-4.14.y b86ee2b7ae42 a7dab638 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/02/03 06:50 linux-4.14.y b86ee2b7ae42 4ebb2798 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2022/01/02 13:51 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/12/06 16:31 linux-4.14.y 66722c42ec91 579a8754 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/05/17 03:00 linux-4.14.y 7d7d1c0ab3eb f54a5c09 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/05/02 07:43 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/04/19 13:07 linux-4.14.y cf256fbcbe34 50f523d7 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/03/28 21:33 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/02/12 03:54 linux-4.14.y 2c8a3fceddf0 a5f86b15 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/02/03 14:27 linux-4.14.y 2c8a3fceddf0 624dad51 .config console log report info ci2-linux-4-14 WARNING in dma_buf_vunmap
2021/01/11 15:11 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report info ci2-linux-4-14
2021/01/10 04:44 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report info ci2-linux-4-14
2021/01/08 08:41 linux-4.14.y 1752938529c6 c104d4a3 .config console log report info ci2-linux-4-14
2020/11/30 13:38 linux-4.14.y 87335852c5d9 76831598 .config console log report info ci2-linux-4-14
2020/11/21 03:01 linux-4.14.y 8961076ed318 68068804 .config console log report info ci2-linux-4-14
2020/11/19 16:11 linux-4.14.y 8961076ed318 0767f13f .config console log report info ci2-linux-4-14
2020/11/13 09:41 linux-4.14.y 27ce4f2a6817 16fca0c8 .config console log report info ci2-linux-4-14
2020/11/02 17:31 linux-4.14.y 2b7915014161 8bc4594f .config console log report info ci2-linux-4-14
2020/07/29 02:10 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/23 05:40 linux-4.14.y 69b94dd6dcd1 340ea530 .config console log report ci2-linux-4-14
2020/07/18 07:32 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/12 16:56 linux-4.14.y b850307b279c 115e1930 .config console log report ci2-linux-4-14
2020/04/02 10:42 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report ci2-linux-4-14
2020/03/18 07:30 linux-4.14.y 12cd844a39ed 97bc55ce .config console log report ci2-linux-4-14
2020/03/17 19:32 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/02/23 09:47 linux-4.14.y 98db2bf27b9e 2c36e7a7 .config console log report ci2-linux-4-14
2019/10/18 09:05 linux-4.14.y b98aebd29824 8c88c9c1 .config console log report ci2-linux-4-14
2019/09/23 01:52 linux-4.14.y f6e27dbb1afa d96e88f3 .config console log report ci2-linux-4-14
2019/09/22 15:06 linux-4.14.y f6e27dbb1afa d96e88f3 .config console log report ci2-linux-4-14
2019/09/18 12:21 linux-4.14.y 968722f5371a c2dcd700 .config console log report ci2-linux-4-14
2019/09/13 15:41 linux-4.14.y e2cd24b62938 32d59357 .config console log report ci2-linux-4-14
2019/09/10 09:24 linux-4.14.y 414510bc00a5 a60cb4cd .config console log report ci2-linux-4-14
2019/09/09 07:43 linux-4.14.y 414510bc00a5 a60cb4cd .config console log report ci2-linux-4-14
2019/09/05 22:21 linux-4.14.y 01fd1694b93c bf6bcce4 .config console log report ci2-linux-4-14
2019/09/05 09:05 linux-4.14.y 01fd1694b93c 040fda58 .config console log report ci2-linux-4-14
2019/09/03 21:48 linux-4.14.y 01fd1694b93c 48448e71 .config console log report ci2-linux-4-14
2019/08/27 17:48 linux-4.14.y b5260801526c d21c5d9d .config console log report ci2-linux-4-14
2019/08/23 11:45 linux-4.14.y 45f092f9e9cb ca6f3cfa .config console log report ci2-linux-4-14
2019/07/28 18:41 linux-4.14.y ff33472c282e c85e1c5b .config console log report ci2-linux-4-14
2019/07/28 03:29 linux-4.14.y ff33472c282e c85e1c5b .config console log report ci2-linux-4-14
2019/06/29 03:00 linux-4.14.y f4cc0ed9b2c7 7509bf36 .config console log report ci2-linux-4-14
2019/06/23 06:53 linux-4.14.y a5758c531177 34bf9440 .config console log report ci2-linux-4-14
2019/06/16 18:49 linux-4.14.y a74d0e937a3a 442206d7 .config console log report ci2-linux-4-14
2019/04/17 13:26 linux-4.14.y 58b454ebf81e b0e8efcb .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.