program: sendto$inet(0xffffffffffffffff, &(0x7f00000000c0)="8689d46205a34100ff2bbe11a5ce7879edaf02afe39ead95913e9c4f8cf31440006769ebdf12cfacae8e8c03f5db079da7d9", 0x32, 0x0, 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000240)='./file0\x00', 0x40042, 0x1) pipe2$9p(&(0x7f00000001c0)={0xffffffffffffffff, 0xffffffffffffffff}, 0x0) write$P9_RVERSION(r1, &(0x7f0000000280)=ANY=[@ANYBLOB="1500000065ffff048000000800395032303030"], 0x15) r2 = socket$nl_netfilter(0x10, 0x3, 0xc) sendmsg$NFNL_MSG_ACCT_GET_CTRZERO(r2, &(0x7f00000002c0)={&(0x7f0000000080)={0x10, 0x0, 0x0, 0x1000}, 0xc, &(0x7f0000000180)={&(0x7f0000000440)={0x7c, 0x2, 0x7, 0x201, 0x0, 0x0, {0xa, 0x0, 0x8}, [@NFACCT_FILTER={0x2c, 0x7, 0x0, 0x1, [@NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x80000000}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x5}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x6b}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0xd}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x1}]}, @NFACCT_NAME={0x9, 0x1, 'syz0\x00'}, @NFACCT_PKTS={0xc, 0x2, 0x1, 0x0, 0x4}, @NFACCT_FILTER={0x24, 0x7, 0x0, 0x1, [@NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0xfff}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x4a7c}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x2}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x300}]}]}, 0x7c}, 0x1, 0x0, 0x0, 0x1}, 0x8000) r3 = dup(r1) write$FUSE_BMAP(r3, &(0x7f0000000100)={0x18}, 0x18) write$FUSE_NOTIFY_RETRIEVE(r3, &(0x7f00000000c0)={0x14c}, 0x137) mount$9p_fd(0x0, &(0x7f0000000000)='./file0\x00', &(0x7f0000000040), 0x0, &(0x7f00000003c0)=ANY=[@ANYBLOB='trans=fd,rfdno=', @ANYRESHEX=r0, @ANYBLOB=',wfdno=', @ANYRESHEX=r3, @ANYBLOB=',cache=mmap']) chmod(&(0x7f0000000140)='./file0\x00', 0x0) r4 = creat(&(0x7f0000000300)='./file0\x00', 0x0) pwritev2(r4, &(0x7f0000000200)=[{&(0x7f0000000340)="01", 0x1}], 0x1, 0x8, 0x6, 0x0) write$FUSE_POLL(r4, &(0x7f0000000380)={0x18, 0xfffffffffffffff5, 0x0, {0x1}}, 0x18) sendto$inet(0xffffffffffffffff, &(0x7f00000000c0)="8689d46205a34100ff2bbe11a5ce7879edaf02afe39ead95913e9c4f8cf31440006769ebdf12cfacae8e8c03f5db079da7d9", 0x32, 0x0, 0x0, 0x0) (async) openat(0xffffffffffffff9c, &(0x7f0000000240)='./file0\x00', 0x40042, 0x1) (async) pipe2$9p(&(0x7f00000001c0), 0x0) (async) write$P9_RVERSION(r1, &(0x7f0000000280)=ANY=[@ANYBLOB="1500000065ffff048000000800395032303030"], 0x15) (async) socket$nl_netfilter(0x10, 0x3, 0xc) (async) sendmsg$NFNL_MSG_ACCT_GET_CTRZERO(r2, &(0x7f00000002c0)={&(0x7f0000000080)={0x10, 0x0, 0x0, 0x1000}, 0xc, &(0x7f0000000180)={&(0x7f0000000440)={0x7c, 0x2, 0x7, 0x201, 0x0, 0x0, {0xa, 0x0, 0x8}, [@NFACCT_FILTER={0x2c, 0x7, 0x0, 0x1, [@NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x80000000}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x5}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x6b}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0xd}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x1}]}, @NFACCT_NAME={0x9, 0x1, 'syz0\x00'}, @NFACCT_PKTS={0xc, 0x2, 0x1, 0x0, 0x4}, @NFACCT_FILTER={0x24, 0x7, 0x0, 0x1, [@NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0xfff}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x4a7c}, @NFACCT_FILTER_MASK={0x8, 0x1, 0x1, 0x0, 0x2}, @NFACCT_FILTER_VALUE={0x8, 0x2, 0x1, 0x0, 0x300}]}]}, 0x7c}, 0x1, 0x0, 0x0, 0x1}, 0x8000) (async) dup(r1) (async) write$FUSE_BMAP(r3, &(0x7f0000000100)={0x18}, 0x18) (async) write$FUSE_NOTIFY_RETRIEVE(r3, &(0x7f00000000c0)={0x14c}, 0x137) (async) mount$9p_fd(0x0, &(0x7f0000000000)='./file0\x00', &(0x7f0000000040), 0x0, &(0x7f00000003c0)=ANY=[@ANYBLOB='trans=fd,rfdno=', @ANYRESHEX=r0, @ANYBLOB=',wfdno=', @ANYRESHEX=r3, @ANYBLOB=',cache=mmap']) (async) chmod(&(0x7f0000000140)='./file0\x00', 0x0) (async) creat(&(0x7f0000000300)='./file0\x00', 0x0) (async) pwritev2(r4, &(0x7f0000000200)=[{&(0x7f0000000340)="01", 0x1}], 0x1, 0x8, 0x6, 0x0) (async) write$FUSE_POLL(r4, &(0x7f0000000380)={0x18, 0xfffffffffffffff5, 0x0, {0x1}}, 0x18) (async) [ 75.654738][ T5334] Bluetooth: hci0: command tx timeout [ 75.743541][ T5354] page: refcount:1 mapcount:0 mapping:ffff888043658220 index:0x0 pfn:0x4c9ec [ 75.753072][ T5354] memcg:ffff888030ad0d00 [ 75.756630][ T5354] aops:v9fs_addr_operations ino:2 dentry name(?):"/" [ 75.761317][ T5354] flags: 0x4fff20000000020(lru|node=1|zone=1|lastcpupid=0x7ff) [ 75.764807][ T5354] raw: 04fff20000000020 ffff888030ae09e0 ffff888030ae09e0 ffff888043658220 [ 75.770560][ T5354] raw: 0000000000000000 0000000000000000 00000001ffffffff ffff888030ad0d00 [ 75.774278][ T5354] page dumped because: VM_BUG_ON_FOLIO(!folio_test_locked(folio)) [ 75.779587][ T5354] page_owner tracks the page as allocated [ 75.782752][ T5354] page last allocated via order 0, migratetype Movable, gfp_mask 0x141cca(GFP_HIGHUSER_MOVABLE|__GFP_WRITE|__GFP_COMP), pid 5354, tgid 5353 (syz.0.0), ts 75724924568, free_ts 73738535091 [ 75.794837][ T5354] post_alloc_hook+0x240/0x2a0 [ 75.797525][ T5354] get_page_from_freelist+0x21e4/0x22c0 [ 75.800067][ T5354] __alloc_frozen_pages_noprof+0x181/0x370 [ 75.802668][ T5354] alloc_pages_mpol+0x232/0x4a0 [ 75.804814][ T5354] alloc_pages_noprof+0xa9/0x190 [ 75.808272][ T5354] folio_alloc_noprof+0x1e/0x30 [ 75.810842][ T5354] filemap_alloc_folio_noprof+0xdf/0x470 [ 75.813612][ T5354] __filemap_get_folio+0x3f2/0xaf0 [ 75.816424][ T5354] netfs_perform_write+0x43d/0x1ae0 [ 75.818886][ T5354] netfs_file_write_iter+0x17d/0x4a0 [ 75.821330][ T5354] do_iter_readv_writev+0x619/0x8b0 [ 75.823729][ T5354] vfs_writev+0x31a/0x960 [ 75.826816][ T5354] __se_sys_pwritev2+0x179/0x290 [ 75.829094][ T5354] do_syscall_64+0xfa/0x3b0 [ 75.831030][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.833511][ T5354] page last free pid 5351 tgid 5351 stack trace: [ 75.836741][ T5354] free_unref_folios+0xdbd/0x1520 [ 75.839585][ T5354] folios_put_refs+0x559/0x640 [ 75.842522][ T5354] free_pages_and_swap_cache+0x4be/0x520 [ 75.845955][ T5354] tlb_flush_mmu+0x3a0/0x680 [ 75.847926][ T5354] tlb_finish_mmu+0xc3/0x1d0 [ 75.849901][ T5354] exit_mmap+0x44c/0xb50 [ 75.851810][ T5354] __mmput+0x118/0x430 [ 75.853680][ T5354] exit_mm+0x1da/0x2c0 [ 75.856587][ T5354] do_exit+0x648/0x2300 [ 75.858629][ T5354] do_group_exit+0x21c/0x2d0 [ 75.860825][ T5354] __x64_sys_exit_group+0x3f/0x40 [ 75.863058][ T5354] x64_sys_call+0x21f7/0x2200 [ 75.865124][ T5354] do_syscall_64+0xfa/0x3b0 [ 75.868326][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.871587][ T5354] ------------[ cut here ]------------ [ 75.873912][ T5354] kernel BUG at mm/filemap.c:1498! [ 75.876719][ T5354] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 75.879446][ T5354] CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 75.883166][ T5354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 75.887624][ T5354] RIP: 0010:folio_unlock+0x13d/0x160 [ 75.889806][ T5354] Code: aa c7 ff 48 89 df 48 c7 c6 c0 4f b4 8b e8 8b d9 2f ff 90 0f 0b e8 13 aa c7 ff 48 89 df 48 c7 c6 e0 45 b4 8b e8 74 d9 2f ff 90 <0f> 0b e8 fc a9 c7 ff 48 89 df 48 c7 c6 c0 4f b4 8b e8 5d d9 2f ff [ 75.897768][ T5354] RSP: 0018:ffffc9000d3576e8 EFLAGS: 00010246 [ 75.900289][ T5354] RAX: 341e3350a048e900 RBX: ffffea0001327b00 RCX: 0000000000000000 [ 75.903606][ T5354] RDX: 0000000000000007 RSI: ffffffff8dbbcf26 RDI: 00000000ffffffff [ 75.907016][ T5354] RBP: ffffc9000d357aa8 R08: ffffffff8fc3c637 R09: 1ffffffff1f878c6 [ 75.910471][ T5354] R10: dffffc0000000000 R11: fffffbfff1f878c7 R12: 1ffffd4000264f61 [ 75.913719][ T5354] R13: 04fff20000000020 R14: ffffea0001327b08 R15: dffffc0000000000 [ 75.917052][ T5354] FS: 00007f94dfa536c0(0000) GS:ffff88808d00a000(0000) knlGS:0000000000000000 [ 75.920797][ T5354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.923555][ T5354] CR2: 00007f94dfa10fc8 CR3: 0000000042797000 CR4: 0000000000352ef0 [ 75.926922][ T5354] Call Trace: [ 75.928372][ T5354] [ 75.929721][ T5354] netfs_perform_write+0x14fc/0x1ae0 [ 75.931925][ T5354] ? __lock_acquire+0xab9/0xd20 [ 75.934056][ T5354] ? __pfx_netfs_perform_write+0x10/0x10 [ 75.936471][ T5354] ? file_update_time+0x2da/0x490 [ 75.938570][ T5354] ? netfs_buffered_write_iter_locked+0x126/0x2a0 [ 75.941364][ T5354] ? netfs_file_write_iter+0x167/0x4a0 [ 75.943665][ T5354] netfs_file_write_iter+0x17d/0x4a0 [ 75.946003][ T5354] do_iter_readv_writev+0x619/0x8b0 [ 75.948249][ T5354] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 75.950638][ T5354] ? rcu_read_lock_any_held+0xb3/0x120 [ 75.953028][ T5354] vfs_writev+0x31a/0x960 [ 75.955031][ T5354] ? __lock_acquire+0xab9/0xd20 [ 75.957095][ T5354] ? __pfx_vfs_writev+0x10/0x10 [ 75.959101][ T5354] ? __fget_files+0x2a/0x420 [ 75.961008][ T5354] ? __fget_files+0x3a0/0x420 [ 75.962995][ T5354] ? __fget_files+0x2a/0x420 [ 75.964889][ T5354] __se_sys_pwritev2+0x179/0x290 [ 75.966963][ T5354] ? __pfx___se_sys_pwritev2+0x10/0x10 [ 75.969204][ T5354] ? rcu_is_watching+0x15/0xb0 [ 75.971171][ T5354] ? do_syscall_64+0xbe/0x3b0 [ 75.973144][ T5354] ? __x64_sys_pwritev2+0x20/0xc0 [ 75.975229][ T5354] do_syscall_64+0xfa/0x3b0 [ 75.977087][ T5354] ? lockdep_hardirqs_on+0x9c/0x150 [ 75.979248][ T5354] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.981830][ T5354] ? clear_bhb_loop+0x60/0xb0 [ 75.983814][ T5354] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 75.986331][ T5354] RIP: 0033:0x7f94deb8eba9 [ 75.988206][ T5354] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 75.995844][ T5354] RSP: 002b:00007f94dfa53038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 [ 75.999150][ T5354] RAX: ffffffffffffffda RBX: 00007f94dedd5fa0 RCX: 00007f94deb8eba9 [ 76.002383][ T5354] RDX: 0000000000000001 RSI: 0000200000000200 RDI: 0000000000000008 [ 76.005544][ T5354] RBP: 00007f94dec11e19 R08: 0000000000000006 R09: 0000000000000000 [ 76.008684][ T5354] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 [ 76.011850][ T5354] R13: 00007f94dedd6038 R14: 00007f94dedd5fa0 R15: 00007ffec322b1d8 [ 76.015269][ T5354] [ 76.016676][ T5354] Modules linked in: [ 76.019242][ T5354] ---[ end trace 0000000000000000 ]--- [ 76.026543][ T5354] RIP: 0010:folio_unlock+0x13d/0x160 [ 76.028938][ T5354] Code: aa c7 ff 48 89 df 48 c7 c6 c0 4f b4 8b e8 8b d9 2f ff 90 0f 0b e8 13 aa c7 ff 48 89 df 48 c7 c6 e0 45 b4 8b e8 74 d9 2f ff 90 <0f> 0b e8 fc a9 c7 ff 48 89 df 48 c7 c6 c0 4f b4 8b e8 5d d9 2f ff [ 76.037934][ T5354] RSP: 0018:ffffc9000d3576e8 EFLAGS: 00010246 [ 76.040627][ T5354] RAX: 341e3350a048e900 RBX: ffffea0001327b00 RCX: 0000000000000000 [ 76.043997][ T5354] RDX: 0000000000000007 RSI: ffffffff8dbbcf26 RDI: 00000000ffffffff [ 76.048755][ T5354] RBP: ffffc9000d357aa8 R08: ffffffff8fc3c637 R09: 1ffffffff1f878c6 [ 76.052198][ T5354] R10: dffffc0000000000 R11: fffffbfff1f878c7 R12: 1ffffd4000264f61 [ 76.056174][ T5354] R13: 04fff20000000020 R14: ffffea0001327b08 R15: dffffc0000000000 [ 76.059649][ T5354] FS: 00007f94dfa536c0(0000) GS:ffff88808d00a000(0000) knlGS:0000000000000000 [ 76.063312][ T5354] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 76.066807][ T5354] CR2: 00007f94dfa10fc8 CR3: 0000000042797000 CR4: 0000000000352ef0 [ 76.070904][ T5354] Kernel panic - not syncing: Fatal exception [ 76.073852][ T5354] Kernel Offset: disabled [ 76.075694][ T5354] Rebooting in 86400 seconds..