[Android 5.4] general protection fault in inherit_task_group

0 views
Skip to first unread message

syzbot

unread,
Feb 16, 2024, 5:46:33 PMFeb 16
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1b3143b9b166 UPSTREAM: net: tls, update curr on splice as ..
git tree: android12-5.4
console+strace: https://syzkaller.appspot.com/x/log.txt?x=1762d058180000
kernel config: https://syzkaller.appspot.com/x/.config?x=a2dd4b5d39d9fde5
dashboard link: https://syzkaller.appspot.com/bug?extid=904de93f21b99bec4d00
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15b36db2180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16fc2f68180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a095e4f5acb8/disk-1b3143b9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6ef8e543f489/vmlinux-1b3143b9.xz
kernel image: https://storage.googleapis.com/syzbot-assets/552a851f1d18/bzImage-1b3143b9.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+904de9...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 498 Comm: syz-executor320 Not tainted 5.4.265-syzkaller-00001-g1b3143b9b166 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:inherit_group kernel/events/core.c:12068 [inline]
RIP: 0010:inherit_task_group+0x1bf/0x390 kernel/events/core.c:12112
Code: c5 8c 00 00 00 48 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 86 01 00 00 8b 5d 00 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 85 01 00 00 41 89 1f 45 31 ff e9 f4 00
RSP: 0018:ffff8881efbcf9c8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff8881f31dcec0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881f0b67090
RBP: ffff8881f0b6708c R08: dffffc0000000000 R09: ffffed103edeb12c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881efbcfac0 R14: ffff8881f0b67010 R15: 000000000000008c
FS: 00007fcba5fbc6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001f4dd5000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
perf_event_init_context kernel/events/core.c:12179 [inline]
perf_event_init_task+0x331/0x770 kernel/events/core.c:12231
copy_process+0xf2b/0x3230 kernel/fork.c:2026
_do_fork+0x197/0x900 kernel/fork.c:2399
__do_sys_clone kernel/fork.c:2557 [inline]
__se_sys_clone kernel/fork.c:2538 [inline]
__x64_sys_clone+0x26b/0x2c0 kernel/fork.c:2538
do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace 283ff73b2040e566 ]---
RIP: 0010:inherit_group kernel/events/core.c:12068 [inline]
RIP: 0010:inherit_task_group+0x1bf/0x390 kernel/events/core.c:12112
Code: c5 8c 00 00 00 48 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 86 01 00 00 8b 5d 00 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 85 01 00 00 41 89 1f 45 31 ff e9 f4 00
RSP: 0018:ffff8881efbcf9c8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff8881f31dcec0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881f0b67090
RBP: ffff8881f0b6708c R08: dffffc0000000000 R09: ffffed103edeb12c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881efbcfac0 R14: ffff8881f0b67010 R15: 000000000000008c
FS: 00007fcba5fbc6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcba6074078 CR3: 00000001f4dd5000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 8c 00 mov %es,(%rax)
2: 00 00 add %al,(%rax)
4: 48 89 e8 mov %rbp,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax
10: 84 c0 test %al,%al
12: 0f 85 86 01 00 00 jne 0x19e
18: 8b 5d 00 mov 0x0(%rbp),%ebx
1b: 49 81 c7 8c 00 00 00 add $0x8c,%r15
22: 4c 89 f8 mov %r15,%rax
25: 48 c1 e8 03 shr $0x3,%rax
* 29: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 85 01 00 00 jne 0x1bb
36: 41 89 1f mov %ebx,(%r15)
39: 45 31 ff xor %r15d,%r15d
3c: e9 .byte 0xe9
3d: f4 hlt


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Feb 16, 2024, 6:02:31 PMFeb 16
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: dd976ecce2ce Merge "Merge branch 'android13-5.10' into bra..
git tree: android13-5.10-lts
console+strace: https://syzkaller.appspot.com/x/log.txt?x=112c63a4180000
kernel config: https://syzkaller.appspot.com/x/.config?x=1a6e39f6bdc97aed
dashboard link: https://syzkaller.appspot.com/bug?extid=087df0cef3d1b3199a9b
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10500072180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13430f84180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/d6568b0d474a/disk-dd976ecc.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/266fc1e68864/vmlinux-dd976ecc.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3f8b8756e53b/bzImage-dd976ecc.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+087df0...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]
CPU: 0 PID: 515 Comm: syz-executor328 Not tainted 5.10.209-syzkaller-00435-gdd976ecce2ce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:inherit_group kernel/events/core.c:12865 [inline]
RIP: 0010:inherit_task_group+0x573/0x670 kernel/events/core.c:12909
Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 a8 00 00 00 8b 1b 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 a8 00 00 00 41 89 1f 45 31 ff 44 89 f8
RSP: 0018:ffffc90000f679a8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88811f0a13c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811819f890
RBP: ffffc90000f67a10 R08: dffffc0000000000 R09: ffffed103ee0ae72
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000f67ac0
R13: dffffc0000000000 R14: ffff88811819f810 R15: 000000000000008c
FS: 00007f87cbee16c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87cbee1d58 CR3: 00000001181ac000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
perf_event_init_context kernel/events/core.c:12976 [inline]
perf_event_init_task+0x331/0x770 kernel/events/core.c:13028
copy_process+0x1015/0x3340 kernel/fork.c:2157
kernel_clone+0x21e/0x9e0 kernel/fork.c:2574
__do_sys_clone kernel/fork.c:2700 [inline]
__se_sys_clone kernel/fork.c:2684 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2684
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f87cbf41469
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f87cbee1238 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f87cbfcb338 RCX: 00007f87cbf41469
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000002400
RBP: 00007f87cbfcb330 R08: 0000000000000000 R09: 00007f87cbee16c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87cbf98064
R13: 000000000000000b R14: 00007ffc722a14e0 R15: 00007ffc722a15c8
Modules linked in:
---[ end trace 65b2625825ee8ac7 ]---
RIP: 0010:inherit_group kernel/events/core.c:12865 [inline]
RIP: 0010:inherit_task_group+0x573/0x670 kernel/events/core.c:12909
Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 a8 00 00 00 8b 1b 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 a8 00 00 00 41 89 1f 45 31 ff 44 89 f8
RSP: 0018:ffffc90000f679a8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88811f0a13c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811819f890
RBP: ffffc90000f67a10 R08: dffffc0000000000 R09: ffffed103ee0ae72
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000f67ac0
R13: dffffc0000000000 R14: ffff88811819f810 R15: 000000000000008c
FS: 00007f87cbee16c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87cbee1d58 CR3: 00000001181ac000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 81 c3 8c 00 00 00 add $0x8c,%ebx
6: 48 89 d8 mov %rbx,%rax
9: 48 c1 e8 03 shr $0x3,%rax
d: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
12: 84 c0 test %al,%al
14: 0f 85 a8 00 00 00 jne 0xc2
1a: 8b 1b mov (%rbx),%ebx
1c: 49 81 c7 8c 00 00 00 add $0x8c,%r15
23: 4c 89 f8 mov %r15,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 a8 00 00 00 jne 0xdf
37: 41 89 1f mov %ebx,(%r15)
3a: 45 31 ff xor %r15d,%r15d
3d: 44 89 f8 mov %r15d,%eax

syzbot

unread,
Feb 16, 2024, 6:09:21 PMFeb 16
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 993bed180178 Merge "Merge branch 'android13-5.15' into bra..
git tree: android13-5.15-lts
console+strace: https://syzkaller.appspot.com/x/log.txt?x=11ecf3b2180000
kernel config: https://syzkaller.appspot.com/x/.config?x=49ce29477ba81e8f
dashboard link: https://syzkaller.appspot.com/bug?extid=f58c97f6feeb026985af
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15bc318a180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1428d3a4180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/803c31a2cd6a/disk-993bed18.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/fb3ff89c92a4/vmlinux-993bed18.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b0859874279b/bzImage-993bed18.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f58c97...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]
CPU: 1 PID: 430 Comm: syz-executor383 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:inherit_group kernel/events/core.c:13205 [inline]
RIP: 0010:inherit_task_group+0x690/0x790 kernel/events/core.c:13252
Code: 8c 00 00 00 4c 89 e8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 a0 00 00 00 41 8b 5d 00 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 00 00 00 41 89 1e e9 7d fa ff ff e8
RSP: 0018:ffffc90000c37968 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff888106d962c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811ebac520
RBP: ffffc90000c379d0 R08: dffffc0000000000 R09: ffffed103ee27002
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c37aa0
R13: ffff88811ebac51c R14: 000000000000008c R15: dffffc0000000000
FS: 00007fb28d9606c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb28d960d58 CR3: 000000011ed1a000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
perf_event_init_context kernel/events/core.c:13321 [inline]
perf_event_init_task+0x34d/0x7a0 kernel/events/core.c:13374
copy_process+0xfdf/0x3290 kernel/fork.c:2238
kernel_clone+0x21e/0x9e0 kernel/fork.c:2662
__do_sys_clone kernel/fork.c:2788 [inline]
__se_sys_clone kernel/fork.c:2772 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2772
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:0x7fb28d9c0469
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb28d960238 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fb28da4a338 RCX: 00007fb28d9c0469
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000002400
RBP: 00007fb28da4a330 R08: 0000000000000000 R09: 00007fb28d9606c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb28da17064
R13: 0000000000000000 R14: 00007fffc3945ef0 R15: 00007fffc3945fd8
</TASK>
Modules linked in:
---[ end trace 295c2de08af2b360 ]---
RIP: 0010:inherit_group kernel/events/core.c:13205 [inline]
RIP: 0010:inherit_task_group+0x690/0x790 kernel/events/core.c:13252
Code: 8c 00 00 00 4c 89 e8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 a0 00 00 00 41 8b 5d 00 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 00 00 00 41 89 1e e9 7d fa ff ff e8
RSP: 0018:ffffc90000c37968 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff888106d962c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88811ebac520
RBP: ffffc90000c379d0 R08: dffffc0000000000 R09: ffffed103ee27002
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c37aa0
R13: ffff88811ebac51c R14: 000000000000008c R15: dffffc0000000000
FS: 00007fb28d9606c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb28d960d58 CR3: 000000011ed1a000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8c 00 mov %es,(%rax)
2: 00 00 add %al,(%rax)
4: 4c 89 e8 mov %r13,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax
10: 84 c0 test %al,%al
12: 0f 85 a0 00 00 00 jne 0xb8
18: 41 8b 5d 00 mov 0x0(%r13),%ebx
1c: 49 81 c6 8c 00 00 00 add $0x8c,%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 9f 00 00 00 jne 0xd6
37: 41 89 1e mov %ebx,(%r14)
3a: e9 7d fa ff ff jmp 0xfffffabc
3f: e8 .byte 0xe8

syzbot

unread,
Feb 16, 2024, 10:28:23 PMFeb 16
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 92432f07d663 ANDROID: GKI: Update the ABI symbol list
git tree: android14-6.1
console+strace: https://syzkaller.appspot.com/x/log.txt?x=15d6da8a180000
kernel config: https://syzkaller.appspot.com/x/.config?x=54c503ca94c7e582
dashboard link: https://syzkaller.appspot.com/bug?extid=9097c77ec674770af1d2
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=164ca6c2180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=162856c2180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/1198f4a39d5a/disk-92432f07.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bbb166188387/vmlinux-92432f07.xz
kernel image: https://storage.googleapis.com/syzbot-assets/2c2a856cab86/bzImage-92432f07.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9097c7...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]
CPU: 0 PID: 462 Comm: syz-executor658 Not tainted 6.1.68-syzkaller-00023-g92432f07d663 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:inherit_group kernel/events/core.c:13297 [inline]
RIP: 0010:inherit_task_group+0x690/0x790 kernel/events/core.c:13344
Code: 8c 00 00 00 4c 89 e8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 a0 00 00 00 41 8b 5d 00 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 00 00 00 41 89 1e e9 7d fa ff ff e8
RSP: 0018:ffffc900011779a8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88811ae9d100
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888121c46f70
RBP: ffffc90001177a10 R08: dffffc0000000000 R09: ffffed103ee07023
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90001177aa0
R13: ffff888121c46f6c R14: 000000000000008c R15: dffffc0000000000
FS: 00007fbe85fc86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe85fa7d58 CR3: 0000000109ce7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
perf_event_init_context kernel/events/core.c:13413 [inline]
perf_event_init_task+0x2a1/0x5f0 kernel/events/core.c:13466
copy_process+0x1144/0x3490 kernel/fork.c:2344
kernel_clone+0x229/0x890 kernel/fork.c:2785
__do_sys_clone kernel/fork.c:2928 [inline]
__se_sys_clone kernel/fork.c:2912 [inline]
__x64_sys_clone+0x231/0x280 kernel/fork.c:2912
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fbe86028469
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbe85fc8238 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fbe860b2338 RCX: 00007fbe86028469
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000002400
RBP: 00007fbe860b2330 R08: 0000000000000000 R09: 00007fbe85fc86c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbe8607f064
R13: 0000000000000000 R14: 00007fff96509140 R15: 00007fff96509228
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:inherit_group kernel/events/core.c:13297 [inline]
RIP: 0010:inherit_task_group+0x690/0x790 kernel/events/core.c:13344
Code: 8c 00 00 00 4c 89 e8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 a0 00 00 00 41 8b 5d 00 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 9f 00 00 00 41 89 1e e9 7d fa ff ff e8
RSP: 0018:ffffc900011779a8 EFLAGS: 00010207
RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88811ae9d100
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888121c46f70
RBP: ffffc90001177a10 R08: dffffc0000000000 R09: ffffed103ee07023
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90001177aa0
R13: ffff888121c46f6c R14: 000000000000008c R15: dffffc0000000000
FS: 00007fbe85fc86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe86064110 CR3: 0000000109ce7000 CR4: 00000000003506b0

syzbot

unread,
Feb 17, 2024, 12:18:17 AMFeb 17
to syzkaller-a...@googlegroups.com
Bug presence analysis results: the bug reproduces only on Android 6.1.

syzbot has run the reproducer on other relevant kernel trees and got
the following results:

android14-6.1 (commit 92432f07d663) on 2024/02/17:
general protection fault in inherit_task_group
Report: https://syzkaller.appspot.com/x/report.txt?x=16aea362180000

lts (commit ba6f5fb46511) on 2024/02/17:
Didn't crash.

upstream (commit c1ca10ceffbb) on 2024/02/17:
Didn't crash.

More details can be found at:
https://syzkaller.appspot.com/bug?extid=9097c77ec674770af1d2
Reply all
Reply to author
Forward
0 new messages