ci starts bisection 2023-07-03 02:56:35.497648951 +0000 UTC m=+113212.477360441 bisecting cause commit starting from 995b406c7e972fab181a4bb57f3b95e59b8e5bf3 building syzkaller on bfc478367b83b3fda580f54964aa9f3651beeb3d ensuring issue is reproducible on original commit 995b406c7e972fab181a4bb57f3b95e59b8e5bf3 testing commit 995b406c7e972fab181a4bb57f3b95e59b8e5bf3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0fe6c08d3f8571ee4a437864bd4a63b3845b11c2c0edf76b976cd7c16258832f all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v6.4 testing commit 6995e2de6891c724bfeb2db33d7b87775f913ad1 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b879cb50b439c483f78c57994d587dd927067d48abaa15c19ff957d070ae5589 all runs: crashed: possible deadlock in ext4_xattr_inode_iget 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: 4e29202811d51fb0011be04a1de8a19dd58a157d5d3a607d904327145b9fdcd8 all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c5196713e97d59dbb1c72a24a66f55c4787d5d27a55906ad4634290d72fb093a all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a315060ed7b69745b8157c5175dca68d16466779a0f3b16f0940d50b4fb57373 all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c5248331c1e975487173980cf462489114a0683e53832fac060ab0ca1bacb1be all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.19 testing commit 3d7cb6b04c3f3115719235cc6866b10326de34cd gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1af78d97de41b55a66d8f753743506b6c4a9107865f476f3e5717c2aaa2163fb all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.18 testing commit 4b0986a3613c92f4ec1bdc7f60ec66fea135991f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 560e61732ffaf3a9080a98eb588e10a96456a86b1df9d520fc92cd9261420aa1 all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.17 testing commit f443e374ae131c168a065ea1748feac6b2e76613 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f150d1b61ca2a44e9639866e119212b3828a222ec3eafaef66a3ddcb128eeede all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.16 testing commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: afc18ff7892c1e001445e644bce6ffe0cff1ed2572f2b35b37711d7c7b3e5728 all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.15 testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 74545ec76314dbde44f1fd533209623d9c6b34289192e6f504d2a47a24a9d55b all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b90ffe27ffb611c5e9cd113b29948d040d4a7c9aa30a80590ffa254c1f75459b all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: af9d888f29094a92b0b3ed8c662ec3adc22e74a7fb77bbde80832511f419348a all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 19a53d9cba34736802ebc0c4e70927c276a7ae422bc9d69bf30df761d6e06417 all runs: crashed: possible deadlock in ext4_xattr_inode_iget testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1f3bb57ccfe09c9adc11a175480e3291cda3a717ccfe740dd3472c67857ab6de all runs: OK # git bisect start 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 f40ddce88593482919761f74910f42f4b84c004b Bisecting: 6798 revisions left to test after this (roughly 13 steps) [d99676af540c2dc829999928fb81c58c80a1dce4] Merge tag 'drm-next-2021-02-19' of git://anongit.freedesktop.org/drm/drm testing commit d99676af540c2dc829999928fb81c58c80a1dce4 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 58caf54428948e73916c14d178079d3c990e253c42cb402f7413e35b25c59e44 run #0: boot failed: WARNING in kvm_wait run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good d99676af540c2dc829999928fb81c58c80a1dce4 Bisecting: 3476 revisions left to test after this (roughly 12 steps) [69264b4a43aff7307283e2bae29e9305ab6b7d47] sparc: sparc64_defconfig: remove duplicate CONFIGs testing commit 69264b4a43aff7307283e2bae29e9305ab6b7d47 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 358cefc1773cd9b19cf27b3a347d958016d33bfd3a8af57a0c395bbb5c56a568 run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: boot failed: WARNING in kvm_wait run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good 69264b4a43aff7307283e2bae29e9305ab6b7d47 Bisecting: 1737 revisions left to test after this (roughly 11 steps) [f296bfd5cd04cbb49b8fc9585adc280ab2b58624] Merge tag 'nfs-for-5.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs testing commit f296bfd5cd04cbb49b8fc9585adc280ab2b58624 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3754ef0fc36418cb9247771beb00362cf199f8146693102ce76ff5e60c300f93 run #0: crashed: possible deadlock in ext4_xattr_inode_iget run #1: crashed: possible deadlock in ext4_xattr_inode_iget run #2: crashed: possible deadlock in ext4_xattr_inode_iget run #3: crashed: possible deadlock in ext4_xattr_inode_iget run #4: crashed: possible deadlock in ext4_xattr_inode_iget run #5: crashed: possible deadlock in ext4_xattr_inode_iget run #6: crashed: possible deadlock in ext4_xattr_inode_iget run #7: crashed: possible deadlock in ext4_xattr_inode_iget run #8: crashed: possible deadlock in ext4_xattr_inode_iget run #9: boot failed: WARNING in kvm_wait # git bisect bad f296bfd5cd04cbb49b8fc9585adc280ab2b58624 Bisecting: 875 revisions left to test after this (roughly 10 steps) [efba6d3a7c4bb59f0750609fae0f9644d82304b6] Merge tag 'for-5.12/io_uring-2021-02-25' of git://git.kernel.dk/linux-block testing commit efba6d3a7c4bb59f0750609fae0f9644d82304b6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e7f7454d8143c5baa0429c9b05af5e1b538e687044d65ac42850257e30b55235 all runs: crashed: possible deadlock in ext4_xattr_inode_iget # git bisect bad efba6d3a7c4bb59f0750609fae0f9644d82304b6 Bisecting: 431 revisions left to test after this (roughly 9 steps) [64427985c76fcb54c783de617edf353009499a03] lib: stackdepot: fix ignoring return value warning testing commit 64427985c76fcb54c783de617edf353009499a03 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8a1f2b9a379647704e58c896751718d27e91323056a0ee1739dbd60a139a90db run #0: boot failed: WARNING in kvm_wait run #1: boot failed: WARNING in kvm_wait run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good 64427985c76fcb54c783de617edf353009499a03 Bisecting: 213 revisions left to test after this (roughly 8 steps) [1c9077cdecd027714736e70704da432ee2b946bb] Merge tag 'nfs-for-5.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfs testing commit 1c9077cdecd027714736e70704da432ee2b946bb gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5c1e3572020797a31774121adf6a0af0bbae11d67f70b8e00e25af7a309338a7 run #0: crashed: possible deadlock in ext4_xattr_inode_iget run #1: crashed: possible deadlock in ext4_xattr_inode_iget run #2: crashed: possible deadlock in ext4_xattr_inode_iget run #3: crashed: possible deadlock in ext4_xattr_inode_iget run #4: crashed: possible deadlock in ext4_xattr_inode_iget run #5: crashed: possible deadlock in ext4_xattr_inode_iget run #6: crashed: possible deadlock in ext4_xattr_inode_iget run #7: crashed: possible deadlock in ext4_xattr_inode_iget run #8: crashed: possible deadlock in ext4_xattr_inode_iget run #9: boot failed: WARNING in kvm_wait # git bisect bad 1c9077cdecd027714736e70704da432ee2b946bb Bisecting: 83 revisions left to test after this (roughly 7 steps) [fdce29602f865b016012eadeaec99800da916d3d] Merge tag 'drm-next-2021-02-26' of git://anongit.freedesktop.org/drm/drm testing commit fdce29602f865b016012eadeaec99800da916d3d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8d9e4ad3c29b282198d6e35f57ad2b6e0827790dbb071eba5b66cc805fa5d966 run #0: boot failed: WARNING in kvm_wait run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good fdce29602f865b016012eadeaec99800da916d3d Bisecting: 37 revisions left to test after this (roughly 5 steps) [ffc1759676bed0bff046427dd7d00cb68660190d] Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost testing commit ffc1759676bed0bff046427dd7d00cb68660190d gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7ce6ad42362cce2f97b2daadab59fca19fd06f0bfed47441e25725a6e6c405da run #0: crashed: possible deadlock in ext4_xattr_inode_iget run #1: crashed: possible deadlock in ext4_xattr_inode_iget run #2: crashed: possible deadlock in ext4_xattr_inode_iget run #3: crashed: possible deadlock in ext4_xattr_inode_iget run #4: crashed: possible deadlock in ext4_xattr_inode_iget run #5: crashed: possible deadlock in ext4_xattr_inode_iget run #6: basic kernel testing failed: failed to copy test binary to VM: timedout after 1m0s ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-fuzzer" "root@10.128.10.12:./syz-fuzzer"] Executing: program /usr/bin/ssh host 10.128.10.12, user root, command scp -v -t ./syz-fuzzer OpenSSH_8.4p1 Debian-5+deb11u1, OpenSSL 1.1.1n 15 Mar 2022 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.10.12 [10.128.10.12] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.1 debug1: match: OpenSSH_9.1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.10.12:22 as 'root' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:gQhgaUJA96zS7vuXoCqEcK/oY5Wvh4Si9F03wse36pI Warning: Permanently added '10.128.10.12' (ECDSA) to the list of known hosts. debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 134217728 blocks debug1: Will attempt key: /root/.ssh/id_rsa debug1: Will attempt key: /root/.ssh/id_dsa debug1: Will attempt key: /root/.ssh/id_ecdsa debug1: Will attempt key: /root/.ssh/id_ecdsa_sk debug1: Will attempt key: /root/.ssh/id_ed25519 debug1: Will attempt key: /root/.ssh/id_ed25519_sk debug1: Will attempt key: /root/.ssh/id_xmss debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs= debug1: kex_input_ext_info: publickey-hostbound@openssh.com (unrecognised) debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentication succeeded (none). Authenticated to 10.128.10.12 ([10.128.10.12]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug1: Sending command: scp -v -t ./syz-fuzzer Sending file modes: C0755 28131328 syz-fuzzer Sink: C0755 28131328 syz-fuzzer run #7: basic kernel testing failed: failed to copy syz-execprog to VM: timedout after 1m0s ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-execprog" "root@10.128.10.5:./syz-execprog"] Executing: program /usr/bin/ssh host 10.128.10.5, user root, command scp -v -t ./syz-execprog OpenSSH_8.4p1 Debian-5+deb11u1, OpenSSL 1.1.1n 15 Mar 2022 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.10.5 [10.128.10.5] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.1 debug1: match: OpenSSH_9.1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.10.5:22 as 'root' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:gQhgaUJA96zS7vuXoCqEcK/oY5Wvh4Si9F03wse36pI Warning: Permanently added '10.128.10.5' (ECDSA) to the list of known hosts. debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 134217728 blocks debug1: Will attempt key: /root/.ssh/id_rsa debug1: Will attempt key: /root/.ssh/id_dsa debug1: Will attempt key: /root/.ssh/id_ecdsa debug1: Will attempt key: /root/.ssh/id_ecdsa_sk debug1: Will attempt key: /root/.ssh/id_ed25519 debug1: Will attempt key: /root/.ssh/id_ed25519_sk debug1: Will attempt key: /root/.ssh/id_xmss debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs= debug1: kex_input_ext_info: publickey-hostbound@openssh.com (unrecognised) debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentication succeeded (none). Authenticated to 10.128.10.5 ([10.128.10.5]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug1: Sending command: scp -v -t ./syz-execprog Sending file modes: C0755 27951104 syz-execprog Sink: C0755 27951104 syz-execprog run #8: boot failed: WARNING in kvm_wait run #9: boot failed: WARNING in kvm_wait # git bisect bad ffc1759676bed0bff046427dd7d00cb68660190d Bisecting: 22 revisions left to test after this (roughly 5 steps) [8000a6b602a4aec0f54a9131623a407d6d44a605] virito-pci-modern: rename map_capability() to vp_modern_map_capability() testing commit 8000a6b602a4aec0f54a9131623a407d6d44a605 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 477827bec86704cf1b6cf1db89ccddeedf4fb8768f1acbce4d7fc3ca04d00d52 all runs: crashed: possible deadlock in ext4_xattr_inode_iget # git bisect bad 8000a6b602a4aec0f54a9131623a407d6d44a605 Bisecting: 11 revisions left to test after this (roughly 4 steps) [117a9de2826ccb0d338afb03f07223b3cb789371] virtio-pci-modern: factor out modern device initialization logic testing commit 117a9de2826ccb0d338afb03f07223b3cb789371 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1c3f0b194ee22758cbbb1d3737dcfe973d89345d751c09fe23726bbcc9478676 all runs: crashed: possible deadlock in ext4_xattr_inode_iget # git bisect bad 117a9de2826ccb0d338afb03f07223b3cb789371 Bisecting: 5 revisions left to test after this (roughly 3 steps) [903f7bcaedb84ca47998e609015a34ddde93742e] vdpa: Enable a user to add and delete a vdpa device testing commit 903f7bcaedb84ca47998e609015a34ddde93742e gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: aafe9a5a5aa5c8f210171073be205467d762597d7a906afa161861585b46a7d8 all runs: OK # git bisect good 903f7bcaedb84ca47998e609015a34ddde93742e Bisecting: 2 revisions left to test after this (roughly 2 steps) [489084dd3f7e4bd649814bd62839aef4456659e8] vhost scsi: alloc vhost_scsi with kvzalloc() to avoid delay testing commit 489084dd3f7e4bd649814bd62839aef4456659e8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 20c285e08e19ef2d1cad5f0936fc8a9b6cb694c46cc73cc3a7223805fcde7a18 all runs: crashed: possible deadlock in ext4_xattr_inode_iget # git bisect bad 489084dd3f7e4bd649814bd62839aef4456659e8 Bisecting: 0 revisions left to test after this (roughly 1 step) [a3c06ae158dd6fa8336157c31d9234689d068d02] vdpa_sim_net: Add support for user supported devices testing commit a3c06ae158dd6fa8336157c31d9234689d068d02 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 20c285e08e19ef2d1cad5f0936fc8a9b6cb694c46cc73cc3a7223805fcde7a18 all runs: crashed: possible deadlock in ext4_xattr_inode_iget # git bisect bad a3c06ae158dd6fa8336157c31d9234689d068d02 Bisecting: 0 revisions left to test after this (roughly 0 steps) [bc0d90ee021f1baecd6aaa010d787eb373aa74dd] vdpa: Enable user to query vdpa device info testing commit bc0d90ee021f1baecd6aaa010d787eb373aa74dd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 838adf319bb36798ea1c0a5418822370bca5e05b17acc5f7079a694bb36a306b all runs: OK # git bisect good bc0d90ee021f1baecd6aaa010d787eb373aa74dd a3c06ae158dd6fa8336157c31d9234689d068d02 is the first bad commit commit a3c06ae158dd6fa8336157c31d9234689d068d02 Author: Parav Pandit Date: Tue Jan 5 12:32:03 2021 +0200 vdpa_sim_net: Add support for user supported devices Enable user to create vdpasim net simulate devices. Show vdpa management device that supports creating, deleting vdpa devices. $ vdpa mgmtdev show vdpasim_net: supported_classes net $ vdpa mgmtdev show -jp { "show": { "vdpasim_net": { "supported_classes": { "net" } } } Create a vdpa device of type networking named as "foo2" from the management device vdpasim: $ vdpa dev add mgmtdev vdpasim_net name foo2 Show the newly created vdpa device by its name: $ vdpa dev show foo2 foo2: type network mgmtdev vdpasim_net vendor_id 0 max_vqs 2 max_vq_size 256 $ vdpa dev show foo2 -jp { "dev": { "foo2": { "type": "network", "mgmtdev": "vdpasim_net", "vendor_id": 0, "max_vqs": 2, "max_vq_size": 256 } } } Delete the vdpa device after its use: $ vdpa dev del foo2 Signed-off-by: Parav Pandit Reviewed-by: Eli Cohen Acked-by: Jason Wang Link: https://lore.kernel.org/r/20210105103203.82508-7-parav@nvidia.com Signed-off-by: Michael S. Tsirkin drivers/vdpa/vdpa_sim/vdpa_sim.c | 3 +- drivers/vdpa/vdpa_sim/vdpa_sim.h | 2 + drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 96 ++++++++++++++++++++++++++---------- 3 files changed, 75 insertions(+), 26 deletions(-) culprit signature: 20c285e08e19ef2d1cad5f0936fc8a9b6cb694c46cc73cc3a7223805fcde7a18 parent signature: 838adf319bb36798ea1c0a5418822370bca5e05b17acc5f7079a694bb36a306b revisions tested: 29, total time: 11h3m58.228916779s (build: 8h7m19.279727846s, test: 2h43m58.414788386s) first bad commit: a3c06ae158dd6fa8336157c31d9234689d068d02 vdpa_sim_net: Add support for user supported devices recipients (to): ["elic@nvidia.com" "jasowang@redhat.com" "mst@redhat.com" "parav@nvidia.com"] recipients (cc): [] crash: possible deadlock in ext4_xattr_inode_iget EXT4-fs (loop0): mounted filesystem without journal. Opts: inode_readahead_blks=0x0000000000000000,nogrpid,debug_want_extra_isize=0x0000000000000066,dioread_nolock,max_batch_time=0x0000000000000008,resgid=0x0000000000000000,,errors=continue. Quota mode: writeback. ====================================================== WARNING: possible circular locking dependency detected 5.11.0-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.0/5881 is trying to acquire lock: ffff88802f8aca88 (&ea_inode->i_rwsem#10/1){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] ffff88802f8aca88 (&ea_inode->i_rwsem#10/1){+.+.}-{3:3}, at: ext4_xattr_inode_iget+0x1cd/0x530 fs/ext4/xattr.c:427 but task is already holding lock: ffff88802f883478 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x1144/0x1c90 fs/ext4/inode.c:5472 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&ei->i_data_sem){++++}-{3:3}: down_write+0x8d/0x150 kernel/locking/rwsem.c:1406 ext4_update_i_disksize fs/ext4/ext4.h:3273 [inline] ext4_xattr_inode_write fs/ext4/xattr.c:1389 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1525 [inline] ext4_xattr_set_entry+0x2abe/0x36d0 fs/ext4/xattr.c:1649 ext4_xattr_ibody_set+0x60/0x260 fs/ext4/xattr.c:2224 ext4_xattr_set_handle+0x6da/0x1070 fs/ext4/xattr.c:2380 ext4_xattr_set+0x11d/0x2c0 fs/ext4/xattr.c:2493 __vfs_setxattr+0xcf/0x120 fs/xattr.c:177 __vfs_setxattr_noperm+0xe6/0x470 fs/xattr.c:208 vfs_setxattr+0x10c/0x2c0 fs/xattr.c:291 setxattr+0x14e/0x250 fs/xattr.c:553 path_setxattr+0x115/0x130 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __x64_sys_setxattr+0xbb/0x150 fs/xattr.c:583 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #0 (&ea_inode->i_rwsem#10/1){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:2868 [inline] check_prevs_add kernel/locking/lockdep.c:2993 [inline] validate_chain kernel/locking/lockdep.c:3608 [inline] __lock_acquire+0x2b3b/0x57d0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0x1a8/0x720 kernel/locking/lockdep.c:5407 down_write+0x8d/0x150 kernel/locking/rwsem.c:1406 inode_lock include/linux/fs.h:773 [inline] ext4_xattr_inode_iget+0x1cd/0x530 fs/ext4/xattr.c:427 ext4_xattr_inode_get+0x15a/0x690 fs/ext4/xattr.c:475 ext4_xattr_move_to_block fs/ext4/xattr.c:2569 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2670 [inline] ext4_expand_extra_isize_ea+0xc07/0x1570 fs/ext4/xattr.c:2762 __ext4_expand_extra_isize+0x26f/0x3e0 fs/ext4/inode.c:5796 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5839 [inline] __ext4_mark_inode_dirty+0x42b/0x6e0 fs/ext4/inode.c:5916 ext4_setattr+0x11b0/0x1c90 fs/ext4/inode.c:5474 notify_change+0x748/0xd90 fs/attr.c:336 do_truncate+0xe3/0x190 fs/open.c:64 handle_truncate fs/namei.c:2912 [inline] do_open fs/namei.c:3258 [inline] path_openat+0x1812/0x2190 fs/namei.c:3371 do_filp_open+0x16d/0x390 fs/namei.c:3398 do_sys_openat2+0x11e/0x360 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_creat fs/open.c:1262 [inline] __se_sys_creat fs/open.c:1256 [inline] __x64_sys_creat+0xc3/0x110 fs/open.c:1256 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ei->i_data_sem); lock(&ea_inode->i_rwsem#10/1); lock(&ei->i_data_sem); lock(&ea_inode->i_rwsem#10/1); *** DEADLOCK *** 5 locks held by syz-executor.0/5881: #0: ffff88803910a460 (sb_writers#5){.+.+}-{0:0}, at: do_open fs/namei.c:3247 [inline] #0: ffff88803910a460 (sb_writers#5){.+.+}-{0:0}, at: path_openat+0x15e7/0x2190 fs/namei.c:3371 #1: ffff88802f883688 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff88802f883688 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: do_truncate+0xd4/0x190 fs/open.c:62 #2: ffff88802f883510 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_setattr+0xb30/0x1c90 fs/ext4/inode.c:5431 #3: ffff88802f883478 (&ei->i_data_sem){++++}-{3:3}, at: ext4_setattr+0x1144/0x1c90 fs/ext4/inode.c:5472 #4: ffff88802f8832c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_trylock_xattr fs/ext4/xattr.h:149 [inline] #4: ffff88802f8832c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_to_expand_extra_isize fs/ext4/inode.c:5836 [inline] #4: ffff88802f8832c8 (&ei->xattr_sem){++++}-{3:3}, at: __ext4_mark_inode_dirty+0x3b6/0x6e0 fs/ext4/inode.c:5916 stack backtrace: CPU: 0 PID: 5881 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x9a/0xcc lib/dump_stack.c:120 check_noncircular+0x25f/0x2e0 kernel/locking/lockdep.c:2117 check_prev_add kernel/locking/lockdep.c:2868 [inline] check_prevs_add kernel/locking/lockdep.c:2993 [inline] validate_chain kernel/locking/lockdep.c:3608 [inline] __lock_acquire+0x2b3b/0x57d0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0x1a8/0x720 kernel/locking/lockdep.c:5407 down_write+0x8d/0x150 kernel/locking/rwsem.c:1406 inode_lock include/linux/fs.h:773 [inline] ext4_xattr_inode_iget+0x1cd/0x530 fs/ext4/xattr.c:427 ext4_xattr_inode_get+0x15a/0x690 fs/ext4/xattr.c:475 ext4_xattr_move_to_block fs/ext4/xattr.c:2569 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2670 [inline] ext4_expand_extra_isize_ea+0xc07/0x1570 fs/ext4/xattr.c:2762 __ext4_expand_extra_isize+0x26f/0x3e0 fs/ext4/inode.c:5796 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5839 [inline] __ext4_mark_inode_dirty+0x42b/0x6e0 fs/ext4/inode.c:5916 ext4_setattr+0x11b0/0x1c90 fs/ext4/inode.c:5474 notify_change+0x748/0xd90 fs/attr.c:336 do_truncate+0xe3/0x190 fs/open.c:64 handle_truncate fs/namei.c:2912 [inline] do_open fs/namei.c:3258 [inline] path_openat+0x1812/0x2190 fs/namei.c:3371 do_filp_open+0x16d/0x390 fs/namei.c:3398 do_sys_openat2+0x11e/0x360 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_creat fs/open.c:1262 [inline] __se_sys_creat fs/open.c:1256 [inline] __x64_sys_creat+0xc3/0x110 fs/open.c:1256 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fef68307389 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:00007fef67679168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fef68426f80 RCX: 00007fef68307389 RDX: 0000000000000000 RSI: 0000000000000108 RDI: 0000000020000000 RBP: 00007fef68352493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1f06b37f R14: 00007fef67679300 R15: 0000000000022000