[Android 5.10] BUG: soft lockup in sock_setsockopt

0 views
Skip to first unread message

syzbot

unread,
Mar 19, 2024, 3:29:31 PMMar 19
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=14a61091180000
kernel config: https://syzkaller.appspot.com/x/.config?x=1a6e39f6bdc97aed
dashboard link: https://syzkaller.appspot.com/bug?extid=e4feaf54737b96349886
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=1315ba81180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11ed69be180000

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+e4feaf...@syzkaller.appspotmail.com

RBP: 00007fd08a728328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007fd08a728320
R13: 00007fd08a72832c R14: 00007fff7611c790 R15: 00007fff7611c878
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor168:2724]
Modules linked in:
CPU: 0 PID: 2724 Comm: syz-executor168 Not tainted 5.10.209-syzkaller-00435-gdd976ecce2ce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x1/0x90 kernel/kcov.c:283
Code: 03 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 <48> 89 e5 4c 8b 45 08 65 48 8b 15 d0 c1 97 7e 65 8b 05 d5 c1 97 7e
RSP: 0018:ffffc900024667f0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00000000000000ff RCX: 0000000091049041
RDX: ffff88810b852000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900024668f0 R08: ffffffff8497c9e5 R09: 0000000000000003
R10: fffff5200048cd10 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff9200048cd10 R14: 00000000000000d1 R15: 0000000000000000
FS: 00007fd08a65f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 0000000110b9b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
</IRQ>
tipc_sk_rcv+0x499/0x1e30 net/tipc/socket.c:2488
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
tipc_sk_rcv+0x177d/0x1e30 net/tipc/socket.c:2497
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_sk_push_backlog net/tipc/socket.c:1306 [inline]
tipc_sk_filter_connect net/tipc/socket.c:2253 [inline]
tipc_sk_filter_rcv+0x1da8/0x3e00 net/tipc/socket.c:2362
tipc_sk_enqueue net/tipc/socket.c:2442 [inline]
tipc_sk_rcv+0x8a1/0x1e30 net/tipc/socket.c:2493
tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2410
sk_backlog_rcv include/net/sock.h:1050 [inline]
__release_sock+0x148/0x410 net/core/sock.c:2571
release_sock net/core/sock.c:3122 [inline]
sock_setsockopt+0x1e3b/0x2e00 net/core/sock.c:1257
__sys_setsockopt+0x441/0x870 net/socket.c:2142
__do_sys_setsockopt net/socket.c:2157 [inline]
__se_sys_setsockopt net/socket.c:2154 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2154
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fd08a69e3e9
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:00007fd08a65f228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fd08a65f6c0 RCX: 00007fd08a69e3e9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007fd08a728328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007fd08a728320
R13: 00007fd08a72832c R14: 00007fff7611c790 R15: 00007fff7611c878


---
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,
Mar 19, 2024, 5:39:27 PMMar 19
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e623dd5ac2ac ANDROID: ABI: Update oplus symbol list
git tree: android14-6.1
console+strace: https://syzkaller.appspot.com/x/log.txt?x=10c25385180000
kernel config: https://syzkaller.appspot.com/x/.config?x=54c503ca94c7e582
dashboard link: https://syzkaller.appspot.com/bug?extid=c61d36a7a92ea1cf92ea
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=100f4291180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=110eb406180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/38b687c6b7a4/disk-e623dd5a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d6483c7750ad/vmlinux-e623dd5a.xz
kernel image: https://storage.googleapis.com/syzbot-assets/c9c93c3e1f9b/bzImage-e623dd5a.xz

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

RBP: 00007f0673b39328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f0673b39320
R13: 00007f0673b3932c R14: 00007ffeff1b3d80 R15: 00007ffeff1b3e68
</TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 245s! [syz-executor286:586]
Modules linked in:
CPU: 0 PID: 586 Comm: syz-executor286 Not tainted 6.1.68-syzkaller-00064-ge623dd5ac2ac #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:225
Code: 48 0b 00 00 83 fa 02 75 21 48 8b 91 50 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 4c 0b 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 <5d> c3 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 40 fc 8c 7e 65 8b
RSP: 0018:ffffc90001156830 EFLAGS: 00000293
RAX: ffffffff84d93720 RBX: 0000000000000000 RCX: ffff88810f76bcc0
RDX: 0000000000000000 RSI: ffffc90001156ae0 RDI: ffffffff877e1380
RBP: ffffc90001156830 R08: ffffffff84da338e R09: ffffed102442e5b4
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888122172d00 R14: dffffc0000000000 R15: ffffc90001156ae0
FS: 00007f0673a706c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000001222d2000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
</IRQ>
<TASK>
tipc_node_distr_xmit+0x80/0x4d0 net/tipc/node.c:1776
tipc_sk_rcv+0x1306/0x1c40 net/tipc/socket.c:2501
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1783
tipc_sk_rcv+0x1306/0x1c40 net/tipc/socket.c:2501
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_sk_push_backlog net/tipc/socket.c:1316 [inline]
tipc_sk_filter_connect net/tipc/socket.c:2255 [inline]
tipc_sk_filter_rcv+0x194e/0x3390 net/tipc/socket.c:2364
tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
tipc_sk_rcv+0x815/0x1c40 net/tipc/socket.c:2497
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1783
tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2412
sk_backlog_rcv include/net/sock.h:1129 [inline]
__release_sock+0x145/0x410 net/core/sock.c:2932
release_sock net/core/sock.c:3506 [inline]
sockopt_release_sock+0x9a/0x1f0 net/core/sock.c:1065
sk_setsockopt+0x236f/0x3100
sock_setsockopt+0x59/0x70 net/core/sock.c:1547
__sys_setsockopt+0x423/0x8b0 net/socket.c:2265
__do_sys_setsockopt net/socket.c:2280 [inline]
__se_sys_setsockopt net/socket.c:2277 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2277
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:0x7f0673aaf3a9
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:00007f0673a70228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f0673a706c0 RCX: 00007f0673aaf3a9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f0673b39328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f0673b39320
R13: 00007f0673b3932c R14: 00007ffeff1b3d80 R15: 00007ffeff1b3e68
</TASK>

syzbot

unread,
Mar 19, 2024, 5:44:25 PMMar 19
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 output: https://syzkaller.appspot.com/x/log.txt?x=12bb7959180000
kernel config: https://syzkaller.appspot.com/x/.config?x=49ce29477ba81e8f
dashboard link: https://syzkaller.appspot.com/bug?extid=32d41249a22c3c33a9b2
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=159666be180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1048eaa5180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/4098d24d4c8b/disk-993bed18.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/94fbc07ac02d/vmlinux-993bed18.xz
kernel image: https://storage.googleapis.com/syzbot-assets/eed14de06c19/bzImage-993bed18.xz

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

RBP: 00007f5921052328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f5921052320
R13: 00007f592105232c R14: 00007ffe746f7e90 R15: 00007ffe746f7f78
</TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [syz-executor336:10305]
Modules linked in:
CPU: 0 PID: 10305 Comm: syz-executor336 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:__rht_ptr include/linux/rhashtable.h:355 [inline]
RIP: 0010:rht_ptr_rcu include/linux/rhashtable.h:369 [inline]
RIP: 0010:__rhashtable_lookup include/linux/rhashtable.h:599 [inline]
RIP: 0010:rhashtable_lookup include/linux/rhashtable.h:638 [inline]
RIP: 0010:tipc_sk_lookup+0x27e/0x650 net/tipc/socket.c:2999
Code: 5c 24 38 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 33 44 03 fd 4c 8b 2b 49 83 e5 fe 31 ff 4c 89 ee e8 c2 37 c1 fc <4d> 85 ed 4c 0f 44 6c 24 30 4c 89 ee 48 83 e6 01 31 ff e8 ab 37 c1
RSP: 0018:ffffc900047d68e0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff88810b6b86a0 RCX: ffff88811de48000
RDX: 0000000000000000 RSI: ffff888123b617f8 RDI: 0000000000000000
RBP: ffffc900047d69d0 R08: ffffffff84aeedfe R09: 0000000000000003
R10: fffff520008fad2c R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888123b617f8 R14: dffffc0000000000 R15: ffff88810b1f50de
FS: 00007f5920f896c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000010cb64000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
</IRQ>
<TASK>
tipc_sk_rcv+0x459/0x1b50 net/tipc/socket.c:2492
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1783
tipc_sk_rcv+0x1212/0x1b50 net/tipc/socket.c:2501
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_sk_push_backlog net/tipc/socket.c:1316 [inline]
tipc_sk_filter_connect net/tipc/socket.c:2255 [inline]
tipc_sk_filter_rcv+0x194e/0x3380 net/tipc/socket.c:2364
tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
tipc_sk_rcv+0x80c/0x1b50 net/tipc/socket.c:2497
tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1783
tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2412
sk_backlog_rcv include/net/sock.h:1069 [inline]
__release_sock+0x145/0x410 net/core/sock.c:2719
release_sock net/core/sock.c:3270 [inline]
sock_setsockopt+0x181a/0x2eb0 net/core/sock.c:1380
__sys_setsockopt+0x423/0x840 net/socket.c:2194
__do_sys_setsockopt net/socket.c:2209 [inline]
__se_sys_setsockopt net/socket.c:2206 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2206
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:0x7f5920fc83e9
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:00007f5920f89228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f5920f896c0 RCX: 00007f5920fc83e9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f5921052328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f5921052320
R13: 00007f592105232c R14: 00007ffe746f7e90 R15: 00007ffe746f7f78
Reply all
Reply to author
Forward
0 new messages