bisecting cause commit starting from dcc0b49040c70ad827a7f3d58a21b01fdb14e749 building syzkaller on a5f86b15f4f60350198e4b98fb7451d45d38a186 testing commit dcc0b49040c70ad827a7f3d58a21b01fdb14e749 with gcc (GCC) 10.2.1 20210217 kernel signature: 84293c503d70ba330eb747ecf755802154629e6c70c64af49c773d9af3b8f5cc run #0: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #3: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #4: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #5: crashed: WARNING in iov_iter_revert run #6: crashed: WARNING in iov_iter_revert run #7: crashed: WARNING in iov_iter_revert run #8: crashed: WARNING in iov_iter_revert run #9: crashed: WARNING in iov_iter_revert run #10: crashed: WARNING in iov_iter_revert run #11: crashed: WARNING in iov_iter_revert run #12: crashed: WARNING in iov_iter_revert run #13: crashed: WARNING in iov_iter_revert run #14: crashed: WARNING in iov_iter_revert run #15: crashed: WARNING in iov_iter_revert run #16: crashed: WARNING in iov_iter_revert run #17: crashed: WARNING in iov_iter_revert run #18: crashed: WARNING in iov_iter_revert run #19: crashed: WARNING in iov_iter_revert testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 with gcc (GCC) 10.2.1 20210217 kernel signature: 023084790012a2dae24637c36cb931cab146c3de9ad59118796efbd7f8485088 all runs: OK # git bisect start dcc0b49040c70ad827a7f3d58a21b01fdb14e749 2c85ebc57b3e1817b6ce1a6b703928e113a90442 Bisecting: 7707 revisions left to test after this (roughly 13 steps) [aab7ce2b099bd9df82573cd3170acf6518fdebeb] Merge tag 'acpi-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit aab7ce2b099bd9df82573cd3170acf6518fdebeb with gcc (GCC) 10.2.1 20210217 kernel signature: 469435b967f92c2abf8e2baef2648b1e9d0aa3cc205332d494592412354710f9 all runs: OK # git bisect good aab7ce2b099bd9df82573cd3170acf6518fdebeb Bisecting: 3853 revisions left to test after this (roughly 12 steps) [d5c243989fb0cb03c74d7340daca3b819f706ee7] powerpc/32: Fix vmap stack - Properly set r1 before activating MMU on syscall too testing commit d5c243989fb0cb03c74d7340daca3b819f706ee7 with gcc (GCC) 10.2.1 20210217 kernel signature: 51c2feac14edde077a755df783b40b4f4881646c620d599b17ebd52a1495edce all runs: OK # git bisect good d5c243989fb0cb03c74d7340daca3b819f706ee7 Bisecting: 1926 revisions left to test after this (roughly 11 steps) [0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625] net: mvneta: fix error message when MTU too large for XDP testing commit 0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625 with gcc (GCC) 10.2.1 20210217 kernel signature: 9e5c025f1253bfb5afc2fa993daed8fb406dff0f6c5713468cd0a7f1a05d4339 all runs: OK # git bisect good 0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625 Bisecting: 965 revisions left to test after this (roughly 10 steps) [faba877b3bccb5af79f0cd8c6af93392030e6e41] Merge tag 'perf-tools-fixes-v5.11-2-2021-01-22' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit faba877b3bccb5af79f0cd8c6af93392030e6e41 with gcc (GCC) 10.2.1 20210217 kernel signature: 682b52f4b479a6d420a834ffe4b213032358048faa16c0c15f706a793ce85226 all runs: OK # git bisect good faba877b3bccb5af79f0cd8c6af93392030e6e41 Bisecting: 484 revisions left to test after this (roughly 9 steps) [c0ec4ffc40939e9a5a5844ce455f2b5b66a005fd] Merge tag 'io_uring-5.11-2021-01-29' of git://git.kernel.dk/linux-block testing commit c0ec4ffc40939e9a5a5844ce455f2b5b66a005fd with gcc (GCC) 10.2.1 20210217 kernel signature: 53db8a3ef50f8334b73bd6c1ae19a37a9a554273c26a855d575d147f798b83fd all runs: crashed: WARNING in iov_iter_revert # git bisect bad c0ec4ffc40939e9a5a5844ce455f2b5b66a005fd Bisecting: 240 revisions left to test after this (roughly 8 steps) [757fed1d0898b893d7daa84183947c70f27632f3] Revert "mm/slub: fix a memory leak in sysfs_slab_add()" testing commit 757fed1d0898b893d7daa84183947c70f27632f3 with gcc (GCC) 10.2.1 20210217 kernel signature: 520d862ffc6f86769433d17bfe165da12dc93707b16cb7ede8797c08fe182923 run #0: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #3: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #4: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #5: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #6: crashed: WARNING in iov_iter_revert run #7: crashed: WARNING in iov_iter_revert run #8: crashed: WARNING in iov_iter_revert run #9: crashed: WARNING in iov_iter_revert # git bisect bad 757fed1d0898b893d7daa84183947c70f27632f3 Bisecting: 117 revisions left to test after this (roughly 7 steps) [832bceefa08ef830388c175911fe17e6ef0125b9] Merge tag 'staging-5.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit 832bceefa08ef830388c175911fe17e6ef0125b9 with gcc (GCC) 10.2.1 20210217 kernel signature: 91e0b7e1ab5cb8f59546995e9a81c331e1df0d26d486edea388fbdf3521c7edb all runs: crashed: WARNING in iov_iter_revert # git bisect bad 832bceefa08ef830388c175911fe17e6ef0125b9 Bisecting: 59 revisions left to test after this (roughly 6 steps) [17b6c49da37f5d57d76bf352d32b0ac498e7c133] Merge tag 'x86_urgent_for_v5.11_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 17b6c49da37f5d57d76bf352d32b0ac498e7c133 with gcc (GCC) 10.2.1 20210217 kernel signature: 68fd56ae5f5deff889e26db6452688a6815f9919e7ddc53fb28d03d57dd7824c all runs: OK # git bisect good 17b6c49da37f5d57d76bf352d32b0ac498e7c133 Bisecting: 31 revisions left to test after this (roughly 5 steps) [e68061375f792af245fefbc13e3e078fa92d3539] Merge tag 'irq_urgent_for_v5.11_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit e68061375f792af245fefbc13e3e078fa92d3539 with gcc (GCC) 10.2.1 20210217 kernel signature: 662f2839e076752a4e9cecfc52860e1cade2bf5385299f746ee777cdef12c136 all runs: OK # git bisect good e68061375f792af245fefbc13e3e078fa92d3539 Bisecting: 15 revisions left to test after this (roughly 4 steps) [ef02684c4e67d8c35ac83083564135bc7b1d3445] usb: bdc: Make bdc pci driver depend on BROKEN testing commit ef02684c4e67d8c35ac83083564135bc7b1d3445 with gcc (GCC) 10.2.1 20210217 kernel signature: 455076a626a96d56c3a9370eab19c9a526d9c6913651b926082f7d89a4a65ea6 all runs: OK # git bisect good ef02684c4e67d8c35ac83083564135bc7b1d3445 Bisecting: 7 revisions left to test after this (roughly 3 steps) [b8653aff1c8876142f965fc69e12ba217da13182] iio: sx9310: Fix semtech,avg-pos-strength setting when > 16 testing commit b8653aff1c8876142f965fc69e12ba217da13182 with gcc (GCC) 10.2.1 20210217 kernel signature: 6542cfbffaf06378ba461cad211516733c3946ae9454237d4795aba4be48dbbf all runs: OK # git bisect good b8653aff1c8876142f965fc69e12ba217da13182 Bisecting: 3 revisions left to test after this (roughly 2 steps) [17749851eb9ca2298e7c3b81aae4228961b36f28] tty: fix up hung_up_tty_write() conversion testing commit 17749851eb9ca2298e7c3b81aae4228961b36f28 with gcc (GCC) 10.2.1 20210217 kernel signature: f45da80a447293f3b4552cdd2c686483d24e3942b4d227966891bf48881470eb all runs: crashed: WARNING in iov_iter_revert # git bisect bad 17749851eb9ca2298e7c3b81aae4228961b36f28 Bisecting: 2 revisions left to test after this (roughly 1 step) [54ca955b5a4024e2ce0f206b03adb7109bc4da26] serial: mvebu-uart: fix tx lost characters at power off testing commit 54ca955b5a4024e2ce0f206b03adb7109bc4da26 with gcc (GCC) 10.2.1 20210217 kernel signature: 91be7ad24912678ffc58fd78ee1aedfacd8a4129fd0197e421dfb05284308bed all runs: OK # git bisect good 54ca955b5a4024e2ce0f206b03adb7109bc4da26 Bisecting: 0 revisions left to test after this (roughly 1 step) [494e63ee9c9f322c1051acc537ac5b99688f7e58] Merge 9bb48c82aced ("tty: implement write_iter") into tty-linus testing commit 494e63ee9c9f322c1051acc537ac5b99688f7e58 with gcc (GCC) 10.2.1 20210217 kernel signature: d251c5d06bfe55b3e11148fbbc63594b04e8557960851e0a130a4464dda9c975 all runs: crashed: WARNING in iov_iter_revert # git bisect bad 494e63ee9c9f322c1051acc537ac5b99688f7e58 Bisecting: 0 revisions left to test after this (roughly 0 steps) [9bb48c82aced07698a2d08ee0f1475a6c4f6b266] tty: implement write_iter testing commit 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 with gcc (GCC) 10.2.1 20210217 kernel signature: 326e05790265b3962e8b22a144ee7ff59bee5795a7d183e3e586a0105709997f all runs: crashed: WARNING in iov_iter_revert # git bisect bad 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 is the first bad commit commit 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 Author: Linus Torvalds Date: Tue Jan 19 11:41:16 2021 -0800 tty: implement write_iter This makes the tty layer use the .write_iter() function instead of the traditional .write() functionality. That allows writev(), but more importantly also makes it possible to enable .splice_write() for ttys, reinstating the "splice to tty" functionality that was lost in commit 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops"). Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") Reported-by: Oliver Giles Cc: Christoph Hellwig Cc: Greg Kroah-Hartman Cc: Al Viro Signed-off-by: Linus Torvalds drivers/tty/tty_io.c | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) culprit signature: 326e05790265b3962e8b22a144ee7ff59bee5795a7d183e3e586a0105709997f parent signature: 023084790012a2dae24637c36cb931cab146c3de9ad59118796efbd7f8485088 revisions tested: 17, total time: 3h46m6.878252177s (build: 1h57m12.118050616s, test: 1h47m36.72687057s) first bad commit: 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 tty: implement write_iter recipients (to): ["gregkh@linuxfoundation.org" "jirislaby@kernel.org" "linux-kernel@vger.kernel.org" "torvalds@linux-foundation.org"] recipients (cc): [] crash: WARNING in iov_iter_revert [U]  ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10221 at lib/iov_iter.c:1088 iov_iter_revert lib/iov_iter.c:1129 [inline] WARNING: CPU: 1 PID: 10221 at lib/iov_iter.c:1088 iov_iter_revert+0x207/0x7d0 lib/iov_iter.c:1084 Modules linked in: CPU: 1 PID: 10221 Comm: syz-executor.1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:iov_iter_revert+0x207/0x7d0 lib/iov_iter.c:1088 Code: e8 03 42 0f b6 04 30 84 c0 74 08 3c 03 0f 8e 4c 04 00 00 41 8b 45 08 48 83 c3 01 49 89 5c 24 20 48 39 e8 72 cb e9 73 ff ff ff <0f> 0b e9 79 ff ff ff 49 8d 7c 24 18 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc9000adffc38 EFLAGS: 00010286 RAX: 0000000000000001 RBX: ffff88802f1d3000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffffffffffff RDI: ffffc9000adffd70 RBP: ffffffffffffffff R08: 0000000000000001 R09: ffffffff8ee466ff R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffff888020dd8000 R15: ffffc9000adffd70 FS: 00007ff1b10dd700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffca96ac6e7 CR3: 0000000010fad000 CR4: 0000000000350ef0 Call Trace: do_tty_write drivers/tty/tty_io.c:971 [inline] tty_write+0x46a/0x840 drivers/tty/tty_io.c:1051 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x35d/0x600 fs/read_write.c:518 vfs_write+0x5d5/0x890 fs/read_write.c:605 ksys_write+0xf4/0x1d0 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff1b10dd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffd61f78b7f R14: 00007ff1b10dd300 R15: 0000000000022000