ci starts bisection 2023-11-29 12:20:13.824113295 +0000 UTC m=+99.711536291 bisecting cause commit starting from df60cee26a2e3d937a319229e335cb3f9c1f16d2 building syzkaller on 1adfb6f64797865884a90b9462fa1b41a9fbd003 ensuring issue is reproducible on original commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: df16c0d7209068fc31d117cf88f486b3c905b5a9188ad889f2e8c0cf1b9640ba all runs: crashed: general protection fault in pagemap_scan_hugetlb_entry representative crash: general protection fault in pagemap_scan_hugetlb_entry, types: [UNKNOWN] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b025c67d2b0864cb5cecc0b6e4cafb72a730760476f9214e9cf93d6c073c368d all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry, types: [UNKNOWN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3923 full=7658 leaves diff=2007 split chunks (needed=false): <2007> split chunk #0 of len 2007 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 60401f22c1036da107611eb7d2564d78e1210cd1b4e28fcf897182543526775e all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9692dde7346e96e3d5560af5ca5fc59b8877c800184aec3612131d63d00f5db all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a012bf1c3a58bad5cfa6511e57b34c25166d17da4431bf27c7e4487535172a75 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG KASAN LOCKDEP], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9aca8f99eccd9e1b97cfbaa755202b799abc20956598f2b316fbd565557aa691 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry representative crash: BUG: unable to handle kernel NULL pointer dereference in pagemap_scan_hugetlb_entry, types: [UNKNOWN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit df60cee26a2e3d937a319229e335cb3f9c1f16d2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 586ec1a06f03b164ba566f554fd711771e6074c62d1f0e6204ba23f3eaff2557 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] the chunk can be dropped disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed picked [v6.6 v6.5 v6.4 v6.2 v6.0 v5.18 v5.16 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 29 release tags testing release v6.6 testing commit ffc253263a1375a65fa6c9f62a893e9767fbebfa gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8e5aef17b3a84233a53e1475c5ce62d38f829f3f34761c0619722f10433ee600 all runs: OK false negative chance: 0.000 # git bisect start df60cee26a2e3d937a319229e335cb3f9c1f16d2 ffc253263a1375a65fa6c9f62a893e9767fbebfa Bisecting: 8208 revisions left to test after this (roughly 13 steps) [7d461b291e65938f15f56fe58da2303b07578a76] Merge tag 'drm-next-2023-10-31-1' of git://anongit.freedesktop.org/drm/drm testing commit 7d461b291e65938f15f56fe58da2303b07578a76 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35752a36ae5a759d82607af9fbcf86c125c7a9dbf9c02715ae2fc42549e827fa all runs: OK false negative chance: 0.000 # git bisect good 7d461b291e65938f15f56fe58da2303b07578a76 Bisecting: 4142 revisions left to test after this (roughly 12 steps) [6bdfe2d88b9ff8b0cce32ce87cd47c0e9d665f48] Merge tag 'apparmor-pr-2023-11-03' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor testing commit 6bdfe2d88b9ff8b0cce32ce87cd47c0e9d665f48 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 047ad86cb82b7ec003f1a542f9d8455802f2c2c27baaca7d5ef845070946a863 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad 6bdfe2d88b9ff8b0cce32ce87cd47c0e9d665f48 Bisecting: 2152 revisions left to test after this (roughly 11 steps) [4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3] Merge tag 'for-linus-2023110101' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit 4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 94b0b154c16fd1271a0ca9bf7a2fba15de8c5343ba288653d3301ffff176ee1c all runs: OK false negative chance: 0.000 # git bisect good 4ea4ed22b57846facd9cb4af5f67cb7bd2792cf3 Bisecting: 1070 revisions left to test after this (roughly 10 steps) [6803bd7956ca8fc43069c2e42016f17f3c2fbf30] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit 6803bd7956ca8fc43069c2e42016f17f3c2fbf30 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b37c69ec489161f30062653b459122dfc45e8a51edc60c374c31585eb06db5e2 all runs: OK false negative chance: 0.000 # git bisect good 6803bd7956ca8fc43069c2e42016f17f3c2fbf30 Bisecting: 663 revisions left to test after this (roughly 9 steps) [9732336006764e2ee61225387e3c70eae9139035] mm/damon/sysfs: update monitoring target regions for online input commit testing commit 9732336006764e2ee61225387e3c70eae9139035 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 50b6111e090bd54f4373f49a57250321287331ddf192c9ed7497cf11a57ba30d all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad 9732336006764e2ee61225387e3c70eae9139035 Bisecting: 203 revisions left to test after this (roughly 8 steps) [b58aa0f4fee61040bdb7557bf66822e929342ac5] tools headers UAPI: update linux/fs.h with the kernel sources testing commit b58aa0f4fee61040bdb7557bf66822e929342ac5 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 51d68a994db6a8ed71f84372a5433e3b4c2f12ac6ef9211c5749a0b4fb2576eb all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad b58aa0f4fee61040bdb7557bf66822e929342ac5 Bisecting: 101 revisions left to test after this (roughly 7 steps) [c66db8c0702c0ab741ecfd5e12b323ff49fe9089] mm/rmap: move SetPageAnonExclusive out of __page_set_anon_rmap() testing commit c66db8c0702c0ab741ecfd5e12b323ff49fe9089 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b98e4fb42a6de7abd315b0bbb88d93e817a84eac1c972447f8733ffde37683c all runs: OK false negative chance: 0.000 # git bisect good c66db8c0702c0ab741ecfd5e12b323ff49fe9089 Bisecting: 50 revisions left to test after this (roughly 6 steps) [a2a9f68e358fa9627aa72e7182ad0b82846bda9e] mm/damon/sysfs-schemes: support DAMOS apply interval testing commit a2a9f68e358fa9627aa72e7182ad0b82846bda9e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 62936835b5b6384900a62dd7188b250cdb9b31634f351d26c18947cc992f1e50 all runs: OK false negative chance: 0.000 # git bisect good a2a9f68e358fa9627aa72e7182ad0b82846bda9e Bisecting: 25 revisions left to test after this (roughly 5 steps) [6695cf68b15c215d33b8add64c33e01e3cbe236c] mm: memory: use a folio in do_numa_page() testing commit 6695cf68b15c215d33b8add64c33e01e3cbe236c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b05c008a056a1eedae35211368717a2f4aafd1e8eea8dbf383be6d7ab1b3563d all runs: OK false negative chance: 0.000 # git bisect good 6695cf68b15c215d33b8add64c33e01e3cbe236c Bisecting: 12 revisions left to test after this (roughly 4 steps) [5e924ff54d088828794d9f1a4d5bf17808f7270e] mm/ksm: add "smart" page scanning mode testing commit 5e924ff54d088828794d9f1a4d5bf17808f7270e gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 39c93516562265f12dbbd753169022002951af59016140bb6aeaa582522165a2 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad 5e924ff54d088828794d9f1a4d5bf17808f7270e Bisecting: 6 revisions left to test after this (roughly 3 steps) [0374af1da077573b2bea8ff70258d3537c5a1e79] mm/ksm: test case for prctl fork/exec workflow testing commit 0374af1da077573b2bea8ff70258d3537c5a1e79 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e1c5a08da47558743842ed851b51a0fede65a799d951bed5b36405985ba2e7a8 all runs: OK false negative chance: 0.000 # git bisect good 0374af1da077573b2bea8ff70258d3537c5a1e79 Bisecting: 3 revisions left to test after this (roughly 2 steps) [07a8bdd4120ced3490ef9adf51b8086af0aaa8e7] memory tiering: add abstract distance calculation algorithms management testing commit 07a8bdd4120ced3490ef9adf51b8086af0aaa8e7 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3bdac838fca70490e861cced0bb2019c524c8fe628449a8abb2ace932af56cbe all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad 07a8bdd4120ced3490ef9adf51b8086af0aaa8e7 Bisecting: 0 revisions left to test after this (roughly 1 step) [a48bf7b4757cd8de3497c2878536f46a8d2da65c] mm/hugetlb: replace page_ref_freeze() with folio_ref_freeze() in hugetlb_folio_init_vmemmap() testing commit a48bf7b4757cd8de3497c2878536f46a8d2da65c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 12e86759c2cc4bacc9b2f50e338349bbffbb6fa43c8494691ad99833fba4ca15 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad a48bf7b4757cd8de3497c2878536f46a8d2da65c Bisecting: 0 revisions left to test after this (roughly 0 steps) [a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3] mm/filemap: remove hugetlb special casing in filemap.c testing commit a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 76f33b24f620cce4a81a725a6eebfabf7639ad9d450b9bae6ece7113409cdd7b all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect bad a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 is the first bad commit commit a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 Author: Sidhartha Kumar Date: Tue Sep 26 12:20:17 2023 -0700 mm/filemap: remove hugetlb special casing in filemap.c Remove special cased hugetlb handling code within the page cache by changing the granularity of ->index to the base page size rather than the huge page size. The motivation of this patch is to reduce complexity within the filemap code while also increasing performance by removing branches that are evaluated on every page cache lookup. To support the change in index, new wrappers for hugetlb page cache interactions are added. These wrappers perform the conversion to a linear index which is now expected by the page cache for huge pages. ========================= PERFORMANCE ====================================== Perf was used to check the performance differences after the patch. Overall the performance is similar to mainline with a very small larger overhead that occurs in __filemap_add_folio() and hugetlb_add_to_page_cache(). This is because of the larger overhead that occurs in xa_load() and xa_store() as the xarray is now using more entries to store hugetlb folios in the page cache. Timing aarch64 2MB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-1 hugepages]# time fallocate -l 700GB test.txt real 1m49.568s user 0m0.000s sys 1m49.461s 6.5-rc3: [root]# time fallocate -l 700GB test.txt real 1m47.495s user 0m0.000s sys 1m47.370s 1GB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-1 hugepages1G]# time fallocate -l 700GB test.txt real 1m47.024s user 0m0.000s sys 1m46.921s 6.5-rc3: [root@sidhakum-ol9-1 hugepages1G]# time fallocate -l 700GB test.txt real 1m44.551s user 0m0.000s sys 1m44.438s x86 2MB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-2 hugepages]# time fallocate -l 100GB test.txt real 0m22.383s user 0m0.000s sys 0m22.255s 6.5-rc3: [opc@sidhakum-ol9-2 hugepages]$ time sudo fallocate -l 100GB /dev/hugepages/test.txt real 0m22.735s user 0m0.038s sys 0m22.567s 1GB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-2 hugepages1GB]# time fallocate -l 100GB test.txt real 0m25.786s user 0m0.001s sys 0m25.589s 6.5-rc3: [root@sidhakum-ol9-2 hugepages1G]# time fallocate -l 100GB test.txt real 0m33.454s user 0m0.001s sys 0m33.193s aarch64: workload - fallocate a 700GB file backed by huge pages 6.5-rc3 + this patch: 2MB Page Size: --100.00%--__arm64_sys_fallocate ksys_fallocate vfs_fallocate hugetlbfs_fallocate | |--95.04%--__pi_clear_page | |--3.57%--clear_huge_page | | | |--2.63%--rcu_all_qs | | | --0.91%--__cond_resched | --0.67%--__cond_resched 0.17% 0.00% 0 fallocate [kernel.vmlinux] [k] hugetlb_add_to_page_cache 0.14% 0.10% 11 fallocate [kernel.vmlinux] [k] __filemap_add_folio 6.5-rc3 2MB Page Size: --100.00%--__arm64_sys_fallocate ksys_fallocate vfs_fallocate hugetlbfs_fallocate | |--94.91%--__pi_clear_page | |--4.11%--clear_huge_page | | | |--3.00%--rcu_all_qs | | | --1.10%--__cond_resched | --0.59%--__cond_resched 0.08% 0.01% 1 fallocate [kernel.kallsyms] [k] hugetlb_add_to_page_cache 0.05% 0.03% 3 fallocate [kernel.kallsyms] [k] __filemap_add_folio x86 workload - fallocate a 100GB file backed by huge pages 6.5-rc3 + this patch: 2MB Page Size: hugetlbfs_fallocate | --99.57%--clear_huge_page | --98.47%--clear_page_erms | --0.53%--asm_sysvec_apic_timer_interrupt 0.04% 0.04% 1 fallocate [kernel.kallsyms] [k] xa_load 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] hugetlb_add_to_page_cache 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] __filemap_add_folio 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] xas_store 6.5-rc3 2MB Page Size: --99.93%--__x64_sys_fallocate vfs_fallocate hugetlbfs_fallocate | --99.38%--clear_huge_page | |--98.40%--clear_page_erms | --0.59%--__cond_resched 0.03% 0.03% 1 fallocate [kernel.kallsyms] [k] __filemap_add_folio ========================= TESTING ====================================== This patch passes libhugetlbfs tests and LTP hugetlb tests ********** TEST SUMMARY * 2M * 32-bit 64-bit * Total testcases: 110 113 * Skipped: 0 0 * PASS: 107 113 * FAIL: 0 0 * Killed by signal: 3 0 * Bad configuration: 0 0 * Expected FAIL: 0 0 * Unexpected PASS: 0 0 * Test not present: 0 0 * Strange test result: 0 0 ********** Done executing testcases. LTP Version: 20220527-178-g2761a81c4 page migration was also tested using Mike Kravetz's test program.[8] [dan.carpenter@linaro.org: fix an NULL vs IS_ERR() bug] Link: https://lkml.kernel.org/r/1772c296-1417-486f-8eef-171af2192681@moroto.mountain Link: https://lkml.kernel.org/r/20230926192017.98183-1-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar Signed-off-by: Dan Carpenter Reported-and-tested-by: syzbot+c225dea486da4d5592bd@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=c225dea486da4d5592bd Cc: Matthew Wilcox (Oracle) Cc: Mike Kravetz Cc: Muchun Song Signed-off-by: Andrew Morton fs/hugetlbfs/inode.c | 37 +++++++++++++++++++------------------ include/linux/hugetlb.h | 12 ++++++++++++ include/linux/pagemap.h | 32 ++------------------------------ mm/filemap.c | 34 ++++++++++------------------------ mm/hugetlb.c | 32 ++++++-------------------------- mm/migrate.c | 6 +++--- 6 files changed, 52 insertions(+), 101 deletions(-) accumulated error probability: 0.00 culprit signature: 76f33b24f620cce4a81a725a6eebfabf7639ad9d450b9bae6ece7113409cdd7b parent signature: e1c5a08da47558743842ed851b51a0fede65a799d951bed5b36405985ba2e7a8 revisions tested: 22, total time: 7h36m8.874698737s (build: 4h52m16.738868492s, test: 2h28m55.149983584s) first bad commit: a08c7193e4f18dc8508f2d07d0de2c5b94cb39a3 mm/filemap: remove hugetlb special casing in filemap.c recipients (to): ["akpm@linux-foundation.org" "dan.carpenter@linaro.org" "sidhartha.kumar@oracle.com" "syzbot+c225dea486da4d5592bd@syzkaller.appspotmail.com"] recipients (cc): [] crash: invalid opcode in __filemap_add_folio invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 1437 Comm: syz-executor.0 Not tainted 6.6.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:xas_set_order include/linux/xarray.h:1653 [inline] RIP: 0010:xas_set_order include/linux/xarray.h:1644 [inline] RIP: 0010:__filemap_add_folio+0x374/0x3e0 mm/filemap.c:861 Code: 03 00 90 0f 0b 48 c7 c6 08 fd 13 82 48 89 ef e8 12 dc 03 00 90 0f 0b 48 c7 c6 38 fd 13 82 48 89 ef e8 00 dc 03 00 90 0f 0b 90 <0f> 0b 80 7c 24 0f 00 75 4b 8b 44 24 08 48 c7 45 18 00 00 00 00 f0 RSP: 0000:ffffc900017cfda0 EFLAGS: 00010206 RAX: 0200000000000049 RBX: 0000000000000000 RCX: 0000000000000cc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0004460000 RBP: ffffea0004460000 R08: 0000000000000000 R09: ffff88810869db28 R10: 0000000000080000 R11: 0000000000000003 R12: ffff888101a7c740 R13: 0000000000000000 R14: 0000000000000001 R15: ffff888103799800 FS: 0000555555b70480(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000106297000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_add_to_page_cache+0x53/0xd0 mm/hugetlb.c:5773 hugetlb_no_page mm/hugetlb.c:5938 [inline] hugetlb_fault+0x8c1/0xb60 mm/hugetlb.c:6141 handle_mm_fault+0x2f3/0x300 mm/memory.c:5289 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x20d/0x760 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fa1a1218b98 Code: fc 89 37 c3 c5 fa 6f 06 c5 fa 6f 4c 16 f0 c5 fa 7f 07 c5 fa 7f 4c 17 f0 c3 66 0f 1f 84 00 00 00 00 00 48 8b 4c 16 f8 48 8b 36 <48> 89 37 48 89 4c 17 f8 c3 c5 fe 6f 54 16 e0 c5 fe 6f 5c 16 c0 c5 RSP: 002b:00007ffea837f3e8 EFLAGS: 00010246 RAX: 0000000020000000 RBX: 00007ffea837f4f8 RCX: 0070616d65676170 RDX: 0000000000000008 RSI: 0070616d65676170 RDI: 0000000020000000 RBP: 0000000000000032 R08: 00007fa1a11bb000 R09: 00007fa1a1356f8c R10: 00007ffea837f520 R11: 0000000000000246 R12: 00007fa1a0dbb0a8 R13: fffffffffffffffe R14: 00007fa1a0dbb000 R15: 00007fa1a0dbb0b0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:xas_set_order include/linux/xarray.h:1653 [inline] RIP: 0010:xas_set_order include/linux/xarray.h:1644 [inline] RIP: 0010:__filemap_add_folio+0x374/0x3e0 mm/filemap.c:861 Code: 03 00 90 0f 0b 48 c7 c6 08 fd 13 82 48 89 ef e8 12 dc 03 00 90 0f 0b 48 c7 c6 38 fd 13 82 48 89 ef e8 00 dc 03 00 90 0f 0b 90 <0f> 0b 80 7c 24 0f 00 75 4b 8b 44 24 08 48 c7 45 18 00 00 00 00 f0 RSP: 0000:ffffc900017cfda0 EFLAGS: 00010206 RAX: 0200000000000049 RBX: 0000000000000000 RCX: 0000000000000cc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0004460000 RBP: ffffea0004460000 R08: 0000000000000000 R09: ffff88810869db28 R10: 0000000000080000 R11: 0000000000000003 R12: ffff888101a7c740 R13: 0000000000000000 R14: 0000000000000001 R15: ffff888103799800 FS: 0000555555b70480(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000106297000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400