syzbot


general protection fault in dma_buf_release

Status: auto-obsoleted due to no activity on 2023/04/16 17:56
Reported-by: syzbot+fb5a27655d329967477b@syzkaller.appspotmail.com
First crash: 1597d, last: 1512d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dma_buf_release dri media C done 81 1523d 1598d 0/28 auto-obsoleted due to no activity on 2022/09/23 19:08
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/16 17:40 16m retest repro android12-5.4 OK log

Sample crash report:
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 422 Comm: syz-executor252 Not tainted 5.4.51-syzkaller-00087-g43cb883475a5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dma_buf_release+0x44/0x2f0 drivers/dma-buf/dma-buf.c:63
Code: fe 48 83 c3 78 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 4b 5c 08 ff 4c 8b 23 49 8d 5c 24 48 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 2b 02 00 00 8b 1b 31 ff 89 de e8 a5 31 da
RSP: 0018:ffff8881cd7977e0 EFLAGS: 00010206
RAX: 0000000000000009 RBX: 0000000000000048 RCX: ffff8881cc395d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881d3d54880
RBP: dffffc0000000000 R08: ffffffff817b45ff R09: 0000000000000003
R10: ffffed1039af2ee5 R11: 0000000000000004 R12: 0000000000000000
R13: dffffc0000000000 R14: 1ffff1103a7aa910 R15: 1ffff1103a7aa922
FS:  00007fd527f4f700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd527fb1e78 CR3: 00000001ce341005 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __dentry_kill+0x41b/0x5a0 fs/dcache.c:584
 dentry_kill fs/dcache.c:673 [inline]
 dput+0x2e1/0x5e0 fs/dcache.c:859
 path_put+0x35/0x60 fs/namei.c:495
 alloc_file_pseudo+0x2ac/0x340 fs/file_table.c:235
 dma_buf_getfile drivers/dma-buf/dma-buf.c:441 [inline]
 dma_buf_export+0x4c2/0x770 drivers/dma-buf/dma-buf.c:550
 ion_dmabuf_alloc+0x199/0x230 drivers/staging/android/ion/ion_dma_buf.c:379
 ion_alloc_fd drivers/staging/android/ion/ion.c:54 [inline]
 ion_ioctl+0x2e8/0x9c0 drivers/staging/android/ion/ion.c:194
 do_vfs_ioctl+0x770/0x1750 fs/ioctl.c:47
 ksys_ioctl fs/ioctl.c:714 [inline]
 __do_sys_ioctl fs/ioctl.c:721 [inline]
 __se_sys_ioctl fs/ioctl.c:719 [inline]
 __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:719
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x446929
Code: e8 0c e8 ff ff 48 83 c4 18 c3 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 0f 83 fb 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fd527f4ed88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446929
RDX: 0000000020000180 RSI: 00000000c0184900 RDI: 0000000000000007
RBP: 00000000006dbc70 R08: 0000000000000001 R09: 0000000000000038
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc7c
R13: 00007fd527f4ed90 R14: 0000000000000008 R15: 0000000000000001
Modules linked in:
---[ end trace 01009cb57b7b5fd5 ]---
RIP: 0010:dma_buf_release+0x44/0x2f0 drivers/dma-buf/dma-buf.c:63
Code: fe 48 83 c3 78 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 4b 5c 08 ff 4c 8b 23 49 8d 5c 24 48 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 2b 02 00 00 8b 1b 31 ff 89 de e8 a5 31 da
RSP: 0018:ffff8881cd7977e0 EFLAGS: 00010206
RAX: 0000000000000009 RBX: 0000000000000048 RCX: ffff8881cc395d00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881d3d54880
RBP: dffffc0000000000 R08: ffffffff817b45ff R09: 0000000000000003
R10: ffffed1039af2ee5 R11: 0000000000000004 R12: 0000000000000000
R13: dffffc0000000000 R14: 1ffff1103a7aa910 R15: 1ffff1103a7aa922
FS:  00007fd527f4f700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000180 CR3: 00000001ce341004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (99):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/09 23:46 https://android.googlesource.com/kernel/common android-5.4 43cb883475a5 edf162e8 .config console log report syz C ci2-android-5-4-kasan
2020/10/03 01:40 android12-5.4 673e6740f870 062c9832 .config console log report info ci2-android-5-4-kasan
2020/09/29 18:23 android12-5.4 6fa60aa03b21 5abc3f1a .config console log report info ci2-android-5-4-kasan
2020/09/22 08:15 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 9e1fa68e .config console log report info ci2-android-5-4-kasan
2020/09/20 22:58 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 9564d2e9 .config console log report info ci2-android-5-4-kasan
2020/09/20 16:35 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 9564d2e9 .config console log report info ci2-android-5-4-kasan
2020/09/20 09:00 https://android.googlesource.com/kernel/common android-5.4 63d1c2f0b547 53ce8104 .config console log report info ci2-android-5-4-kasan
2020/09/10 19:40 https://android.googlesource.com/kernel/common android-5.4 2e92971666a3 ac7ca78e .config console log report ci2-android-5-4-kasan
2020/09/06 00:31 https://android.googlesource.com/kernel/common android-5.4 0ef1db7b69dd abf9ba4f .config console log report ci2-android-5-4-kasan
2020/09/04 19:06 https://android.googlesource.com/kernel/common android-5.4 3f20ba7d5d1d abf9ba4f .config console log report ci2-android-5-4-kasan
2020/09/03 03:21 https://android.googlesource.com/kernel/common android-5.4 3f84f0c1ff00 abf9ba4f .config console log report ci2-android-5-4-kasan
2020/08/29 10:11 https://android.googlesource.com/kernel/common android-5.4 e15cc541b749 d5a3ae1f .config console log report ci2-android-5-4-kasan
2020/08/29 08:17 https://android.googlesource.com/kernel/common android-5.4 34364883b1f7 d5a3ae1f .config console log report ci2-android-5-4-kasan
2020/08/28 13:45 https://android.googlesource.com/kernel/common android-5.4 34364883b1f7 816e0689 .config console log report ci2-android-5-4-kasan
2020/08/28 06:58 https://android.googlesource.com/kernel/common android-5.4 1bd2e4c18e44 816e0689 .config console log report ci2-android-5-4-kasan
2020/08/27 10:45 https://android.googlesource.com/kernel/common android-5.4 4915c32a2f6b 816e0689 .config console log report ci2-android-5-4-kasan
2020/08/27 03:17 https://android.googlesource.com/kernel/common android-5.4 4915c32a2f6b 318430cb .config console log report ci2-android-5-4-kasan
2020/08/25 22:42 https://android.googlesource.com/kernel/common android-5.4 931718fa65fe 344da168 .config console log report ci2-android-5-4-kasan
2020/08/25 21:11 https://android.googlesource.com/kernel/common android-5.4 931718fa65fe 344da168 .config console log report ci2-android-5-4-kasan
2020/08/25 05:52 https://android.googlesource.com/kernel/common android-5.4 8c7bf5fe0edb 344da168 .config console log report ci2-android-5-4-kasan
2020/08/24 22:19 https://android.googlesource.com/kernel/common android-5.4 8c7bf5fe0edb 67b599d1 .config console log report ci2-android-5-4-kasan
2020/08/24 19:47 https://android.googlesource.com/kernel/common android-5.4 8c7bf5fe0edb 67b599d1 .config console log report ci2-android-5-4-kasan
2020/08/24 14:20 https://android.googlesource.com/kernel/common android-5.4 8c7bf5fe0edb 67b599d1 .config console log report ci2-android-5-4-kasan
2020/08/23 13:31 https://android.googlesource.com/kernel/common android-5.4 2f4d6c9fd77c a6d5f3ad .config console log report ci2-android-5-4-kasan
2020/08/22 22:44 https://android.googlesource.com/kernel/common android-5.4 2f4d6c9fd77c 1da71ab0 .config console log report ci2-android-5-4-kasan
2020/08/22 08:42 https://android.googlesource.com/kernel/common android-5.4 2f4d6c9fd77c 6436ce4b .config console log report ci2-android-5-4-kasan
2020/08/21 13:45 https://android.googlesource.com/kernel/common android-5.4 17245be70d1d 1d75fe45 .config console log report ci2-android-5-4-kasan
2020/08/17 20:09 https://android.googlesource.com/kernel/common android-5.4 db4c5bdbbd7a 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/17 09:06 https://android.googlesource.com/kernel/common android-5.4 0881b55787d3 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/17 04:54 https://android.googlesource.com/kernel/common android-5.4 0881b55787d3 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/15 00:52 https://android.googlesource.com/kernel/common android-5.4 c3221b7ac740 5ce13532 .config console log report ci2-android-5-4-kasan
2020/08/14 05:16 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report ci2-android-5-4-kasan
2020/08/14 03:31 https://android.googlesource.com/kernel/common android-5.4 fc9e35d72c06 54ce1ed6 .config console log report ci2-android-5-4-kasan
2020/08/13 15:23 https://android.googlesource.com/kernel/common android-5.4 00dc5af368b7 ee7cb8b6 .config console log report ci2-android-5-4-kasan
2020/08/13 07:56 https://android.googlesource.com/kernel/common android-5.4 0f9671b21cdd bc15f7db .config console log report ci2-android-5-4-kasan
2020/08/13 04:10 https://android.googlesource.com/kernel/common android-5.4 0f9671b21cdd bc15f7db .config console log report ci2-android-5-4-kasan
2020/08/12 04:42 https://android.googlesource.com/kernel/common android-5.4 7fc27297c44d bb3e5fe6 .config console log report ci2-android-5-4-kasan
2020/08/11 19:05 https://android.googlesource.com/kernel/common android-5.4 469f79148e88 5d3ebca9 .config console log report ci2-android-5-4-kasan
2020/08/11 03:00 https://android.googlesource.com/kernel/common android-5.4 df9cd6bf799e d3694ffb .config console log report ci2-android-5-4-kasan
2020/08/10 22:21 https://android.googlesource.com/kernel/common android-5.4 df9cd6bf799e 7adc7b65 .config console log report ci2-android-5-4-kasan
2020/08/10 12:36 https://android.googlesource.com/kernel/common android-5.4 99256a8c206b 7adc7b65 .config console log report ci2-android-5-4-kasan
2020/08/10 03:40 https://android.googlesource.com/kernel/common android-5.4 99256a8c206b 70301872 .config console log report ci2-android-5-4-kasan
2020/08/09 21:02 https://android.googlesource.com/kernel/common android-5.4 99256a8c206b 70301872 .config console log report ci2-android-5-4-kasan
2020/08/09 08:10 https://android.googlesource.com/kernel/common android-5.4 99256a8c206b f721e4a0 .config console log report ci2-android-5-4-kasan
2020/08/08 17:14 https://android.googlesource.com/kernel/common android-5.4 99256a8c206b 01975a06 .config console log report ci2-android-5-4-kasan
2020/08/07 03:25 https://android.googlesource.com/kernel/common android-5.4 20874555c706 cb436c69 .config console log report ci2-android-5-4-kasan
2020/08/06 18:55 https://android.googlesource.com/kernel/common android-5.4 8555f0d9d303 4ca1c0ea .config console log report ci2-android-5-4-kasan
2020/08/06 06:17 https://android.googlesource.com/kernel/common android-5.4 750930c292ae 0487ea6f .config console log report ci2-android-5-4-kasan
2020/08/05 16:45 https://android.googlesource.com/kernel/common android-5.4 829e5a74a206 b7129355 .config console log report ci2-android-5-4-kasan
2020/07/11 18:03 https://android.googlesource.com/kernel/common android-5.4 9de16c6eb7c3 7ba05d2d .config console log report ci2-android-5-4-kasan
2020/07/10 13:30 https://android.googlesource.com/kernel/common android-5.4 a65bb671702d 56d01184 .config console log report ci2-android-5-4-kasan
2020/07/09 23:35 https://android.googlesource.com/kernel/common android-5.4 43cb883475a5 edf162e8 .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.