syzbot


kernel BUG at drivers/android/binder_alloc.c:LINE! (2)

Status: fixed on 2019/03/28 12:00
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
Fix commit: 26528be6720b binder: fix handling of misaligned binder object
First crash: 1921d, last: 1878d
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 5.0 00/89] 5.0.11-stable review 106 (106) 2019/05/03 11:48
[PATCH 4.19 000/100] 4.19.38-stable review 108 (108) 2019/05/02 05:30
[PATCH 4.14 00/53] 4.14.115-stable review 59 (59) 2019/05/01 16:44
[PATCH] binder: fix handling of misaligned binder object 2 (2) 2019/02/15 07:48
kernel BUG at drivers/android/binder_alloc.c:LINE! (2) 2 (7) 2019/02/15 05:38
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! kernel C 856 2356d 2360d 4/26 fixed on 2018/02/01 10:32
android-414 kernel BUG at drivers/android/binder_alloc.c:LINE! (2) C 3 1797d 1797d 0/1 public: reported C repro on 2019/06/17 23:05
upstream kernel BUG in binder_alloc_deferred_release kernel C done 4 697d 699d 22/26 fixed on 2023/02/24 13:50
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! (3) kernel C done 24 1809d 1878d 12/26 fixed on 2019/06/14 18:22
upstream kernel BUG at drivers/android/binder_alloc.c:LINE! (4) C done 26 1789d 1797d 12/26 fixed on 2019/08/05 13:45
android-414 kernel BUG at drivers/android/binder_alloc.c:LINE! C 30 1879d 1880d 1/1 fixed on 2019/03/28 03:28
android-49 kernel BUG at drivers/android/binder_alloc.c:LINE! C 44 1632d 1880d 1/3 internal: reported C repro on 2019/03/26 19:34

Sample crash report:
8021q: adding VLAN 0 to HW filter on device batadv0
------------[ cut here ]------------
kernel BUG at drivers/android/binder_alloc.c:1141!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7864 Comm: syz-executor281 Not tainted 5.1.0-rc2+ #39
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 1f f8 23 fc 4c 89 e6 4c 89 ef e8 34 f9 23 fc 4d 39 e5 76 07 e8 0a f8 23 fc <0f> 0b e8 03 f8 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 11
RSP: 0018:ffff88808b937550 EFLAGS: 00010293
RAX: ffff88808ce12440 RBX: 0000000020001000 RCX: ffffffff854c796c
RDX: 0000000000000000 RSI: ffffffff854c7976 RDI: 0000000000000006
RBP: ffff88808b9375d0 R08: ffff88808ce12440 R09: 0000000000000028
R10: ffffed1011726f01 R11: ffff88808b93780f R12: 0000000000000008
R13: 0000000000000028 R14: ffff88808c3258d0 R15: 0000000000000000
FS:  0000000000a80940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000009631e000 CR4: 00000000001406f0
Call Trace:
 binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1187
 binder_get_object+0xc3/0x200 drivers/android/binder.c:2062
 binder_transaction+0x2b4a/0x6690 drivers/android/binder.c:3231
 binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792
 binder_ioctl_write_read drivers/android/binder.c:4825 [inline]
 binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x445cc9
Code: 43 02 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 90 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 7b d4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff028f6c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fff028f6cb0 RCX: 0000000000445cc9
RDX: 0000000020000440 RSI: 00000000c0306201 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a9d50
R13: 0000000000403660 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace fdd68172afe77ceb ]---
RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1141
Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 1f f8 23 fc 4c 89 e6 4c 89 ef e8 34 f9 23 fc 4d 39 e5 76 07 e8 0a f8 23 fc <0f> 0b e8 03 f8 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 11
RSP: 0018:ffff88808b937550 EFLAGS: 00010293
RAX: ffff88808ce12440 RBX: 0000000020001000 RCX: ffffffff854c796c
RDX: 0000000000000000 RSI: ffffffff854c7976 RDI: 0000000000000006
RBP: ffff88808b9375d0 R08: ffff88808ce12440 R09: 0000000000000028
R10: ffffed1011726f01 R11: ffff88808b93780f R12: 0000000000000008
R13: 0000000000000028 R14: ffff88808c3258d0 R15: 0000000000000000
FS:  0000000000a80940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561083133100 CR3: 000000009631e000 CR4: 00000000001406e0

Crashes (1257):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/27 05:05 upstream 14c741de9386 55684ce1 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/27 04:55 upstream 65ae689329c5 55684ce1 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/27 04:40 upstream 65ae689329c5 55684ce1 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/27 04:10 upstream 65ae689329c5 55684ce1 .config console log report syz C ci-upstream-kasan-gce
2019/03/09 14:56 upstream 38e7571c07be 12365b99 .config console log report syz C ci-upstream-kasan-gce
2019/03/09 12:44 upstream 3601fe43e816 12365b99 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/09 12:43 upstream 3601fe43e816 12365b99 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/09 12:23 upstream 3601fe43e816 12365b99 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/08 00:30 upstream 1fc1cd8399ab 4b69c3cb .config console log report syz C ci-upstream-kasan-gce-root
2019/03/07 13:55 upstream f90d64483ebd 8c085c5e .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/07 13:28 upstream f90d64483ebd 8c085c5e .config console log report syz C ci-upstream-kasan-gce
2019/03/07 13:09 upstream f90d64483ebd 8c085c5e .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/27 04:16 upstream 65ae689329c5 55684ce1 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/09 12:44 upstream 3601fe43e816 12365b99 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/07 13:54 upstream f90d64483ebd 8c085c5e .config console log report syz C ci-upstream-kasan-gce-386
2019/03/09 12:43 linux-next cf08baa29613 12365b99 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/07 13:37 linux-next cf08baa29613 8c085c5e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/02/15 05:37 linux-next b3418f8bddf4 76dd003f .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/02/15 01:06 linux-next b3418f8bddf4 76dd003f .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/02/14 19:00 linux-next b3418f8bddf4 76dd003f .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/02/14 14:44 linux-next b3418f8bddf4 6a46f448 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/02/14 11:34 linux-next b3418f8bddf4 6a46f448 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/03/28 00:59 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce
2019/03/27 20:37 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/27 18:44 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce
2019/03/27 17:35 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce
2019/03/27 17:27 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce-root
2019/03/27 16:27 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce
2019/03/27 12:18 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/27 11:16 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 10:15 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/27 09:11 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/27 07:34 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 04:12 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/27 03:52 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 22:28 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 21:15 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 20:15 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 18:43 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 17:34 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 15:16 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 13:56 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 11:18 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 10:07 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 06:07 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 04:42 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 03:21 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 00:40 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/25 23:28 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 21:27 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-root
2019/03/25 20:26 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce
2019/03/25 19:21 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce
2019/03/25 19:01 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce
2019/03/25 15:09 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 15:08 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 14:08 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 12:55 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce
2019/03/25 08:57 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce
2019/03/25 06:20 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/28 10:58 upstream 1a9df9e29c2a f94f56fe .config console log report ci-upstream-kasan-gce-386
2019/03/28 09:18 upstream 1a9df9e29c2a f94f56fe .config console log report ci-upstream-kasan-gce-386
2019/03/28 06:15 upstream 1a9df9e29c2a f94f56fe .config console log report ci-upstream-kasan-gce-386
2019/03/27 23:30 upstream 65ae689329c5 4e668495 .config console log report ci-upstream-kasan-gce-386
2019/03/27 01:21 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/26 23:34 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/26 16:34 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/26 12:38 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/26 08:49 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/25 19:21 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-386
2019/03/25 17:58 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-386
2019/03/25 16:41 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-386
2019/03/25 07:52 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-386
2019/03/21 21:20 linux-next 32a217bae32c dce6e62f .config console log report ci-upstream-linux-next-kasan-gce-root
2019/02/14 09:49 linux-next b3418f8bddf4 6a46f448 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.