Hi Matthew, Thanks for the quick response. On Fri, 2024-08-09 at 17:03 +0100, Matthew Wilcox wrote: > Do you have CONFIG_DEBUG_VM enabled? There are some debugging asserts > which that will enable that might indicate a problem. With CONFIG_DEBUG_VM enabled, I get: page: refcount:2 mapcount:0 mapping:00000000b2c30835 index:0x0 pfn:0x12a113 memcg:ffff9d8e3a660800 aops:0xffffffff8a056820 ino:21 dentry name:"bash" flags: 0x24000000000022d(locked|referenced|uptodate|lru|workingset|node=0|zone=2) raw: 024000000000022d ffffd9ce04a827c8 ffffd9ce04a84508 ffff9d8e0bbc99f0 raw: 0000000000000000 0000000000000000 00000002ffffffff ffff9d8e3a660800 page dumped because: VM_BUG_ON_FOLIO(folio_test_uptodate(folio)) ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1534! Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 0 UID: 1000 PID: 1638 Comm: buildbox-fuse Not tainted 6.11.0-rc2+ #26 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 RIP: 0010:folio_end_read+0xa2/0xb0 Code: 37 8a e8 21 1b 05 00 0f 0b 48 c7 c6 48 7f 39 8a e8 13 1b 05 00 0f 0b 31 f6 e9 7a f9 ff ff 48 c7 c6 a8 7f 39 8a e8 fe 1a 05 00 <0f> 0b 90 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 RSP: 0018:ffffaa0ec289fc68 EFLAGS: 00010246 RAX: 0000000000000040 RBX: ffffd9ce04a844c0 RCX: 0000000000000027 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff9d8f77c1c8c0 RBP: ffff9d8e07298a38 R08: 00000000ffffefff R09: ffffffff8a6b0d68 R10: 0000000000000003 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000001 R14: ffff9d8e305ba098 R15: 0000000000000000 FS: 00007f83d62b4140(0000) GS:ffff9d8f77c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564ef5598078 CR3: 00000001013be000 CR4: 0000000000350ef0 Call Trace: <TASK> ? __die+0x56/0x97 ? die+0x2e/0x50 ? do_trap+0x10a/0x110 ? do_error_trap+0x65/0x80 ? folio_end_read+0xa2/0xb0 ? exc_invalid_op+0x50/0x70 ? folio_end_read+0xa2/0xb0 ? asm_exc_invalid_op+0x1a/0x20 ? folio_end_read+0xa2/0xb0 ? folio_end_read+0xa2/0xb0 fuse_readpages_end+0xc3/0x150 fuse_request_end+0x84/0x170 fuse_dev_do_write+0x24d/0x1050 ? __kmalloc_node_noprof+0x25e/0x480 ? fuse_dev_splice_write+0x9d/0x390 fuse_dev_splice_write+0x2b0/0x390 do_splice+0x311/0x8b0 __do_splice+0x204/0x220 __x64_sys_splice+0xb2/0x120 do_syscall_64+0x54/0x140 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f83d5f29a03 Code: 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 80 3d 29 48 0d 00 00 49 89 ca 74 14 b8 13 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 c3 0f 1f 40 00 55 48 83 ec 30 44 89 4c 24 RSP: 002b:00007fff2c0b8ce8 EFLAGS: 00000202 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007fff2c0b8eb0 RCX: 00007f83d5f29a03 RDX: 0000000000000105 RSI: 0000000000000000 RDI: 0000000000000106 RBP: 0000564ef555a4f0 R08: 0000000000004010 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff2c0b8e20 R13: 0000000000000001 R14: 00000000000000fb R15: 0000000000000000 </TASK> Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_end_read+0xa2/0xb0 Code: 37 8a e8 21 1b 05 00 0f 0b 48 c7 c6 48 7f 39 8a e8 13 1b 05 00 0f 0b 31 f6 e9 7a f9 ff ff 48 c7 c6 a8 7f 39 8a e8 fe 1a 05 00 <0f> 0b 90 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 RSP: 0018:ffffaa0ec289fc68 EFLAGS: 00010246 RAX: 0000000000000040 RBX: ffffd9ce04a844c0 RCX: 0000000000000027 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff9d8f77c1c8c0 RBP: ffff9d8e07298a38 R08: 00000000ffffefff R09: ffffffff8a6b0d68 R10: 0000000000000003 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000001 R14: ffff9d8e305ba098 R15: 0000000000000000 FS: 00007f83d62b4140(0000) GS:ffff9d8f77c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564ef5598078 CR3: 00000001013be000 CR4: 0000000000350ef0 Kernel panic - not syncing: Fatal exception Kernel Offset: 0x8000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Cheers, Jürg