ci starts bisection 2023-01-19 01:28:13.342559575 +0000 UTC m=+1650.479621685 bisecting cause commit starting from 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 building syzkaller on 05494336991504e3c6137b89eeddd492e17af6b6 ensuring issue is reproducible on original commit 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 testing commit 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7755abc276d1cb874b5a854b2110cd6148121f7d6dc1774cb49f46a5ca19ab57 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 83ea5099af12984c2d68b997ac30a355a49ae515b1511f4a57180b33b32222f7 all runs: OK # git bisect start 77856d911a8c8724ee8e2b09d55979fc1de8f1c0 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 Bisecting: 6450 revisions left to test after this (roughly 13 steps) [361c89a0da59c04b1d3d33568965fe426b0f18de] Merge tag 'pinctrl-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit 361c89a0da59c04b1d3d33568965fe426b0f18de gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c780098bdaa08182c728dee37f6be05c3eb5abc3851633cf0c0cde5c98dda70f all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage # git bisect bad 361c89a0da59c04b1d3d33568965fe426b0f18de Bisecting: 3286 revisions left to test after this (roughly 12 steps) [c76ff350bd57682ae12bea6383dd8baf4824ac96] Merge tag 'lsm-pr-20221212' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm testing commit c76ff350bd57682ae12bea6383dd8baf4824ac96 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7e909070c80f094141d706dae686ad917eefb4a7650d64c0b611e1e20cf8466c all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage # git bisect bad c76ff350bd57682ae12bea6383dd8baf4824ac96 Bisecting: 1624 revisions left to test after this (roughly 11 steps) [01f3cbb296a9ad378167c01758c99557b5bc3208] Merge tag 'soc-dt-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 01f3cbb296a9ad378167c01758c99557b5bc3208 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d8271be8edd6cd643ef591e3ec5c56cc88df7081b32e855cc0074f615091984b all runs: OK # git bisect good 01f3cbb296a9ad378167c01758c99557b5bc3208 Bisecting: 823 revisions left to test after this (roughly 10 steps) [eb4511538191ac758faa0735fe06c5ce8202ae04] Merge tag 'trace-tools-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace testing commit eb4511538191ac758faa0735fe06c5ce8202ae04 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 01e218326583bdf61fb661d439716fadbcee6bd72fdb18e7838a447aca1dccf9 all runs: OK # git bisect good eb4511538191ac758faa0735fe06c5ce8202ae04 Bisecting: 416 revisions left to test after this (roughly 9 steps) [cda6a60acc95cba93e9c17352ed485555adc661f] Merge tag 'fixes_for_v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs testing commit cda6a60acc95cba93e9c17352ed485555adc661f gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7bbaf1bf22d51c873e77f4e90db282db9368fa14e8c995aeef3b052fe6d1a5a3 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage # git bisect bad cda6a60acc95cba93e9c17352ed485555adc661f Bisecting: 204 revisions left to test after this (roughly 8 steps) [268369b171ff1be6a68ae8f33d0602c6bea48d2e] Merge tag 'pull-alpha' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs testing commit 268369b171ff1be6a68ae8f33d0602c6bea48d2e gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f5e0ba368375d93782d24eb93b3292df2baebe7e030b19c93d5994d44e4ab1fe all runs: OK # git bisect good 268369b171ff1be6a68ae8f33d0602c6bea48d2e Bisecting: 121 revisions left to test after this (roughly 7 steps) [9b93f5069fd95cea7915aab321fd74d2548ba75c] Merge tag 'fs.idmapped.mnt_idmap.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping testing commit 9b93f5069fd95cea7915aab321fd74d2548ba75c gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b98e4189463fa5c59f2ec009506363aca34d52ae886c43191ed4b97ee9d16859 all runs: OK # git bisect good 9b93f5069fd95cea7915aab321fd74d2548ba75c Bisecting: 62 revisions left to test after this (roughly 6 steps) [deb9acc12250b13e40f7133f189d8a0891da53f3] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 testing commit deb9acc12250b13e40f7133f189d8a0891da53f3 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 5c1e7257eeb02178bd17b7fd88720f47ae2fab4c5812d4c1de495f01bd5f93a3 all runs: OK # git bisect good deb9acc12250b13e40f7133f189d8a0891da53f3 Bisecting: 27 revisions left to test after this (roughly 5 steps) [6df7cc2268745e91d090830c58689aa7fcbde6f9] Merge tag 'ovl-update-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs testing commit 6df7cc2268745e91d090830c58689aa7fcbde6f9 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b320b7b0fda63b0f2c7b8d14da7f1485a79fb8b42a312a98651b5c1d73e8e868 all runs: OK # git bisect good 6df7cc2268745e91d090830c58689aa7fcbde6f9 Bisecting: 13 revisions left to test after this (roughly 4 steps) [1f3868f06855c97a4954c99b36f3fc9eb8f60326] udf: Fix extending file within last block testing commit 1f3868f06855c97a4954c99b36f3fc9eb8f60326 gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cd99dfc634f64a23a68fc6cd577e1608907067cd5155d1453660a1b2360fdc87 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage # git bisect bad 1f3868f06855c97a4954c99b36f3fc9eb8f60326 Bisecting: 6 revisions left to test after this (roughly 3 steps) [36273e5b4e3a934c6d346c8f0b16b97e018094af] udf: remove ->writepage testing commit 36273e5b4e3a934c6d346c8f0b16b97e018094af gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4dfdb7044b477dd72277dab16b2346af20ccd4c7fd6f7df98190b0a19171d7b4 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in __writepage # git bisect bad 36273e5b4e3a934c6d346c8f0b16b97e018094af Bisecting: 3 revisions left to test after this (roughly 2 steps) [ab7720a2b1175b21cace83757a9fd70408156bae] maintainers: Add ISOFS entry testing commit ab7720a2b1175b21cace83757a9fd70408156bae gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 117e5a6e27907c5d6c0cc2c5960d115cfa6d2bedcde524a3519976d8b280ea58 all runs: OK # git bisect good ab7720a2b1175b21cace83757a9fd70408156bae Bisecting: 1 revision left to test after this (roughly 1 step) [bc943f4872a722c5cc64d1cf41daaaf4ec63158e] ext2: Don't flush page immediately for DIRSYNC directories testing commit bc943f4872a722c5cc64d1cf41daaaf4ec63158e gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7370a1d06e1e30c8c1d27ce89324362ea01278dc698d722b21af72c95bf5dc78 all runs: OK # git bisect good bc943f4872a722c5cc64d1cf41daaaf4ec63158e Bisecting: 0 revisions left to test after this (roughly 0 steps) [a27c442d61cea70f38d9340528225b234888885b] ext2: remove ->writepage testing commit a27c442d61cea70f38d9340528225b234888885b gcc compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7b53806ae10d1322309096ac0ae1a373c969e0c5d71250049ba8d65a1cfaf7a8 all runs: OK # git bisect good a27c442d61cea70f38d9340528225b234888885b 36273e5b4e3a934c6d346c8f0b16b97e018094af is the first bad commit commit 36273e5b4e3a934c6d346c8f0b16b97e018094af Author: Christoph Hellwig Date: Sun Nov 13 17:29:02 2022 +0100 udf: remove ->writepage ->writepage is a very inefficient method to write back data, and only used through write_cache_pages or as a fallback when no ->migrate_folio method is present. Set ->migrate_folio to the generic buffer_head based helper, and remove the ->writepage implementation in extfat. Signed-off-by: Christoph Hellwig Signed-off-by: Jan Kara fs/udf/inode.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) culprit signature: 4dfdb7044b477dd72277dab16b2346af20ccd4c7fd6f7df98190b0a19171d7b4 parent signature: 7b53806ae10d1322309096ac0ae1a373c969e0c5d71250049ba8d65a1cfaf7a8 revisions tested: 16, total time: 4h16m26.563353338s (build: 2h4m8.444039684s, test: 2h10m35.288227369s) first bad commit: 36273e5b4e3a934c6d346c8f0b16b97e018094af udf: remove ->writepage recipients (to): ["hch@lst.de" "jack@suse.com" "jack@suse.cz" "linux-kernel@vger.kernel.org"] recipients (cc): ["akpm@linux-foundation.org" "linkinjeon@gmail.com" "willy@infradead.org"] crash: BUG: unable to handle kernel NULL pointer dereference in __writepage BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 6ce82067 P4D 6ce82067 PUD 21500067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4186 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc90004cb76a8 EFLAGS: 00010246 RAX: 1ffffffff14963f4 RBX: ffffea0001b1f1c0 RCX: ffffffff81a65dab RDX: ffff88806f0e09e8 RSI: ffffc90004cb7b00 RDI: ffffea0001b1f1c0 RBP: ffffffff8a4b1fa0 R08: dffffc0000000000 R09: fffffbfff1af62b6 R10: fffffbfff1af62b6 R11: 1ffffffff1af62b5 R12: dffffc0000000000 R13: ffffea0001b1f1e0 R14: ffff88806f0e09e8 R15: ffffc90004cb7b00 FS: 00007f920adde700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000263e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __writepage+0x5b/0xf0 mm/page-writeback.c:2425 write_cache_pages+0x729/0xef0 mm/page-writeback.c:2360 generic_writepages mm/page-writeback.c:2451 [inline] do_writepages+0x3b3/0x5d0 mm/page-writeback.c:2471 filemap_fdatawrite_wbc+0xdb/0x130 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x1d6/0x2b0 mm/filemap.c:774 __generic_file_fsync+0x69/0x110 fs/libfs.c:1116 generic_file_fsync+0x6a/0xd0 fs/libfs.c:1157 generic_write_sync include/linux/fs.h:2883 [inline] udf_file_write_iter+0x3bd/0x4d0 fs/udf/file.c:176 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7e7/0xab0 fs/read_write.c:584 ksys_write+0x15e/0x240 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f920b28c0d9 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:00007f920adde168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f920b3ac050 RCX: 00007f920b28c0d9 RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f920b2e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3fbc39df R14: 00007f920adde300 R15: 0000000000022000 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc90004cb76a8 EFLAGS: 00010246 RAX: 1ffffffff14963f4 RBX: ffffea0001b1f1c0 RCX: ffffffff81a65dab RDX: ffff88806f0e09e8 RSI: ffffc90004cb7b00 RDI: ffffea0001b1f1c0 RBP: ffffffff8a4b1fa0 R08: dffffc0000000000 R09: fffffbfff1af62b6 R10: fffffbfff1af62b6 R11: 1ffffffff1af62b5 R12: dffffc0000000000 R13: ffffea0001b1f1e0 R14: ffff88806f0e09e8 R15: ffffc90004cb7b00 FS: 00007f920adde700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000263e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400