ci2 starts bisection 2023-06-16 12:31:52.224230572 +0000 UTC m=+53735.417027318 bisecting fixing commit since ca48fc16c49388400eddd6c6614593ebf7c7726a building syzkaller on 90c93c40627cb0ac3c2c7cb99d807fd4c137adcb ensuring issue is reproducible on original commit ca48fc16c49388400eddd6c6614593ebf7c7726a testing commit ca48fc16c49388400eddd6c6614593ebf7c7726a gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f9c862eeae2e50f61f3ea5543305bb689586d15c3f94d51714889c4877101204 all runs: crashed: possible deadlock in ext4_multi_mount_protect testing current HEAD ca87e77a2ef8b298aa9f69658d5898e72ee450fe testing commit ca87e77a2ef8b298aa9f69658d5898e72ee450fe gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9195e05a65d6252e7485be032c26084358ec4c3d1bd8d44f6926c54b8ef68af3 all runs: OK too many neither good nor bad results, skipping this commit # git bisect start ca87e77a2ef8b298aa9f69658d5898e72ee450fe ca48fc16c49388400eddd6c6614593ebf7c7726a Bisecting: 829 revisions left to test after this (roughly 10 steps) [dba62fa84a8eac44a53a2862de8a40e5bdfa0ae3] ext4: fix WARNING in mb_find_extent testing commit dba62fa84a8eac44a53a2862de8a40e5bdfa0ae3 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 68f37c15f4e7c883bddeced7a8c21183cea7c75fb8d93a947a15460dd9c94d43 all runs: crashed: possible deadlock in ext4_multi_mount_protect # git bisect good dba62fa84a8eac44a53a2862de8a40e5bdfa0ae3 Bisecting: 414 revisions left to test after this (roughly 9 steps) [47b4f741a3f6ecf61912e9447cf47f95c750d3ae] platform/mellanox: mlxbf-pmc: fix sscanf() error checking testing commit 47b4f741a3f6ecf61912e9447cf47f95c750d3ae gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4d41414c52912637c8ceef21a71cb45182b5ba4ccf4de11651f11014acb88eda all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 47b4f741a3f6ecf61912e9447cf47f95c750d3ae Bisecting: 207 revisions left to test after this (roughly 8 steps) [47adb84916ee7a66235d179b98e7702cbd73b54f] SUNRPC: always free ctxt when freeing deferred request testing commit 47adb84916ee7a66235d179b98e7702cbd73b54f gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: dd00d5458045a89fd71e1b83d24af3fdb9f3d0de59b993031a5d9c87a825e066 all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 47adb84916ee7a66235d179b98e7702cbd73b54f Bisecting: 103 revisions left to test after this (roughly 7 steps) [d957a100bcc2e0ea6b770781a849ba7c3efe1532] netdev: Enforce index cap in netdev_get_tx_queue testing commit d957a100bcc2e0ea6b770781a849ba7c3efe1532 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0bcb4a2de9a76c8f3651d70f62a3236bd7375c724ce98fd24338ca19a6ac5ede all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad d957a100bcc2e0ea6b770781a849ba7c3efe1532 Bisecting: 51 revisions left to test after this (roughly 6 steps) [5a08a72da35bf2dd6ba63bd6ee7210a1d25dbefd] fbdev: arcfb: Fix error handling in arcfb_probe() testing commit 5a08a72da35bf2dd6ba63bd6ee7210a1d25dbefd gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2104a9aadcf26acba1126feab5220cb463a46057a952da70d3339dddcc7f5993 all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 5a08a72da35bf2dd6ba63bd6ee7210a1d25dbefd Bisecting: 25 revisions left to test after this (roughly 5 steps) [27c6b573d1501a457f1e797aa659e820b1c67797] net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe() testing commit 27c6b573d1501a457f1e797aa659e820b1c67797 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 75c2f0a15c6d38484ec296086cbd117996bf47d2ae2d2ba13d20fd4be42cf21c all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 27c6b573d1501a457f1e797aa659e820b1c67797 Bisecting: 12 revisions left to test after this (roughly 4 steps) [18ecffd03626ba57c4c899e0b7953479b463372d] drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values testing commit 18ecffd03626ba57c4c899e0b7953479b463372d gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e11a42f26f730cff4ae3876c3ed4b938b092ebd92848559767e81deb6cb5f0c2 all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 18ecffd03626ba57c4c899e0b7953479b463372d Bisecting: 5 revisions left to test after this (roughly 3 steps) [665cc3ba50330049524c1d275bc840a8f28dde73] ext4: fix deadlock when converting an inline directory in nojournal mode testing commit 665cc3ba50330049524c1d275bc840a8f28dde73 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 077da8f174d660d0c6fc1dc5bb26f2bbd8d74fd5fe2d3d73c1674c2f8f6dbb50 all runs: crashed: possible deadlock in ext4_multi_mount_protect # git bisect good 665cc3ba50330049524c1d275bc840a8f28dde73 Bisecting: 2 revisions left to test after this (roughly 2 steps) [19fb73b8eaefccc48918c2f915d021bd4a5572a7] ext4: fix lockdep warning when enabling MMP testing commit 19fb73b8eaefccc48918c2f915d021bd4a5572a7 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a768f92c3884aea7d1dc7415c9477ee88ecb59a4a480bb5574669b02b8a4011f all runs: OK too many neither good nor bad results, skipping this commit # git bisect bad 19fb73b8eaefccc48918c2f915d021bd4a5572a7 Bisecting: 0 revisions left to test after this (roughly 1 step) [6e7a97628f2766bbbe099426b63044c8c57ea502] ext4: bail out of ext4_xattr_ibody_get() fails for any reason testing commit 6e7a97628f2766bbbe099426b63044c8c57ea502 gcc compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 8498bceff6d3204d966a4b830b4ed6b9c1d24bc8dc5db983022a416dd4b44c33 all runs: crashed: possible deadlock in ext4_multi_mount_protect # git bisect good 6e7a97628f2766bbbe099426b63044c8c57ea502 19fb73b8eaefccc48918c2f915d021bd4a5572a7 is the first bad commit commit 19fb73b8eaefccc48918c2f915d021bd4a5572a7 Author: Jan Kara Date: Tue Apr 11 14:10:19 2023 +0200 ext4: fix lockdep warning when enabling MMP commit 949f95ff39bf188e594e7ecd8e29b82eb108f5bf upstream. When we enable MMP in ext4_multi_mount_protect() during mount or remount, we end up calling sb_start_write() from write_mmp_block(). This triggers lockdep warning because freeze protection ranks above s_umount semaphore we are holding during mount / remount. The problem is harmless because we are guaranteed the filesystem is not frozen during mount / remount but still let's fix the warning by not grabbing freeze protection from ext4_multi_mount_protect(). Cc: stable@kernel.org Reported-by: syzbot+6b7df7d5506b32467149@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=ab7e5b6f400b7778d46f01841422e5718fb81843 Signed-off-by: Jan Kara Reviewed-by: Christian Brauner Link: https://lore.kernel.org/r/20230411121019.21940-1-jack@suse.cz Signed-off-by: Theodore Ts'o Signed-off-by: Greg Kroah-Hartman fs/ext4/mmp.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) culprit signature: a768f92c3884aea7d1dc7415c9477ee88ecb59a4a480bb5574669b02b8a4011f parent signature: 8498bceff6d3204d966a4b830b4ed6b9c1d24bc8dc5db983022a416dd4b44c33 revisions tested: 12, total time: 6h44m51.658044398s (build: 5h15m27.890241547s, test: 1h25m55.481926589s) first good commit: 19fb73b8eaefccc48918c2f915d021bd4a5572a7 ext4: fix lockdep warning when enabling MMP recipients (to): ["brauner@kernel.org" "gregkh@linuxfoundation.org" "jack@suse.cz" "tytso@mit.edu"] recipients (cc): []