ci starts bisection 2023-05-14 10:00:09.574209832 +0000 UTC m=+113962.754246494 bisecting cause commit starting from e922ba281a8d84f640d8c8e18a385d032c19e185 building syzkaller on 2b9ba477a18ed0cc53e6b29a9641292709a7ba24 ensuring issue is reproducible on original commit e922ba281a8d84f640d8c8e18a385d032c19e185 testing commit e922ba281a8d84f640d8c8e18a385d032c19e185 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6e3fa78ebce4e1e329cb9790442b4cfa46698a94bcb62cf90bcef659589eedf9 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_setattr run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_setattr run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_setattr run #10: crashed: possible deadlock in ext4_setattr run #11: crashed: possible deadlock in ext4_xattr_set_handle run #12: crashed: possible deadlock in ext4_setattr run #13: crashed: possible deadlock in ext4_xattr_set_handle run #14: crashed: possible deadlock in ext4_xattr_set_handle run #15: crashed: possible deadlock in ext4_setattr run #16: crashed: possible deadlock in ext4_xattr_set_handle run #17: crashed: possible deadlock in ext4_setattr run #18: crashed: possible deadlock in ext4_xattr_set_handle run #19: crashed: possible deadlock in ext4_xattr_set_handle 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: e70a3768a4d519689f3b427673ad8f1a58bd08fa5736d3c1fd27e40a9103ccc7 all runs: crashed: possible deadlock in ext4_setattr 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: 995e65b97c47705381a89e239ef3f48334ea0539ca0615a64d7438d84a72ec75 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_setattr run #3: crashed: possible deadlock in ext4_setattr run #4: crashed: possible deadlock in ext4_setattr run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_setattr 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: 5179e87537afae910df9daad2c3c1c88aae7f0689e0e6c8f4beca9fb45593088 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_setattr run #6: crashed: possible deadlock in ext4_setattr run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle 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: 510aaf1ca090e553f65cdf9453cd58beccd668cf7cec7a9c260e9090ce5db5cb run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_setattr run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_setattr run #9: crashed: possible deadlock in ext4_xattr_set_handle 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: 05965363f7b22adce3a1e4206b54c70c8bafcdd0c626096924f5f8599239515a run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_setattr run #3: crashed: possible deadlock in ext4_setattr run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle 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: adb9cffff4cf4d853026a89b0b055b8164e7bcedda0a9269743e345d4fcf07d1 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_setattr run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle 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: 372ff7f615f10b5f1636b02ab59e98b007c2425c966d15b35609516ffb460046 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_setattr run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle 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: a2778a2b2bbc1ecddd02e594f15d8c0858f8650c731f996eab515e920e0aea4e all runs: crashed: possible deadlock in ext4_xattr_set_handle testing release v5.15 testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a190d954f8baa7f731f59022be9fd99ba761985e6147027ba09d2c1473a0bd72 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_setattr run #9: crashed: possible deadlock in ext4_xattr_set_handle testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 04965f38feff136c53e7ea1d3c54331a2a48b39257d04aeda12da321cd1d44b9 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_setattr run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_setattr run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ba9626dd8149cbbcfaf3b11a89fdcbda89170774c958f6b8b52f359a567531af run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_setattr testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4a4fbc685c41d6b0ac5fde8d3b297fe0f890160e8ff7c3eb28020bd5ac454b71 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_setattr run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_setattr run #9: crashed: possible deadlock in ext4_setattr testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a436731bc28ba34acf72fc1125c4cdfc77cb4887919cfcebf6eca50e8b0429dc 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ea0089e5de07d43c402c168ea6a3410d953d4decc838efce07cdf43f7495b9cf 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 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 013892d47f0277005844e1e847f1600e27c70cf2ce99eb757d02d3528edfbdc3 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 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: adfa6c93ba36d1b96e4a0223db44e51568011e1a5526b123b175abb210a72516 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: boot failed: WARNING in kvm_wait run #5: boot failed: WARNING in kvm_wait run #6: boot failed: WARNING in kvm_wait run #7: boot failed: WARNING in kvm_wait run #8: boot failed: WARNING in kvm_wait 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a32017a3570e83070c7b36d313c130a6bb01700d8344f576f9f646fb3953ebed run #0: basic kernel testing failed: WARNING in kvm_wait run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_setattr run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: boot failed: WARNING in kvm_wait run #9: boot failed: WARNING in kvm_wait # 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a743b79409dca91af691a55c7dea46f58d9f3ee7f59d3b9583e10bd9f64e5417 all runs: 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a1f4a24f9b733865bc8851c21ee32dbfe467875bc9936c5c8ffeaa645d0ec20e run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: 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" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/bin/linux_amd64/syz-execprog" "root@10.128.10.25:./syz-execprog"] Warning: Permanently added '10.128.10.25' (ECDSA) to the list of known hosts. run #6: boot failed: WARNING in kvm_wait run #7: boot failed: WARNING in kvm_wait run #8: boot failed: WARNING in kvm_wait 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ada366ebfe9e5b0ff1a8d9ed1c7e159bcced04530705c57981b103a3bd07f81c 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 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b8427089e0c7e4bb3537638778628b1081000520a36ce783efc698bddea2a962 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: boot failed: WARNING in kvm_wait run #7: boot failed: WARNING in kvm_wait 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e98267864220b02f17914330225f22d740b7478b341f792cdbb6e60f890775e6 run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_setattr run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_setattr # 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6f13257eaabc073d6d4f2e8a83073a60ebbf1f1903d90a3a9c97c39115f8000f run #0: crashed: possible deadlock in ext4_setattr run #1: crashed: possible deadlock in ext4_setattr run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_xattr_set_handle run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_setattr run #9: crashed: possible deadlock in ext4_setattr # 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 96fddc1581c5db165df0693ca30e600596d7bd645a5304549a37a3fcb0b07697 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6d52f5f67aacaecfa226b05215d5e8dcff343ee002a18b7197452c08aece2ac9 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_setattr run #3: crashed: possible deadlock in ext4_setattr run #4: crashed: possible deadlock in ext4_xattr_set_handle run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_xattr_set_handle run #7: crashed: possible deadlock in ext4_setattr run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle # 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6d52f5f67aacaecfa226b05215d5e8dcff343ee002a18b7197452c08aece2ac9 run #0: crashed: possible deadlock in ext4_xattr_set_handle run #1: crashed: possible deadlock in ext4_xattr_set_handle run #2: crashed: possible deadlock in ext4_xattr_set_handle run #3: crashed: possible deadlock in ext4_setattr run #4: crashed: possible deadlock in ext4_setattr run #5: crashed: possible deadlock in ext4_xattr_set_handle run #6: crashed: possible deadlock in ext4_setattr run #7: crashed: possible deadlock in ext4_xattr_set_handle run #8: crashed: possible deadlock in ext4_xattr_set_handle run #9: crashed: possible deadlock in ext4_xattr_set_handle # 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 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c3a37cbbe11260b96aeb4052b830edbddcb9bfe289fcac669354a24df0f4e92e 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: 6d52f5f67aacaecfa226b05215d5e8dcff343ee002a18b7197452c08aece2ac9 parent signature: c3a37cbbe11260b96aeb4052b830edbddcb9bfe289fcac669354a24df0f4e92e revisions tested: 28, total time: 9h21m34.735558294s (build: 5h36m9.95832294s, test: 3h35m56.197572965s) 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_set_handle ====================================================== WARNING: possible circular locking dependency detected 5.11.0-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.0/6606 is trying to acquire lock: ffff8880320c94c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] ffff8880320c94c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x12f/0x1070 fs/ext4/xattr.c:2308 but task is already holding lock: ffff888149f388e0 (jbd2_handle){.+.+}-{0:0}, at: start_this_handle+0xd75/0x11b0 fs/jbd2/transaction.c:444 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 (jbd2_handle){.+.+}-{0:0}: start_this_handle+0xda4/0x11b0 fs/jbd2/transaction.c:446 jbd2__journal_start+0x385/0x890 fs/jbd2/transaction.c:503 __ext4_journal_start_sb+0x19f/0x3a0 fs/ext4/ext4_jbd2.c:105 __ext4_journal_start fs/ext4/ext4_jbd2.h:320 [inline] ext4_truncate+0x40b/0x10c0 fs/ext4/inode.c:4236 ext4_setattr+0xf81/0x1c90 fs/ext4/inode.c:5506 notify_change+0x748/0xd90 fs/attr.c:336 do_truncate+0xe3/0x190 fs/open.c:64 do_sys_ftruncate+0x4d6/0x680 fs/open.c:195 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #2 (&ei->i_mmap_sem){++++}-{3:3}: down_write+0x8d/0x150 kernel/locking/rwsem.c:1406 ext4_setattr+0xb30/0x1c90 fs/ext4/inode.c:5431 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+0x1843/0x21d0 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_openat fs/open.c:1204 [inline] __se_sys_openat fs/open.c:1199 [inline] __x64_sys_openat+0x11b/0x1d0 fs/open.c:1199 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #1 (&ea_inode->i_rwsem#10/1){+.+.}-{3:3}: down_write+0x8d/0x150 kernel/locking/rwsem.c:1406 inode_lock include/linux/fs.h:773 [inline] ext4_xattr_inode_create fs/ext4/xattr.c:1441 [inline] ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1521 [inline] ext4_xattr_set_entry+0x2643/0x36d0 fs/ext4/xattr.c:1649 ext4_xattr_block_set+0x737/0x2820 fs/ext4/xattr.c:1944 ext4_xattr_set_handle+0x9fc/0x1070 fs/ext4/xattr.c:2392 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 (&ei->xattr_sem){++++}-{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+0x2b2a/0x5500 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 ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] ext4_xattr_set_handle+0x12f/0x1070 fs/ext4/xattr.c:2308 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 other info that might help us debug this: Chain exists of: &ei->xattr_sem --> &ei->i_mmap_sem --> jbd2_handle Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(jbd2_handle); lock(&ei->i_mmap_sem); lock(jbd2_handle); lock(&ei->xattr_sem); *** DEADLOCK *** 3 locks held by syz-executor.0/6606: #0: ffff888149f34460 (sb_writers#5){.+.+}-{0:0}, at: path_setxattr+0xa0/0x130 fs/xattr.c:570 #1: ffff8880320c9888 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff8880320c9888 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: vfs_setxattr+0xef/0x2c0 fs/xattr.c:290 #2: ffff888149f388e0 (jbd2_handle){.+.+}-{0:0}, at: start_this_handle+0xd75/0x11b0 fs/jbd2/transaction.c:444 stack backtrace: CPU: 1 PID: 6606 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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+0x2b2a/0x5500 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 ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] ext4_xattr_set_handle+0x12f/0x1070 fs/ext4/xattr.c:2308 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 RIP: 0033:0x7f2321395169 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:00007f23206e6168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f23214b5050 RCX: 00007f2321395169 RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 00007f23213f0ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff05de319f R14: 00007f23206e6300 R15: 0000000000022000