ci starts bisection 2023-06-30 22:33:20.673445103 +0000 UTC m=+33899.147448910 bisecting cause commit starting from 3674fbf0451df0395f9fa18df3122927006a3829 building syzkaller on 01298212bf09f73286ff351db3853e1137147a60 ensuring issue is reproducible on original commit 3674fbf0451df0395f9fa18df3122927006a3829 testing commit 3674fbf0451df0395f9fa18df3122927006a3829 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 863963512de910ca6e5fd5a7d644d7a045767383374610bf659e91269e5b3e9f all runs: crashed: WARNING in scm_recv testing release v6.3 testing commit 457391b0380335d5e9a5babdec90ac53928b23b4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5506b5d81f72252b530a6526ecf96545bc3190cd60d2cb8c55502450f65ba8eb all runs: OK # git bisect start 3674fbf0451df0395f9fa18df3122927006a3829 457391b0380335d5e9a5babdec90ac53928b23b4 Bisecting: 8777 revisions left to test after this (roughly 13 steps) [fc2e58b8b7c94b8fe23977775550de00472f6a74] Merge tag 'spi-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi testing commit fc2e58b8b7c94b8fe23977775550de00472f6a74 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8efafc79f191ea042c6ec897db47ca7de90a05e24149988504281d4a09f94535 all runs: OK # git bisect good fc2e58b8b7c94b8fe23977775550de00472f6a74 Bisecting: 4413 revisions left to test after this (roughly 12 steps) [da9619a30e73b59605ed998bf7bc4359f5c0029a] dmapool: link blocks across pages testing commit da9619a30e73b59605ed998bf7bc4359f5c0029a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cda3f278fbafadc9d4ee5c6f7ffb2972e903023c68227aa7d18e158a0dfdc8c2 all runs: OK # git bisect good da9619a30e73b59605ed998bf7bc4359f5c0029a Bisecting: 2207 revisions left to test after this (roughly 11 steps) [c8a5d5ea3ba6a18958f8d76430e4cd68eea33943] nouveau: fix client work fence deletion race testing commit c8a5d5ea3ba6a18958f8d76430e4cd68eea33943 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ad821beaca0790bdfd8859f7eb09d9697c9242066212a13664eff79ee146d22 all runs: OK # git bisect good c8a5d5ea3ba6a18958f8d76430e4cd68eea33943 Bisecting: 1103 revisions left to test after this (roughly 10 steps) [d33ed97dcab3efd7baebfb68cd19ff12f6211448] wifi: mac80211: fix documentation config reference testing commit d33ed97dcab3efd7baebfb68cd19ff12f6211448 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 86a13f5a53ad4ebba6fa0393b8316510d7765dcfe396a2e6e0509543dfed9a08 all runs: OK # git bisect good d33ed97dcab3efd7baebfb68cd19ff12f6211448 Bisecting: 621 revisions left to test after this (roughly 9 steps) [25a9c8a4431c364f97f75558cb346d2ad3f53fbb] netlink: Add __sock_i_ino() for __netlink_diag_dump(). testing commit 25a9c8a4431c364f97f75558cb346d2ad3f53fbb gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b257ccfd48ff01a65f2586f741bca303ca5c9de4efe2bd98ad65c4d4aa644b32 all runs: OK # git bisect good 25a9c8a4431c364f97f75558cb346d2ad3f53fbb Bisecting: 295 revisions left to test after this (roughly 8 steps) [08eeccb2491a3198f4adcba63adeace6e2499ea3] Merge tag 'linux-can-next-for-6.5-20230622' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next testing commit 08eeccb2491a3198f4adcba63adeace6e2499ea3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e1e954092b5e176f99c4ff8e5471e34c7aa5fa0cd85ca8b9d69a9dc380ed4143 all runs: crashed: WARNING in scm_recv # git bisect bad 08eeccb2491a3198f4adcba63adeace6e2499ea3 Bisecting: 166 revisions left to test after this (roughly 7 steps) [5f2cf757f9c56255470c23a2a4a5574a34edad4b] net/mlx5: Remove unused ecpu field from struct mlx5_sf_table testing commit 5f2cf757f9c56255470c23a2a4a5574a34edad4b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c8b42973ca2f9be175dcf06209ac2bd1e5681365033ecf1adef10760391490cb all runs: crashed: WARNING in scm_recv # git bisect bad 5f2cf757f9c56255470c23a2a4a5574a34edad4b Bisecting: 77 revisions left to test after this (roughly 6 steps) [a89dc58703c362bf2005880c575608e10f3607a8] Merge tag 'mlx5-updates-2023-06-09' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit a89dc58703c362bf2005880c575608e10f3607a8 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fc2569baab940ea0e9efcaa1d1a5a4415b8bf82cea49ace4d2b6f269ba11ef7d all runs: crashed: WARNING in scm_recv # git bisect bad a89dc58703c362bf2005880c575608e10f3607a8 Bisecting: 40 revisions left to test after this (roughly 5 steps) [7b26952a91cf65ff1cc867a2382a8964d8c0ee7d] net: core: add getsockopt SO_PEERPIDFD testing commit 7b26952a91cf65ff1cc867a2382a8964d8c0ee7d gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8d7f52ac9fabb1c63059b810c0c26c1a590f02661d46a987c0c018c85e757064 all runs: crashed: WARNING in scm_recv # git bisect bad 7b26952a91cf65ff1cc867a2382a8964d8c0ee7d Bisecting: 19 revisions left to test after this (roughly 4 steps) [72d77bad12c6b2207be10824c0f05ba55123161f] Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue testing commit 72d77bad12c6b2207be10824c0f05ba55123161f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8aba5728eefe28a71400e654834ac5f284309e2215742894f215323dd46e686a all runs: OK # git bisect good 72d77bad12c6b2207be10824c0f05ba55123161f Bisecting: 9 revisions left to test after this (roughly 3 steps) [50f6c3d57e9a7d11ff935198c1d55d37975c2fa4] mlxsw: spectrum_router: mlxsw_sp_router_fini(): Extract a helper variable testing commit 50f6c3d57e9a7d11ff935198c1d55d37975c2fa4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f35fa9272ecc124e5486ee78ba63804e8c6d9ff6fb1322516b8675ef68bb7538 all runs: OK # git bisect good 50f6c3d57e9a7d11ff935198c1d55d37975c2fa4 Bisecting: 4 revisions left to test after this (roughly 2 steps) [0255f74845c0035d918697b7abff1fcf45ed2789] mlxsw: Convert RIF-has-netdevice queries to a dedicated helper testing commit 0255f74845c0035d918697b7abff1fcf45ed2789 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 76d11f155dee5871850b696cfe0855e9c1953e4e1a2f588e0837a04c0b0a05f6 all runs: OK # git bisect good 0255f74845c0035d918697b7abff1fcf45ed2789 Bisecting: 2 revisions left to test after this (roughly 1 step) [df95ae66cc0a1606278677b1be4f2170c73876a9] mlxsw: spectrum_router: Privatize mlxsw_sp_rif_dev() testing commit df95ae66cc0a1606278677b1be4f2170c73876a9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6add15bfdb8359c87e4e402a6eb5c0d9be20110cd05895b694919b898c6c60ec all runs: OK # git bisect good df95ae66cc0a1606278677b1be4f2170c73876a9 Bisecting: 0 revisions left to test after this (roughly 1 step) [5e2ff6704a275be009be8979af17c52361b79b89] scm: add SO_PASSPIDFD and SCM_PIDFD testing commit 5e2ff6704a275be009be8979af17c52361b79b89 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5034ca2f516ef60d9af1be2d2c377ae9f26e1f7334ba2ebc19ed5d682420312b all runs: crashed: WARNING in scm_recv # git bisect bad 5e2ff6704a275be009be8979af17c52361b79b89 Bisecting: 0 revisions left to test after this (roughly 0 steps) [55d7c91406b4b486ea8c50e2fb31f1e1a0ef5143] Merge branch 'mlxsw-cleanups' testing commit 55d7c91406b4b486ea8c50e2fb31f1e1a0ef5143 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ea92d1dcc2845b80fa4deb839cb864774777e84e0606440bcdb1316442c996e all runs: OK # git bisect good 55d7c91406b4b486ea8c50e2fb31f1e1a0ef5143 5e2ff6704a275be009be8979af17c52361b79b89 is the first bad commit commit 5e2ff6704a275be009be8979af17c52361b79b89 Author: Alexander Mikhalitsyn Date: Thu Jun 8 22:26:25 2023 +0200 scm: add SO_PASSPIDFD and SCM_PIDFD Implement SCM_PIDFD, a new type of CMSG type analogical to SCM_CREDENTIALS, but it contains pidfd instead of plain pid, which allows programmers not to care about PID reuse problem. We mask SO_PASSPIDFD feature if CONFIG_UNIX is not builtin because it depends on a pidfd_prepare() API which is not exported to the kernel modules. Idea comes from UAPI kernel group: https://uapi-group.org/kernel-features/ Big thanks to Christian Brauner and Lennart Poettering for productive discussions about this. Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: Leon Romanovsky Cc: David Ahern Cc: Arnd Bergmann Cc: Kees Cook Cc: Christian Brauner Cc: Kuniyuki Iwashima Cc: Lennart Poettering Cc: Luca Boccassi Cc: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-arch@vger.kernel.org Tested-by: Luca Boccassi Reviewed-by: Kuniyuki Iwashima Reviewed-by: Christian Brauner Signed-off-by: Alexander Mikhalitsyn Reviewed-by: Eric Dumazet Signed-off-by: David S. Miller arch/alpha/include/uapi/asm/socket.h | 2 ++ arch/mips/include/uapi/asm/socket.h | 2 ++ arch/parisc/include/uapi/asm/socket.h | 2 ++ arch/sparc/include/uapi/asm/socket.h | 2 ++ include/linux/net.h | 1 + include/linux/socket.h | 1 + include/net/scm.h | 39 +++++++++++++++++++++++++++++++-- include/uapi/asm-generic/socket.h | 2 ++ net/core/sock.c | 11 ++++++++++ net/mptcp/sockopt.c | 1 + net/unix/af_unix.c | 18 ++++++++++----- tools/include/uapi/asm-generic/socket.h | 2 ++ 12 files changed, 76 insertions(+), 7 deletions(-) culprit signature: 5034ca2f516ef60d9af1be2d2c377ae9f26e1f7334ba2ebc19ed5d682420312b parent signature: 0ea92d1dcc2845b80fa4deb839cb864774777e84e0606440bcdb1316442c996e revisions tested: 17, total time: 5h30m3.840483253s (build: 3h23m28.248221849s, test: 2h0m11.739306334s) first bad commit: 5e2ff6704a275be009be8979af17c52361b79b89 scm: add SO_PASSPIDFD and SCM_PIDFD recipients (to): ["aleksandr.mikhalitsyn@canonical.com" "bluca@debian.org" "brauner@kernel.org" "davem@davemloft.net" "edumazet@google.com" "kuniyu@amazon.com"] recipients (cc): [] crash: WARNING in scm_recv ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5425 at include/net/scm.h:138 scm_recv.constprop.0+0x632/0x730 include/net/scm.h:169 Modules linked in: CPU: 1 PID: 5425 Comm: syz-executor.0 Not tainted 6.4.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:scm_pidfd_recv include/net/scm.h:138 [inline] RIP: 0010:scm_recv.constprop.0+0x632/0x730 include/net/scm.h:177 Code: ff ff e8 71 bd b1 f9 e9 c1 fd ff ff e8 67 bd b1 f9 e9 eb fd ff ff e8 5d bd b1 f9 e9 f7 fb ff ff e8 53 bd b1 f9 e9 6e fd ff ff <0f> 0b e9 92 fc ff ff e8 62 bd b1 f9 e9 49 fa ff ff e8 58 bd b1 f9 RSP: 0018:ffffc9000407f670 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 1ffff9200080fece RCX: ffffffff880d591d RDX: 1ffff9200080ff05 RSI: 0000000000000008 RDI: 0000000000000000 RBP: ffffc9000407f828 R08: 0000000000000000 R09: ffff888073f2000f R10: ffffed100e7e4001 R11: 0000000000000001 R12: ffffc9000407fdb8 R13: ffff888073f20000 R14: ffff888073f20008 R15: 0000000000000000 FS: 00007f89a6077700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020005b80 CR3: 000000001428e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unix_stream_read_generic+0x525/0x1b30 net/unix/af_unix.c:2814 unix_stream_recvmsg+0x154/0x1d0 net/unix/af_unix.c:2864 sock_recvmsg_nosec net/socket.c:1019 [inline] sock_recvmsg+0xcd/0x160 net/socket.c:1040 ____sys_recvmsg+0x1b2/0x560 net/socket.c:2712 ___sys_recvmsg+0xc3/0x130 net/socket.c:2754 do_recvmmsg+0x1d9/0x570 net/socket.c:2848 __sys_recvmmsg net/socket.c:2927 [inline] __do_sys_recvmmsg net/socket.c:2950 [inline] __se_sys_recvmmsg net/socket.c:2943 [inline] __x64_sys_recvmmsg+0x19e/0x200 net/socket.c:2943 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f89a528c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f89a6077168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f89a53abf80 RCX: 00007f89a528c389 RDX: 0000000000000001 RSI: 0000000020005b80 RDI: 0000000000000004 RBP: 00007f89a52d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000140 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff61511cdf R14: 00007f89a6077300 R15: 0000000000022000