ci starts bisection 2022-12-31 23:38:51.113966294 +0000 UTC m=+99209.974594591 bisecting cause commit starting from c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 building syzkaller on ab32d50881df9f96f2af301aadca62ad00b7e099 ensuring issue is reproducible on original commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 testing commit c8451c141e07a8d05693f6c8d0e418fbb4b68bb7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 036790874722b5fe0e403fcd46aecfe7b2ed9deffdb70d714625633707049c73 all runs: crashed: WARNING in hfs_write_inode 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: baee1d74d8751a456dd74c148e7b1375bcaeb51352fb1accd30bd524bc41e2bf all runs: crashed: WARNING in hfs_write_inode 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: 898dff78fe48c1a152ba7668fd712fec8eeda59fb0c3d4ba456853a5a0ded685 all runs: crashed: WARNING in hfs_write_inode 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: 3b506006ddc3d88f8d084745afa2a797e115b59263e80df492c6b79453bae8d5 all runs: crashed: WARNING in hfs_write_inode 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: c4d3a2888299d8221ecfcf04680064b512d7052d317b3c252f20e913e10901db all runs: crashed: WARNING in hfs_write_inode 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: c1f677ab2bd337cd788b9c512f63edec1d9f508ad158669f311d30f98b27433b all runs: crashed: WARNING in hfs_write_inode 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: 2241d9ac85908bb892e7e8dfe755b1e698b472ff3083e7159ae9480d66407928 all runs: crashed: WARNING in hfs_write_inode 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: 1630d727d4b7c3a13960a2c7ad419be6bd17b8f0e32782c9f30ee36dd7cb10b5 all runs: OK # git bisect start df0cc57e057f18e44dac8e6c18aba47ab53202f9 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 7870 revisions left to test after this (roughly 13 steps) [2219b0ceefe835b92a8a74a73fe964aa052742a2] Merge tag 'soc-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 2219b0ceefe835b92a8a74a73fe964aa052742a2 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 71197af5f0d17dd1030b22f01011a0a0ab45b86ce15e21c03c64205eebf77c61 all runs: OK # git bisect good 2219b0ceefe835b92a8a74a73fe964aa052742a2 Bisecting: 3942 revisions left to test after this (roughly 12 steps) [206825f50f908771934e1fba2bfc2e1f1138b36a] Merge tag 'mtd/for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux testing commit 206825f50f908771934e1fba2bfc2e1f1138b36a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 62a8d9b932655b1c934f9d9b5725a98353d351f9f387aed8d6d4bd33f715a21e all runs: OK # git bisect good 206825f50f908771934e1fba2bfc2e1f1138b36a Bisecting: 1971 revisions left to test after this (roughly 11 steps) [4e1fddc98d2585ddd4792b5e44433dcee7ece001] tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows testing commit 4e1fddc98d2585ddd4792b5e44433dcee7ece001 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b458371437050589d2868c243cf6e15cc1de2bc36adfb96e0fb41e114f804fc5 all runs: crashed: WARNING in hfs_write_inode # git bisect bad 4e1fddc98d2585ddd4792b5e44433dcee7ece001 Bisecting: 989 revisions left to test after this (roughly 10 steps) [dbf49896187fd58c577fa1574a338e4f3672b4b2] Merge branch 'akpm' (patches from Andrew) testing commit dbf49896187fd58c577fa1574a338e4f3672b4b2 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2de463b97d13fcb3cd7ff6f16201cac3065e18aa9928d98d22cad8658add912e all runs: crashed: WARNING in hfs_write_inode # git bisect bad dbf49896187fd58c577fa1574a338e4f3672b4b2 Bisecting: 477 revisions left to test after this (roughly 9 steps) [89d714ab6043bca7356b5c823f5335f5dce1f930] Merge tag 'linux-watchdog-5.16-rc1' of git://www.linux-watchdog.org/linux-watchdog testing commit 89d714ab6043bca7356b5c823f5335f5dce1f930 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bdc2fc486ff4580c7c1b9280a921117a9543c056758f74fed0abf29489e2765c all runs: crashed: WARNING in hfs_write_inode # git bisect bad 89d714ab6043bca7356b5c823f5335f5dce1f930 Bisecting: 210 revisions left to test after this (roughly 8 steps) [59a2ceeef6d6bb8f68550fdbd84246b74a99f06b] Merge branch 'akpm' (patches from Andrew) testing commit 59a2ceeef6d6bb8f68550fdbd84246b74a99f06b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1678e54db42b478e011031ee749323906292904652f2295b3bd39cbf6314d14e all runs: crashed: WARNING in hfs_write_inode # git bisect bad 59a2ceeef6d6bb8f68550fdbd84246b74a99f06b Bisecting: 189 revisions left to test after this (roughly 7 steps) [d20f7a09e5eeeeef5db679adc9a490fecb6a4c87] Merge tag 'gpio-updates-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux testing commit d20f7a09e5eeeeef5db679adc9a490fecb6a4c87 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 48e549e9487341b9637ee1db4fc00b16cf72588d27d24325e9dc1d3fb69b6331 all runs: OK # git bisect good d20f7a09e5eeeeef5db679adc9a490fecb6a4c87 Bisecting: 94 revisions left to test after this (roughly 7 steps) [0cee0416563d7cac807c8f092941f3e37ede05db] mfd: max77686: Correct tab-based alignment of register addresses testing commit 0cee0416563d7cac807c8f092941f3e37ede05db gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9ec17af686d13b095e06967116ea5e7c4d43d64e688c3cfcafd86bb4989f0188 run #0: basic kernel testing failed: failed to copy syz-execprog to VM: failed to run ["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.0.132:./syz-execprog"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.132 port 22 timed out lost connection run #1: basic kernel testing failed: failed to copy syz-execprog to VM: failed to run ["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.1.93:./syz-execprog"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.1.93 port 22 timed out lost connection run #2: basic kernel testing failed: failed to copy syz-execprog to VM: failed to run ["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.0.164:./syz-execprog"]: exit status 1 Connection timed out during banner exchange Connection to 10.128.0.164 port 22 timed out lost connection run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good 0cee0416563d7cac807c8f092941f3e37ede05db Bisecting: 47 revisions left to test after this (roughly 6 steps) [b9ad8fe7b8cab3814d1de41e8ddca602b2646f4b] sections: move is_kernel_inittext() into sections.h testing commit b9ad8fe7b8cab3814d1de41e8ddca602b2646f4b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e275b52e34e3257fb5a9ae8d3c06d08a4ef293d3d5d577c1030ab6fbe23715e3 all runs: OK # git bisect good b9ad8fe7b8cab3814d1de41e8ddca602b2646f4b Bisecting: 23 revisions left to test after this (roughly 5 steps) [f26663684e76773ea86e2df13fb18f9d66c91151] signal: remove duplicate include in signal.h testing commit f26663684e76773ea86e2df13fb18f9d66c91151 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4efa7d70681822eb5d316cb0b7c8e4084e7819e416b1d99269e533577c40b6ab all runs: crashed: WARNING in hfs_write_inode # git bisect bad f26663684e76773ea86e2df13fb18f9d66c91151 Bisecting: 11 revisions left to test after this (roughly 4 steps) [b1deb685b07945bb374fa75857033bb658a1253b] coda: remove err which no one care testing commit b1deb685b07945bb374fa75857033bb658a1253b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47eb79c0995b4477ebd4d2dc2ff0daab150d704d98aba278c95f5a7860765f8a all runs: OK # git bisect good b1deb685b07945bb374fa75857033bb658a1253b Bisecting: 5 revisions left to test after this (roughly 3 steps) [98d5b61ef5fae7681df27065ad95ee6e30c42243] coda: bump module version to 7.2 testing commit 98d5b61ef5fae7681df27065ad95ee6e30c42243 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 47eb79c0995b4477ebd4d2dc2ff0daab150d704d98aba278c95f5a7860765f8a all runs: OK # git bisect good 98d5b61ef5fae7681df27065ad95ee6e30c42243 Bisecting: 2 revisions left to test after this (roughly 2 steps) [55d1cbbbb29e6656c662ee8f73ba1fc4777532eb] hfs/hfsplus: use WARN_ON for sanity check testing commit 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4efa7d70681822eb5d316cb0b7c8e4084e7819e416b1d99269e533577c40b6ab all runs: crashed: WARNING in hfs_write_inode # git bisect bad 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb Bisecting: 0 revisions left to test after this (roughly 1 step) [94ee1d91514a1e02db87fb09b903b51d86903771] nilfs2: remove filenames from file comments testing commit 94ee1d91514a1e02db87fb09b903b51d86903771 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 46e9fbbd6d304359f359d2374cd9369dbcd204eef5fe451706bd96378af68630 all runs: OK # git bisect good 94ee1d91514a1e02db87fb09b903b51d86903771 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb is the first bad commit commit 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb Author: Arnd Bergmann Date: Mon Nov 8 18:35:04 2021 -0800 hfs/hfsplus: use WARN_ON for sanity check gcc warns about a couple of instances in which a sanity check exists but the author wasn't sure how to react to it failing, which makes it look like a possible bug: fs/hfsplus/inode.c: In function 'hfsplus_cat_read_inode': fs/hfsplus/inode.c:503:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 503 | /* panic? */; | ^ fs/hfsplus/inode.c:524:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 524 | /* panic? */; | ^ fs/hfsplus/inode.c: In function 'hfsplus_cat_write_inode': fs/hfsplus/inode.c:582:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 582 | /* panic? */; | ^ fs/hfsplus/inode.c:608:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 608 | /* panic? */; | ^ fs/hfs/inode.c: In function 'hfs_write_inode': fs/hfs/inode.c:464:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 464 | /* panic? */; | ^ fs/hfs/inode.c:485:37: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 485 | /* panic? */; | ^ panic() is probably not the correct choice here, but a WARN_ON seems appropriate and avoids the compile-time warning. Link: https://lkml.kernel.org/r/20210927102149.1809384-1-arnd@kernel.org Link: https://lore.kernel.org/all/20210322223249.2632268-1-arnd@kernel.org/ Signed-off-by: Arnd Bergmann Reviewed-by: Christian Brauner Cc: Alexander Viro Cc: Christian Brauner Cc: Greg Kroah-Hartman Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds fs/hfs/inode.c | 6 ++---- fs/hfsplus/inode.c | 12 ++++-------- 2 files changed, 6 insertions(+), 12 deletions(-) culprit signature: 4efa7d70681822eb5d316cb0b7c8e4084e7819e416b1d99269e533577c40b6ab parent signature: 46e9fbbd6d304359f359d2374cd9369dbcd204eef5fe451706bd96378af68630 revisions tested: 22, total time: 4h49m43.51259185s (build: 2h47m54.301668217s, test: 1h58m14.804498882s) first bad commit: 55d1cbbbb29e6656c662ee8f73ba1fc4777532eb hfs/hfsplus: use WARN_ON for sanity check recipients (to): ["akpm@linux-foundation.org" "arnd@arndb.de" "christian.brauner@ubuntu.com" "torvalds@linux-foundation.org"] recipients (cc): [] crash: WARNING in hfs_write_inode ------------[ cut here ]------------ WARNING: CPU: 1 PID: 144 at fs/hfs/inode.c:485 hfs_write_inode+0x707/0x860 fs/hfs/inode.c:482 Modules linked in: CPU: 1 PID: 144 Comm: kworker/u4:2 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_write_inode+0x707/0x860 fs/hfs/inode.c:485 Code: fe ff 48 89 ef 48 8d 84 24 48 01 00 00 48 8d 8c 24 c0 00 00 00 48 8d 90 74 ff ff ff 48 8d 70 a6 e8 5e f7 ff ff e9 55 fd ff ff <0f> 0b e9 60 fc ff ff 0f 0b e9 d6 fe ff ff 41 bc fb ff ff ff e9 5a RSP: 0018:ffffc900010d7740 EFLAGS: 00010297 RAX: 0000000000000007 RBX: 1ffff9200021aee9 RCX: 1ffff9200021aef2 RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffffc900010d77a8 RBP: ffff88801ccf6198 R08: ffff88801ccf6044 R09: ffff88801cc82028 R10: ffffed1003990405 R11: 0000000000000004 R12: 0000000000000000 R13: ffff88801ccf6198 R14: ffff88801cc82000 R15: ffffc900010d7778 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005625bacfa300 CR3: 000000000ae8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: write_inode fs/fs-writeback.c:1469 [inline] __writeback_single_inode+0x73e/0xaf0 fs/fs-writeback.c:1674 writeback_sb_inodes+0x466/0xc50 fs/fs-writeback.c:1881 wb_writeback+0x22e/0x8b0 fs/fs-writeback.c:2053 wb_do_writeback fs/fs-writeback.c:2196 [inline] wb_workfn+0x263/0xf30 fs/fs-writeback.c:2237 process_one_work+0x87f/0x1450 kernel/workqueue.c:2297 worker_thread+0x598/0x1040 kernel/workqueue.c:2444 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295