From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C13F6476061 for ; Fri, 24 Jul 2026 23:35:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784936116; cv=none; b=k5S/v11dswiYvADQ+z/FhYBz1s64SLaMxZid4tdAlnjx5ArAOJ3d8BB0cH6cv/chajbIjeDe3tj/4+O2AbKtoq2nyfIFhyLUoIcUe5fHl/y+5UQybm6t8NH1tj/TZ2oHvGvL8FEu7ITLKtNH56Tm8hm5y9D5PoJmaRFcmoVHNm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784936116; c=relaxed/simple; bh=SvBXCMycwCTvxan72lGHKv7hcR4cpCK7ZTQySsomNkU=; h=MIME-Version:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=hCSfpSUizNmcE5iRN2Mmb/HLuOC2Trlk/kRnl0eUvErhdcSih0UReq3ZoE/PyMm4q7UUD7cdLe1DITIE3oiEjcDVukoQOGT/pZRd54bKC37unxVtvlbp3phWG346W6dRMHREGktxtENpizUJ9M40NXiq/L4IywTOMn3hw3wFu2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.167.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-49d4cb3ca23so1201080b6e.3 for ; Fri, 24 Jul 2026 16:35:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784936113; x=1785540913; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:date:mime-version:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=liQMHm81HLUI1ORU0LVKEMYa0+5YWbRam0YcHg6xTzE=; b=Q2nGF9JfoZsVs6Uj0ysGzeDBhGzfbRjSWFGb5RAHpIgQpY8BlZ112cbmnL0FGigVva yBqgO/0cneDeYjNnqVWmEhNnieasL6VuagB3/LTWVwKVgXR+7LOIxNuOqk1bEwS9jdO3 jm86OpG9QFcNIb4ejBqnAYvDlgfQP14GyPGRhmZGJZrOadJ6f8U/44jVG13R3yupn6RO SJmoqZE2UnqVRYsX+1Hz5OzipRmMe1yyj0l/e2s2wJkslBaJ4FZf9Jglyl1E9gbZYx0X xWVMmEs5ehYZtIPj29JE+efHPh+gl0gAN+Q+r/GJtmlqmNNBzym/VaNXejXluXnA28ra 2dEQ== X-Gm-Message-State: AOJu0YxtLnX6QsiVoF/fGX2Zp0GuajgQDEQPG6YHYGlALEjzNVoP3Rb6 64ycyKpZuup0VUDKpWC/5AdMmL2CkOpIdyRavV182UvYjEYX/6LV8IIN+Q6aJqB3+PehUZgb8uz g30b7+mGg65DTq3aA0tMWwiscS4F3PAGFWMmyhiGU1kZHkUb0s2Hwm9AOlSA= Precedence: bulk X-Mailing-List: syzbot@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6808:180f:b0:497:d0ea:7dad with SMTP id 5614622812f47-4ab6a115787mr602122b6e.22.1784936113473; Fri, 24 Jul 2026 16:35:13 -0700 (PDT) Date: Fri, 24 Jul 2026 16:35:13 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a63f6b1.073198cf.94f0f.0009.GAE@google.com> Subject: [moderation/CI] Re: Use generic_file_read_iter() in hugetlbfs From: syzbot ci To: syzkaller-upstream-moderation@googlegroups.com Cc: syzbot@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable syzbot ci has tested the following series [v4] Use generic_file_read_iter() in hugetlbfs https://lore.kernel.org/all/20260723143034.175661-1-willy@infradead.org * [PATCH v4 01/14] memory-failure: Fix hardware poison check in unpoison_me= mory() again * [PATCH v4 02/14] memory-failure: Test the page is hwpoison before taking = the mutex * [PATCH v4 03/14] mm: Rename folio_contain_hwpoison_page() to folio_has_hw= poison_page() * [PATCH v4 04/14] hugetlb: Mark some function arguments as const * [PATCH v4 05/14] guest_memfd: Use folio_has_hwpoisoned_page() * [PATCH v4 06/14] memory-failure: Remove raw_hwp_list_head() * [PATCH v4 07/14] hugetlb: Use the has_hwpoisoned flag * [PATCH v4 08/14] mm: Remove locking mf_mutex in is_raw_hwpoison_page_in_h= ugepage() * [PATCH v4 09/14] mm: Check individual hugetlb pages for poison * [PATCH v4 10/14] filemap: Add hwpoison handling to filemap_read() * [PATCH v4 11/14] filemap: Remove checks in mapping_set_folio_order_range(= ) * [PATCH v4 12/14] hugetlb: Set mapping folio order * [PATCH v4 13/14] filemap: Add support for authoritative mappings * [PATCH v4 14/14] hugetlb: replace hugetlbfs_read_iter() with generic_file= _read_iter() and found the following issues: * WARNING in bio_add_page * general protection fault in create_empty_buffers Full report is available here: https://ci.syzbot.org/series/4b3a4f52-06f4-4a41-872f-dde0771be8ef *** WARNING in bio_add_page tree: mm-new URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/akpm/mm= .git base: 1590cf0329716306e948a8fc29f1d3ee87d3989f arch: amd64 compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp= 1~20260613092250.77), Debian LLD 22.1.8 config: https://ci.syzbot.org/builds/bb071828-9749-428c-a78c-fc39b0b5caf= 2/config syz repro: https://ci.syzbot.org/findings/38d53450-b153-4f47-8474-be250791e= a91/syz_repro ------------[ cut here ]------------ len =3D=3D 0 WARNING: block/bio.c:1052 at bio_add_page+0x516/0x700 block/bio.c:1052, CPU= #0: udevd/5630 Modules linked in: CPU: 0 UID: 0 PID: 5630 Comm: udevd Not tainted syzkaller #0 PREEMPT(full)= =20 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16= .2-1 04/01/2014 RIP: 0010:bio_add_page+0x516/0x700 block/bio.c:1052 Code: 31 ed 44 89 e8 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc = cc cc e8 86 5e 17 fd 90 0f 0b 90 eb db e8 7b 5e 17 fd 90 <0f> 0b 90 eb d0 e= 8 70 5e 17 fd 90 0f 0b 90 e9 76 fe ff ff e8 62 5e RSP: 0018:ffffc9000487f0f8 EFLAGS: 00010293 RAX: ffffffff84af2445 RBX: 0000000000000000 RCX: ffff8881108d0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff110228761e2 R08: ffff8881143b0f7f R09: 1ffff110228761ef R10: dffffc0000000000 R11: ffffed10228761f0 R12: ffff8881143b0f14 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007faeac7ccc80(0000) GS:ffff88818d945000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000295e815ae000 CR3: 0000000114e0e000 CR4: 00000000000006f0 Call Trace: bio_add_folio+0x64/0x90 block/bio.c:1107 do_mpage_readpage+0xd8c/0x1b40 fs/mpage.c:294 mpage_readahead+0x3e7/0x800 fs/mpage.c:370 read_pages+0x193/0x5a0 mm/readahead.c:174 page_cache_ra_unbounded+0x679/0x8f0 mm/readahead.c:315 do_page_cache_ra mm/readahead.c:348 [inline] force_page_cache_ra+0x26c/0x2e0 mm/readahead.c:378 filemap_get_pages+0x4d9/0x1ef0 mm/filemap.c:2708 filemap_read+0x422/0x1630 mm/filemap.c:2841 blkdev_read_iter+0x2f1/0x420 block/fops.c:830 new_sync_read fs/read_write.c:493 [inline] vfs_read+0x595/0xa80 fs/read_write.c:574 ksys_read+0x150/0x270 fs/read_write.c:716 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faeac316b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 = e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff f= f 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd8d811da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007faeac316b6a RDX: 0000000000000400 RSI: 0000557e6b670e18 RDI: 0000000000000009 RBP: 0000000000000400 R08: 0000557e6b670df0 R09: 0000000000000008 R10: 0000000000000051 R11: 0000000000000246 R12: 0000557e6b670df0 R13: 0000557e6b670e08 R14: 0000557e6b66e128 R15: 0000557e6b66e0d0 *** general protection fault in create_empty_buffers tree: mm-new URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/akpm/mm= .git base: 1590cf0329716306e948a8fc29f1d3ee87d3989f arch: amd64 compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp= 1~20260613092250.77), Debian LLD 22.1.8 config: https://ci.syzbot.org/builds/bb071828-9749-428c-a78c-fc39b0b5caf= 2/config syz repro: https://ci.syzbot.org/findings/2406d176-ea76-40a8-b6bc-41d3e6326= 388/syz_repro Oops: general protection fault, probably for non-canonical address 0xdffffc= 0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 5932 Comm: udevd Not tainted syzkaller #0 PREEMPT(full)= =20 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16= .2-1 04/01/2014 RIP: 0010:create_empty_buffers+0x48/0x520 fs/buffer.c:1672 Code: 00 00 00 00 fc ff df e8 96 dc 69 ff 48 89 df 4c 89 e6 ba 40 8c 40 00 = e8 e6 bc ff ff 49 89 c4 48 89 04 24 4c 89 e0 48 c1 e8 03 <42> 80 3c 30 00 7= 4 08 4c 89 e7 e8 09 bc d7 ff 4d 09 3c 24 49 83 c4 RSP: 0018:ffffc900034bf570 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea0005ceb100 RCX: 0000000000000046 RDX: 0000000000000002 RSI: ffffffff8e4b7f70 RDI: ffff888172cdbb80 RBP: ffffc900034bf6f0 R08: ffffffff825c6656 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8eb5a120 R12: 0000000000000000 R13: 1ffffd4000b9d620 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fd3c0fc7c80(0000) GS:ffff8882a8f45000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005567a5ebae48 CR3: 000000017395c000 CR4: 00000000000006f0 Call Trace: block_read_full_folio+0x116/0x810 fs/buffer.c:2381 filemap_read_folio+0x12c/0x3a0 mm/filemap.c:2512 filemap_update_page mm/filemap.c:2599 [inline] filemap_get_pages+0x1742/0x1ef0 mm/filemap.c:2731 filemap_read+0x422/0x1630 mm/filemap.c:2841 blkdev_read_iter+0x2f1/0x420 block/fops.c:830 new_sync_read fs/read_write.c:493 [inline] vfs_read+0x595/0xa80 fs/read_write.c:574 ksys_read+0x150/0x270 fs/read_write.c:716 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c0b16b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 = e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff f= f 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffcab174708 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd3c0b16b6a RDX: 0000000000000400 RSI: 000055c883b6c638 RDI: 0000000000000009 RBP: 0000000000000400 R08: 000055c883b6c610 R09: 0000000000000008 R10: 0000000000000051 R11: 0000000000000246 R12: 000055c883b6c610 R13: 000055c883b6c628 R14: 000055c883b60b48 R15: 000055c883b60af0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:create_empty_buffers+0x48/0x520 fs/buffer.c:1672 Code: 00 00 00 00 fc ff df e8 96 dc 69 ff 48 89 df 4c 89 e6 ba 40 8c 40 00 = e8 e6 bc ff ff 49 89 c4 48 89 04 24 4c 89 e0 48 c1 e8 03 <42> 80 3c 30 00 7= 4 08 4c 89 e7 e8 09 bc d7 ff 4d 09 3c 24 49 83 c4 RSP: 0018:ffffc900034bf570 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea0005ceb100 RCX: 0000000000000046 RDX: 0000000000000002 RSI: ffffffff8e4b7f70 RDI: ffff888172cdbb80 RBP: ffffc900034bf6f0 R08: ffffffff825c6656 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8eb5a120 R12: 0000000000000000 R13: 1ffffd4000b9d620 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fd3c0fc7c80(0000) GS:ffff8882a8f45000(0000) knlGS:000000000000000= 0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30763fff CR3: 000000017395c000 CR4: 00000000000006f0 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df e8 fucomip %st(0),%st 2: 96 xchg %eax,%esi 3: dc 69 ff fsubrl -0x1(%rcx) 6: 48 89 df mov %rbx,%rdi 9: 4c 89 e6 mov %r12,%rsi c: ba 40 8c 40 00 mov $0x408c40,%edx 11: e8 e6 bc ff ff call 0xffffbcfc 16: 49 89 c4 mov %rax,%r12 19: 48 89 04 24 mov %rax,(%rsp) 1d: 4c 89 e0 mov %r12,%rax 20: 48 c1 e8 03 shr $0x3,%rax * 24: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruct= ion 29: 74 08 je 0x33 2b: 4c 89 e7 mov %r12,%rdi 2e: e8 09 bc d7 ff call 0xffd7bc3c 33: 4d 09 3c 24 or %r15,(%r12) 37: 49 rex.WB 38: 83 .byte 0x83 39: c4 .byte 0xc4 *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com. To test a patch for this bug, please reply with `#syz test` (should be on a separate line). The patch should be attached to the email. Note: arguments like custom git repos and branches are not supported. The email will later be sent to: [akpm@linux-foundation.org christian@brauner.io david@kernel.org jack@suse.= cz jane.chu@oracle.com jiaqiyan@google.com linmiaohe@huawei.com linux-fsdev= el@vger.kernel.org linux-mm@kvack.org muchun.song@linux.dev nao.horiguchi@g= mail.com naoya.horiguchi@nec.com osalvador@suse.de stable@vger.kernel.org u= sama.arif@linux.dev willy@infradead.org] If the report looks fine to you, reply with: #syz upstream If the report is a false positive, reply with #syz invalid