syzbot


kernel BUG in rxrpc_put_peer

Status: upstream: reported C repro on 2022/12/06 16:34
Reported-by: syzbot+c22650d2844392afdcfd@syzkaller.appspotmail.com
Fix commit: 9d35d880e0e4 rxrpc: Move client call connection to the I/O thread 03fc55adf876 rxrpc: Only disconnect calls in the I/O thread
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 60d, last: 17d
Last patch testing requests:
Created Duration User Patch Repo Result
2023/01/06 11:47 23m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ 9e80802b1c2374cdc7ed4a3fd40a3489ec8e9910 report log
2023/01/05 16:03 23m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ a5852d9046053fc64eb250c1c07e49162de616ab report log
2022/12/21 16:44 19m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ 97f46a2a6f87e97634b3179190dbb5d947f03bd6 report log
2022/12/20 16:02 14m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ 2bc808999a4484720747bbfcb03f9eb4a36223f0 report log
2022/12/19 16:44 19m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ 6529d70012e00166ab2ca4a92c4aa01e30a3037b report log
2022/12/08 14:09 18m dhowells@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/ afs-testing OK log

Sample crash report:
rxrpc: Assertion failed
------------[ cut here ]------------
kernel BUG at net/rxrpc/peer_object.c:413!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 27502 Comm: krxrpcio/0 Not tainted 6.1.0-syzkaller-14446-g8395ae05cb5a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__rxrpc_put_peer net/rxrpc/peer_object.c:413 [inline]
RIP: 0010:rxrpc_put_peer.cold+0x11/0x13 net/rxrpc/peer_object.c:437
Code: ff e9 21 62 f9 fe e8 74 30 7e f7 48 c7 c7 a0 16 76 8b e8 04 ef bc ff 0f 0b e8 61 30 7e f7 48 c7 c7 a0 1b 76 8b e8 f1 ee bc ff <0f> 0b e8 4e 30 7e f7 4c 8b 4c 24 30 48 89 ea 48 89 ee 48 c7 c1 a0
RSP: 0018:ffffc9000607fbe8 EFLAGS: 00010282
RAX: 0000000000000017 RBX: ffff88801eeb7800 RCX: 0000000000000000
RDX: ffff88802b638280 RSI: ffffffff8165927c RDI: fffff52000c0ff6f
RBP: ffff888028d23c00 R08: 0000000000000017 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffff888028550000
R13: ffff888028d23d28 R14: ffff888028d23c10 R15: ffff888028d23c30
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 0000000077fb2000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rxrpc_clean_up_connection+0x37d/0x4b0 net/rxrpc/conn_object.c:317
 rxrpc_put_connection.part.0+0x1e8/0x210 net/rxrpc/conn_object.c:356
 rxrpc_put_connection+0x25/0x30 net/rxrpc/conn_object.c:339
 rxrpc_clean_up_local_conns+0x3ad/0x530 net/rxrpc/conn_client.c:1129
 rxrpc_destroy_local+0x170/0x2f0 net/rxrpc/local_object.c:395
 rxrpc_io_thread+0xce8/0xfb0 net/rxrpc/io_thread.c:496
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__rxrpc_put_peer net/rxrpc/peer_object.c:413 [inline]
RIP: 0010:rxrpc_put_peer.cold+0x11/0x13 net/rxrpc/peer_object.c:437
Code: ff e9 21 62 f9 fe e8 74 30 7e f7 48 c7 c7 a0 16 76 8b e8 04 ef bc ff 0f 0b e8 61 30 7e f7 48 c7 c7 a0 1b 76 8b e8 f1 ee bc ff <0f> 0b e8 4e 30 7e f7 4c 8b 4c 24 30 48 89 ea 48 89 ee 48 c7 c1 a0
RSP: 0018:ffffc9000607fbe8 EFLAGS: 00010282
RAX: 0000000000000017 RBX: ffff88801eeb7800 RCX: 0000000000000000
RDX: ffff88802b638280 RSI: ffffffff8165927c RDI: fffff52000c0ff6f
RBP: ffff888028d23c00 R08: 0000000000000017 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffff888028550000
R13: ffff888028d23d28 R14: ffff888028d23c10 R15: ffff888028d23c30
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 000000000c48e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (80):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-selinux-root 2022/12/23 08:29 upstream 8395ae05cb5a 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce 2022/12/24 05:20 upstream a27405b2ed9c 9da18ae8 .config console log report syz [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/06 12:23 net-next c9f8d73645b6 045cbb84 .config console log report syz [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2023/01/13 12:57 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2023/01/13 06:04 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/12 17:55 upstream c757fc92a3f7 96166539 .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/12 14:30 upstream c757fc92a3f7 96166539 .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2023/01/12 09:42 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/11 15:23 upstream 7dd4b804e080 96166539 .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce 2023/01/11 05:10 upstream 7dd4b804e080 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2023/01/10 16:43 upstream 40c18f363a08 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2023/01/10 14:31 upstream 40c18f363a08 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/09 15:49 upstream 1fe4fd6f5cad 48bc529a .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/09 13:48 upstream 1fe4fd6f5cad 48bc529a .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2023/01/08 19:26 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/08 05:37 upstream 9b43a525db12 1dac8c7a .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/08 04:30 upstream 9b43a525db12 1dac8c7a .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/07 15:31 upstream 0a71553536d2 1dac8c7a .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2023/01/06 05:47 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/05 15:04 upstream 41c03ba9beea 1dac8c7a .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/05 12:50 upstream 41c03ba9beea 1dac8c7a .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce 2023/01/05 00:39 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2023/01/04 05:48 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2023/01/04 00:00 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2023/01/03 20:11 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/03 06:12 upstream 69b41ac87e4a ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2023/01/02 12:07 upstream 88603b6dc419 ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2022/12/31 08:56 upstream c8451c141e07 ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2022/12/30 17:58 upstream bff687b3dad6 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2022/12/30 15:22 upstream bff687b3dad6 ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/29 08:37 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/29 07:33 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2022/12/27 18:48 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/27 17:36 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/25 16:44 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-selinux-root 2022/12/23 03:54 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream 2022/12/22 08:56 upstream 9d2f6060fe4c 4067838e .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce 2022/12/21 14:39 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/21 06:20 upstream b6bb9676f216 d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/20 13:00 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/20 12:08 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/19 17:10 upstream 2f26e424552e c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce 2022/12/19 02:47 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/18 05:51 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/18 05:26 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/17 20:06 upstream 75caf5940899 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/16 14:52 upstream 84e57d292203 79e1d513 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/16 11:16 upstream 84e57d292203 79e1d513 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-smack-root 2022/12/15 11:52 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-root 2022/12/15 05:00 upstream 6f1f5caed5bf b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-kasan-gce-386 2023/01/12 07:59 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-qemu-upstream-386 2022/12/31 23:10 upstream e4cf7c25bae5 ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream-386 2022/12/31 08:53 upstream c8451c141e07 ab32d508 .config console log report info kernel BUG in rxrpc_put_peer
ci-qemu-upstream-386 2022/12/17 03:13 upstream 77856d911a8c 05494336 .config console log report info kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2023/01/06 20:39 net c244c092f1ed 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2022/12/30 11:30 net 1573c6882018 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2022/12/28 13:14 net 81852018f240 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2022/12/19 02:09 net 89529367293c 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2022/12/15 09:36 net 628050ec952d 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-this-kasan-gce 2022/12/14 10:36 net 7ae9888d6e1c f6511626 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/30 21:44 net-next c183e6c3ec34 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/29 01:20 net-next c183e6c3ec34 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/26 07:51 net-next c183e6c3ec34 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/25 14:22 net-next c183e6c3ec34 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/17 00:18 net-next 7e68dd7d07a2 05494336 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-net-kasan-gce 2022/12/10 08:02 net-next ce098da1497c 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-linux-next-kasan-gce-root 2023/01/04 14:57 linux-next c76083fac3ba 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-linux-next-kasan-gce-root 2022/12/26 14:52 linux-next c76083fac3ba 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/18 21:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/16 14:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/16 05:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/15 04:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/14 10:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/12 02:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 96166539 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/08 08:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
ci-upstream-gce-arm64 2023/01/07 19:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in rxrpc_put_peer
* Struck through repros no longer work on HEAD.