bisecting cause commit starting from 64b4fc45bea6f4faa843d2f97ff51665280efee1 building syzkaller on be2c130d4c0c511da96ce278486cf0564aeadcea testing commit 64b4fc45bea6f4faa843d2f97ff51665280efee1 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: da8fea04f89b53beb627ff75fe19776c49da95b9e05b4a0a05d83e2d722b8ae9 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 909f5b513362d755e99068620c19525cb2afd91ca8725228219fd46574a48866 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: bb4e26dd8f4a005b0fd76547575ef29621d4d502b5251ddaf0a5696974104629 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3222e6ed80513dd888ba5df1ed0bb0fed90b38311471a07f8ebfef14f678fd42 run #0: crashed: INFO: task hung in __sync_dirty_buffer run #1: crashed: INFO: task hung in __sync_dirty_buffer run #2: crashed: INFO: task hung in write_dirty_buffer run #3: crashed: INFO: task hung in __sync_dirty_buffer run #4: crashed: INFO: task hung in __sync_dirty_buffer run #5: crashed: INFO: task hung in __sync_dirty_buffer run #6: crashed: INFO: task hung in __sync_dirty_buffer run #7: crashed: INFO: task hung in __sync_dirty_buffer run #8: crashed: INFO: task hung in __sync_dirty_buffer run #9: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 35c88fb67e0626f0232c5254d6e9f188ff33bdc5ecf75a2e20b39b0354577e82 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4753fc6113ccf19b73886623e431f1d42203e5df7900561c23ce4babeaf8f756 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 64bef9c619e4f9660afe7c971d6b25d7fe2654ae1e3be1137534ef774e1b1619 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: 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 #7: 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 #8: crashed: INFO: task hung in __sync_dirty_buffer run #9: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f76fe31c01316385978519b5b4e89add706a0c3d5fe63afc28097ce825bd70af run #0: crashed: INFO: task hung in __sync_dirty_buffer run #1: crashed: INFO: task hung in __sync_dirty_buffer run #2: crashed: INFO: task hung in __sync_dirty_buffer run #3: crashed: INFO: task hung in __sync_dirty_buffer run #4: crashed: INFO: task hung in __sync_dirty_buffer run #5: crashed: INFO: task hung in __sync_dirty_buffer run #6: crashed: INFO: task hung in __sync_dirty_buffer run #7: crashed: INFO: task hung in __sync_dirty_buffer run #8: crashed: INFO: task hung in __sync_dirty_buffer run #9: boot failed: can't ssh into the instance testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: ce1c40f29ea7dac1ab1efcb8a4c28e91d707e6db2dd3c7ba2f4d3ff05339b929 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 52e3d19b3dd1254ec0fc70d5e850d8b373790b6a1ce2b4832bb7a2a2d3945561 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: aaf25273084462a2ad615141adb1da70de0e843313526173854dc50400e6d06c all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 6a118b86ece6a00ec309dfe958551a7e37b62c5a38c74bfffbdf71d5ff2118cf run #0: crashed: INFO: task hung in __sync_dirty_buffer run #1: crashed: INFO: task hung in __sync_dirty_buffer run #2: crashed: INFO: task hung in __sync_dirty_buffer run #3: crashed: INFO: task hung in write_dirty_buffer run #4: crashed: INFO: task hung in __sync_dirty_buffer run #5: crashed: INFO: task hung in __sync_dirty_buffer run #6: crashed: INFO: task hung in __sync_dirty_buffer run #7: crashed: INFO: task hung in __sync_dirty_buffer run #8: crashed: INFO: task hung in __sync_dirty_buffer run #9: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: dc0a4e06aabc5a71b7bb3c51a117c73e328564b4a4f21cfd43ea9747d8ce137d all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 6f28a54ae9631f7a38ae82812fc557e8efc8855fdd74a27360b3ac8c36083bee all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: cc4af3f53694d3fa6e61b52de0e00edfb6449f3b5e2c0a6ea7e7eb72c3e13ece all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 472b496494a5a54cd8bfbaba0b186103199e3f1fefd87c81d9aeefc3405df33d all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 67009201482f96a9038299dac7b0e00e5ad00081b0fe773f00c79fedae4cbe20 all runs: crashed: INFO: task hung in __sync_dirty_buffer testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: c407e745440a1c03035e1dbde6d0dbf7416e268c4816a2f2b70418f5539ef8be 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: 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 #7: 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 #8: 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 #9: crashed: INFO: task hung in __sync_dirty_buffer testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 failed to run ["make" "-j" "64" "ARCH=x86_64" "CC=/syzkaller/shared/bisect_bin/gcc-8.1.0/bin/gcc" "bzImage"]: exit status 2 testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda orc_dump.c:106:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:111:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] elf.c:135:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:140:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.15 testing commit d8a5b80568a9cb66810e75b182018e9edb68e8ff orc_dump.c:106:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:111:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] elf.c:135:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:140:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:36:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.14 testing commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 orc_dump.c:105:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:110:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:139:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:36:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.13 testing commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:144:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:149:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.12 testing commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:141:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:146:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.11 testing commit a351e9b9fc24e982ec2f0e76379a49826036da12 elf.c:141:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:146:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.10 testing commit c470abd4fde40ea6a0846a2beab642a578c0b8cd tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.9 testing commit 69973b830859bc6529a7a0468ba0d80ee5117826 tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.8 testing commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.7 testing commit 523d939ef98fd712632d93a5a2b588e477a7565e tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:122:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:127:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.6 testing commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] revisions tested: 18, total time: 3h42m29.990045733s (build: 1h51m36.494967815s, test: 1h45m53.454202727s) the crash already happened on the oldest tested release commit msg: Linux 4.18 crash: INFO: task hung in __sync_dirty_buffer Bluetooth: hci5: command 0x0406 tx timeout NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 INFO: task syz-executor.3:10002 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26160 10002 8556 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x152/0x1a0 fs/buffer.c:3164 sync_dirty_buffer+0xe/0x10 fs/buffer.c:3181 __ext4_handle_dirty_metadata+0x17a/0x520 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x4d6/0xbe0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x299/0x3c0 fs/ext4/inline.c:2021 ext4_fallocate+0xdd/0x18f0 fs/ext4/extents.c:4929 vfs_fallocate+0x2ba/0x770 fs/open.c:319 ksys_fallocate+0x3c/0x80 fs/open.c:342 __do_sys_fallocate fs/open.c:350 [inline] __se_sys_fallocate fs/open.c:348 [inline] __x64_sys_fallocate+0x92/0xf0 fs/open.c:348 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f083bd6a188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000100000001 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff54e332bf R14: 00007f083bd6a300 R15: 0000000000022000 INFO: task syz-executor.3:10129 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26560 10129 8556 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] write_dirty_buffer+0x94/0xa0 fs/buffer.c:3143 fsync_buffers_list fs/buffer.c:703 [inline] sync_mapping_buffers+0x2a9/0x830 fs/buffer.c:521 __generic_file_fsync+0xb4/0x1a0 fs/libfs.c:982 ext4_sync_file+0x412/0xef0 fs/ext4/fsync.c:120 vfs_fsync_range+0xee/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2709 [inline] ext4_file_write_iter+0x7f6/0xfe0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x446/0x880 fs/read_write.c:487 vfs_write+0x150/0x4f0 fs/read_write.c:549 ksys_write+0xcd/0x1b0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:607 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f083bd49188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000082 RSI: 00000000200004c0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fff54e332bf R14: 00007f083bd49300 R15: 0000000000022000 INFO: task syz-executor.0:10035 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26680 10035 8564 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x152/0x1a0 fs/buffer.c:3164 sync_dirty_buffer+0xe/0x10 fs/buffer.c:3181 __ext4_handle_dirty_metadata+0x17a/0x520 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x4d6/0xbe0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x299/0x3c0 fs/ext4/inline.c:2021 ext4_fallocate+0xdd/0x18f0 fs/ext4/extents.c:4929 vfs_fallocate+0x2ba/0x770 fs/open.c:319 ksys_fallocate+0x3c/0x80 fs/open.c:342 __do_sys_fallocate fs/open.c:350 [inline] __se_sys_fallocate fs/open.c:348 [inline] __x64_sys_fallocate+0x92/0xf0 fs/open.c:348 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f4246bec188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000100000001 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcb74a2b3f R14: 00007f4246bec300 R15: 0000000000022000 INFO: task syz-executor.0:10133 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26696 10133 8564 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] write_dirty_buffer+0x94/0xa0 fs/buffer.c:3143 fsync_buffers_list fs/buffer.c:703 [inline] sync_mapping_buffers+0x2a9/0x830 fs/buffer.c:521 __generic_file_fsync+0xb4/0x1a0 fs/libfs.c:982 ext4_sync_file+0x412/0xef0 fs/ext4/fsync.c:120 vfs_fsync_range+0xee/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2709 [inline] ext4_file_write_iter+0x7f6/0xfe0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x446/0x880 fs/read_write.c:487 vfs_write+0x150/0x4f0 fs/read_write.c:549 ksys_write+0xcd/0x1b0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:607 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f4246bcb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000082 RSI: 00000000200004c0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffcb74a2b3f R14: 00007f4246bcb300 R15: 0000000000022000 INFO: task syz-executor.2:10047 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26680 10047 8562 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x152/0x1a0 fs/buffer.c:3164 sync_dirty_buffer+0xe/0x10 fs/buffer.c:3181 __ext4_handle_dirty_metadata+0x17a/0x520 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x4d6/0xbe0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x299/0x3c0 fs/ext4/inline.c:2021 ext4_fallocate+0xdd/0x18f0 fs/ext4/extents.c:4929 vfs_fallocate+0x2ba/0x770 fs/open.c:319 ksys_fallocate+0x3c/0x80 fs/open.c:342 __do_sys_fallocate fs/open.c:350 [inline] __se_sys_fallocate fs/open.c:348 [inline] __x64_sys_fallocate+0x92/0xf0 fs/open.c:348 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f94fbad5188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000100000001 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffc712103f R14: 00007f94fbad5300 R15: 0000000000022000 INFO: task syz-executor.2:10073 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26696 10073 8562 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] write_dirty_buffer+0x94/0xa0 fs/buffer.c:3143 fsync_buffers_list fs/buffer.c:703 [inline] sync_mapping_buffers+0x2a9/0x830 fs/buffer.c:521 __generic_file_fsync+0xb4/0x1a0 fs/libfs.c:982 ext4_sync_file+0x412/0xef0 fs/ext4/fsync.c:120 vfs_fsync_range+0xee/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2709 [inline] ext4_file_write_iter+0x7f6/0xfe0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x446/0x880 fs/read_write.c:487 vfs_write+0x150/0x4f0 fs/read_write.c:549 ksys_write+0xcd/0x1b0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:607 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f94fbab4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000082 RSI: 00000000200004c0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fffc712103f R14: 00007f94fbab4300 R15: 0000000000022000 INFO: task syz-executor.2:10137 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28696 10137 8562 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:566 [inline] rwsem_down_write_failed+0x3ab/0x750 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:715 [inline] process_measurement+0x321/0x14b0 security/integrity/ima/ima_main.c:205 ima_file_check+0xcf/0x120 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3406 [inline] path_openat+0xb23/0x2290 fs/namei.c:3540 do_filp_open+0x177/0x250 fs/namei.c:3574 do_sys_open+0x1dc/0x360 fs/open.c:1101 ksys_open include/linux/syscalls.h:1275 [inline] __do_sys_creat fs/open.c:1159 [inline] __se_sys_creat fs/open.c:1157 [inline] __x64_sys_creat+0x5c/0x80 fs/open.c:1157 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f94fba93188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000240 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007fffc712103f R14: 00007f94fba93300 R15: 0000000000022000 INFO: task syz-executor.1:10097 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26680 10097 8565 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x152/0x1a0 fs/buffer.c:3164 sync_dirty_buffer+0xe/0x10 fs/buffer.c:3181 __ext4_handle_dirty_metadata+0x17a/0x520 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x4d6/0xbe0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x299/0x3c0 fs/ext4/inline.c:2021 ext4_fallocate+0xdd/0x18f0 fs/ext4/extents.c:4929 vfs_fallocate+0x2ba/0x770 fs/open.c:319 ksys_fallocate+0x3c/0x80 fs/open.c:342 __do_sys_fallocate fs/open.c:350 [inline] __se_sys_fallocate fs/open.c:348 [inline] __x64_sys_fallocate+0x92/0xf0 fs/open.c:348 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f8f6a1eb188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000100000001 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc5285ea3f R14: 00007f8f6a1eb300 R15: 0000000000022000 INFO: task syz-executor.1:10141 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26192 10141 8565 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] write_dirty_buffer+0x94/0xa0 fs/buffer.c:3143 fsync_buffers_list fs/buffer.c:703 [inline] sync_mapping_buffers+0x2a9/0x830 fs/buffer.c:521 __generic_file_fsync+0xb4/0x1a0 fs/libfs.c:982 ext4_sync_file+0x412/0xef0 fs/ext4/fsync.c:120 vfs_fsync_range+0xee/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2709 [inline] ext4_file_write_iter+0x7f6/0xfe0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1793 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x446/0x880 fs/read_write.c:487 vfs_write+0x150/0x4f0 fs/read_write.c:549 ksys_write+0xcd/0x1b0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:607 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f8f6a1ca188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000082 RSI: 00000000200004c0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc5285ea3f R14: 00007f8f6a1ca300 R15: 0000000000022000 INFO: task syz-executor.5:10116 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26680 10116 8559 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 io_schedule+0x1c/0x70 kernel/sched/core.c:5168 bit_wait_io+0xf/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xcb/0x1c0 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xde/0x110 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x3c/0x40 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x152/0x1a0 fs/buffer.c:3164 sync_dirty_buffer+0xe/0x10 fs/buffer.c:3181 __ext4_handle_dirty_metadata+0x17a/0x520 fs/ext4/ext4_jbd2.c:300 ext4_convert_inline_data_nolock+0x4d6/0xbe0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x299/0x3c0 fs/ext4/inline.c:2021 ext4_fallocate+0xdd/0x18f0 fs/ext4/extents.c:4929 vfs_fallocate+0x2ba/0x770 fs/open.c:319 ksys_fallocate+0x3c/0x80 fs/open.c:342 __do_sys_fallocate fs/open.c:350 [inline] __se_sys_fallocate fs/open.c:348 [inline] __x64_sys_fallocate+0x92/0xf0 fs/open.c:348 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f49f41de188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000100000001 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000002811fdff R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffda2faebbf R14: 00007f49f41de300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1433: #0: 0000000026a0609c (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4461 2 locks held by syz-executor.3/10002: #0: 000000003ff44c1d (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 000000003ff44c1d (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 00000000682b47ab (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 00000000682b47ab (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.3/10129: #0: 00000000b2663311 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 000000003ff44c1d (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 000000003ff44c1d (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 00000000d9aaebf4 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 00000000d9aaebf4 (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 2 locks held by syz-executor.0/10035: #0: 00000000b6090126 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 00000000b6090126 (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 00000000bdfafc84 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 00000000bdfafc84 (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.0/10133: #0: 00000000f71bd637 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 00000000b6090126 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 00000000b6090126 (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 00000000af3840e0 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 00000000af3840e0 (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 2 locks held by syz-executor.2/10047: #0: 00000000483eb7ef (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 00000000483eb7ef (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 00000000626bf840 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 00000000626bf840 (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.2/10073: #0: 000000002a31cfcb (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 00000000483eb7ef (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 00000000483eb7ef (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 000000004278b506 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 000000004278b506 (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 2 locks held by syz-executor.2/10137: #0: 00000000483eb7ef (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1554 [inline] #0: 00000000483eb7ef (sb_writers#3){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:386 #1: 000000004278b506 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #1: 000000004278b506 (&sb->s_type->i_mutex_key#11){+.+.}, at: process_measurement+0x321/0x14b0 security/integrity/ima/ima_main.c:205 2 locks held by syz-executor.1/10097: #0: 000000004bdf7ec0 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 000000004bdf7ec0 (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 0000000025f288ac (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 0000000025f288ac (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.1/10141: #0: 00000000f6bce386 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 000000004bdf7ec0 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 000000004bdf7ec0 (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 000000003090a7ca (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 000000003090a7ca (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 2 locks held by syz-executor.5/10116: #0: 00000000c6163a12 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 00000000c6163a12 (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 00000000cd51585b (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 00000000cd51585b (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.5/10145: #0: 000000007615124b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 00000000c6163a12 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 00000000c6163a12 (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 000000007b49c489 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 000000007b49c489 (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 2 locks held by syz-executor.4/10118: #0: 000000001a2f38e4 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #0: 000000001a2f38e4 (sb_writers#3){.+.+}, at: vfs_fallocate+0x42c/0x770 fs/open.c:318 #1: 00000000f3b857b5 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #1: 00000000f3b857b5 (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x1dc/0x3c0 fs/ext4/inline.c:2019 3 locks held by syz-executor.4/10146: #0: 00000000ba301975 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:766 #1: 000000001a2f38e4 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2738 [inline] #1: 000000001a2f38e4 (sb_writers#3){.+.+}, at: vfs_write+0x37c/0x4f0 fs/read_write.c:548 #2: 0000000005b1e4e3 (&sb->s_type->i_mutex_key#11){+.+.}, at: inode_lock include/linux/fs.h:715 [inline] #2: 0000000005b1e4e3 (&sb->s_type->i_mutex_key#11){+.+.}, at: __generic_file_fsync+0x8a/0x1a0 fs/libfs.c:981 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1433 Comm: khungtaskd Not tainted 4.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.0+0x13/0xb6 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0xf6/0x11a lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x512/0x940 kernel/hung_task.c:252 kthread+0x316/0x3d0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54