ci starts bisection 2023-12-30 15:27:40.631840623 +0000 UTC m=+680088.228605832 bisecting fixing commit since 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: c99bf12a721bf2c0cab9e2462d92b100170d2f6bb380c7bfa06747af0c355a38 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], 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: 51ec7ae661b976a100079d9d765bf4c89741811fddfb4dcdf8e8b3a6afe9a877 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: f49d9aa20fc03efbf12b58b53a1a2124cfa38e373fa40674f867a2f31e60b751 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 [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP HANG], 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: 6276b328cb05eec1baa41ae9a89a1d85605bbbef047f84427d397ac197e68269 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 [BUG KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], 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: 330cb3c5e38f536bdab2aa75ed3df25f95127a96fe228a64156da1a68587dd80 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: 86de50551b4fc61345b940786aa0143f9ca75ee03e05e408325511f36f426ae9 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 [HANG LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], 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: dcf1fbefc2658920a41764fa1ea821621d9bce1caa815ffce40f3b80830f7973 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 testing current HEAD f016f7547aeedefed9450499d002ba983b8fce15 testing commit f016f7547aeedefed9450499d002ba983b8fce15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f79216ac26de1e2b94e305dcf84e33b2f46ae2d87fa622ca3c9a7b5908bbb5ff all runs: OK false negative chance: 0.000 # git bisect start f016f7547aeedefed9450499d002ba983b8fce15 df60cee26a2e3d937a319229e335cb3f9c1f16d2 Bisecting: 679 revisions left to test after this (roughly 9 steps) [b10a3ccaf6e39f6290ca29d7c24604082eacaea0] Merge tag 'loongarch-fixes-6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson determine whether the revision contains the guilty commit revision df60cee26a2e3d937a319229e335cb3f9c1f16d2 crashed and is reachable testing commit b10a3ccaf6e39f6290ca29d7c24604082eacaea0 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a69d8df4f56d88f2414f4df9e086c6f6a70844e02ad4a85794fb83a1b871e295 all runs: OK false negative chance: 0.000 # git bisect bad b10a3ccaf6e39f6290ca29d7c24604082eacaea0 Bisecting: 344 revisions left to test after this (roughly 8 steps) [9ace34a8e446c1a566f3b0a3e0c4c483987e39a6] Merge tag 'cgroup-for-6.7-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup determine whether the revision contains the guilty commit revision df60cee26a2e3d937a319229e335cb3f9c1f16d2 crashed and is reachable testing commit 9ace34a8e446c1a566f3b0a3e0c4c483987e39a6 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ae64c8b5a3ffc37902ec03dd428e300be0cb8937c6b0f2587e0e772caa67a1f all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good 9ace34a8e446c1a566f3b0a3e0c4c483987e39a6 Bisecting: 167 revisions left to test after this (roughly 8 steps) [a6adef898741eb07526aaf9d8b982d3dff4a9e67] Merge tag 'soc-fixes-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc determine whether the revision contains the guilty commit revision 9ace34a8e446c1a566f3b0a3e0c4c483987e39a6 crashed and is reachable testing commit a6adef898741eb07526aaf9d8b982d3dff4a9e67 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5f303e155c7a69e0e39bf2b56741c05f8b04971ab2abf00ae6bb8316782cf163 all runs: OK false negative chance: 0.000 # git bisect bad a6adef898741eb07526aaf9d8b982d3dff4a9e67 Bisecting: 72 revisions left to test after this (roughly 7 steps) [8e819a7623f19534bce6d53678b581c167b5b079] Merge tag 'mm-hotfixes-stable-2023-12-07-18-47' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm determine whether the revision contains the guilty commit revision 9ace34a8e446c1a566f3b0a3e0c4c483987e39a6 crashed and is reachable testing commit 8e819a7623f19534bce6d53678b581c167b5b079 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa9387711057db6a5cedb3a525f7eaf93d239572d4718bf5cf4f3aa15ff141f2 all runs: OK false negative chance: 0.000 # git bisect bad 8e819a7623f19534bce6d53678b581c167b5b079 Bisecting: 53 revisions left to test after this (roughly 6 steps) [0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf] nfp: flower: fix for take a mutex lock in soft irq context and rcu lock determine whether the revision contains the guilty commit revision df60cee26a2e3d937a319229e335cb3f9c1f16d2 crashed and is reachable testing commit 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 39597648c8dc01206a3f84d35a9a72ec20f1c65d546b27526c1dc01f3cb57a6f all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf Bisecting: 26 revisions left to test after this (roughly 5 steps) [bc220fe70919d6500811e5e1e07aff43e137065a] MAINTAINERS: drop Antti Palosaari determine whether the revision contains the guilty commit checking the merge base 5b7ad877e4d81f8904ce83982b1ba5c6e83deccb no existing result, test the revision testing commit 5b7ad877e4d81f8904ce83982b1ba5c6e83deccb gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4433e6ff44fa347ef30be252b5b10fd2da81b15857a1e9c1e86215c440e85f36 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] testing commit bc220fe70919d6500811e5e1e07aff43e137065a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9977bb4b08a1595e8bf75fbf5bd88fce741e0eb42c69a0516c1e5ae56edf9c33 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good bc220fe70919d6500811e5e1e07aff43e137065a Bisecting: 13 revisions left to test after this (roughly 4 steps) [c5a595000e2677e865a39f249c056bc05d6e55fd] net: tls, update curr on splice as well determine whether the revision contains the guilty commit revision 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf crashed and is reachable testing commit c5a595000e2677e865a39f249c056bc05d6e55fd gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 80683c5a6924ba9b8ebb1b6a99044753d2eb1f19c3ccccb3815b763bc4c04050 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good c5a595000e2677e865a39f249c056bc05d6e55fd Bisecting: 6 revisions left to test after this (roughly 3 steps) [c5a10397d4571bcfd4bd7ca211ee47bcb6792ec3] net/smc: fix missing byte order conversion in CLC handshake determine whether the revision contains the guilty commit revision 0ad722bd9ee3a9bdfca9613148645e4c9b7f26cf crashed and is reachable testing commit c5a10397d4571bcfd4bd7ca211ee47bcb6792ec3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0cd7a4757ae795de4add2868db37a27d18e4edaa7fbed05700647f2ad8afa630 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good c5a10397d4571bcfd4bd7ca211ee47bcb6792ec3 Bisecting: 3 revisions left to test after this (roughly 2 steps) [675abf8df1353e0e3bde314993e0796c524cfbf0] nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() determine whether the revision contains the guilty commit revision bc220fe70919d6500811e5e1e07aff43e137065a crashed and is reachable testing commit 675abf8df1353e0e3bde314993e0796c524cfbf0 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ea2c0746e74415486db513feb2b8f1eb6665feede74ee4f9b96d0e59f67984ee all runs: OK false negative chance: 0.000 # git bisect bad 675abf8df1353e0e3bde314993e0796c524cfbf0 Bisecting: 0 revisions left to test after this (roughly 1 step) [4a3ef6be03e6700037fc20e63aa5ffd972e435ca] mm/hugetlb: have CONFIG_HUGETLB_PAGE select CONFIG_XARRAY_MULTI determine whether the revision contains the guilty commit revision 5b7ad877e4d81f8904ce83982b1ba5c6e83deccb crashed and is reachable testing commit 4a3ef6be03e6700037fc20e63aa5ffd972e435ca gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0bc05fdadae2da67595ec3466183b6ec48674744486b26611d6ac594f0a1c928 all runs: OK false negative chance: 0.000 # git bisect bad 4a3ef6be03e6700037fc20e63aa5ffd972e435ca Bisecting: 0 revisions left to test after this (roughly 0 steps) [801a2b1b49f4dcf06703130922806e9c639c2ca8] scripts/gdb: fix lx-device-list-bus and lx-device-list-class determine whether the revision contains the guilty commit revision 5b7ad877e4d81f8904ce83982b1ba5c6e83deccb crashed and is reachable testing commit 801a2b1b49f4dcf06703130922806e9c639c2ca8 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f0599e30f343f63e5e0bb8e46978b9b753dc435d2c2f8d04f1f0a930925b3f11 all runs: crashed: invalid opcode in __filemap_add_folio representative crash: invalid opcode in __filemap_add_folio, types: [UNKNOWN] # git bisect good 801a2b1b49f4dcf06703130922806e9c639c2ca8 4a3ef6be03e6700037fc20e63aa5ffd972e435ca is the first bad commit commit 4a3ef6be03e6700037fc20e63aa5ffd972e435ca Author: Sidhartha Kumar Date: Mon Dec 4 10:32:34 2023 -0800 mm/hugetlb: have CONFIG_HUGETLB_PAGE select CONFIG_XARRAY_MULTI After commit a08c7193e4f1 "mm/filemap: remove hugetlb special casing in filemap.c", hugetlb pages are stored in the page cache in base page sized indexes. This leads to multi index stores in the xarray which is only supporting through CONFIG_XARRAY_MULTI. The other page cache user of multi index stores ,THP, selects XARRAY_MULTI. Have CONFIG_HUGETLB_PAGE follow this behavior as well to avoid the BUG() with a CONFIG_HUGETLB_PAGE && !CONFIG_XARRAY_MULTI config. Link: https://lkml.kernel.org/r/20231204183234.348697-1-sidhartha.kumar@oracle.com Fixes: a08c7193e4f1 ("mm/filemap: remove hugetlb special casing in filemap.c") Signed-off-by: Sidhartha Kumar Reported-by: Al Viro Cc: Mike Kravetz Cc: Muchun Song Signed-off-by: Andrew Morton fs/Kconfig | 1 + 1 file changed, 1 insertion(+) accumulated error probability: 0.00 culprit signature: 0bc05fdadae2da67595ec3466183b6ec48674744486b26611d6ac594f0a1c928 parent signature: f0599e30f343f63e5e0bb8e46978b9b753dc435d2c2f8d04f1f0a930925b3f11 revisions tested: 20, total time: 2h55m51.531687364s (build: 1h2m35.392924041s, test: 1h32m20.830566701s) first good commit: 4a3ef6be03e6700037fc20e63aa5ffd972e435ca mm/hugetlb: have CONFIG_HUGETLB_PAGE select CONFIG_XARRAY_MULTI recipients (to): ["akpm@linux-foundation.org" "linux-kernel@vger.kernel.org" "sidhartha.kumar@oracle.com"] recipients (cc): ["brauner@kernel.org" "linux-fsdevel@vger.kernel.org" "viro@zeniv.linux.org.uk"]