Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://github.com/0day-ci/linux/commits/Matthew-Wilcox-Oracle/Return-head-pages-from-find_-_entry/20200911-023452 commit a166db98ef4d943aa742ac6e27e716f06081398f Author: Matthew Wilcox (Oracle) AuthorDate: Thu Sep 10 19:33:17 2020 +0100 Commit: 0day robot CommitDate: Fri Sep 11 02:35:28 2020 +0800 mm/shmem: Return head page from find_lock_entry Convert shmem_getpage_gfp() (the only remaining caller of find_lock_entry()) to cope with a head page being returned instead of the subpage for the index. Signed-off-by: Matthew Wilcox (Oracle) 2037ab69a5 mm: Convert find_get_entry to return the head page a166db98ef mm/shmem: Return head page from find_lock_entry 2d8de50db9 mm: Add find_lock_head +---------------------------------------------+------------+------------+------------+ | | 2037ab69a5 | a166db98ef | 2d8de50db9 | +---------------------------------------------+------------+------------+------------+ | boot_successes | 20 | 2 | 0 | | boot_failures | 1 | 13 | 11 | | invoked_oom-killer:gfp_mask=0x | 1 | | | | Mem-Info | 1 | 0 | 1 | | Oops:#[##] | 0 | 13 | 10 | | EIP:shmem_getpage_gfp | 0 | 13 | 10 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 13 | 10 | | BUG:kernel_NULL_pointer_dereference,address | 0 | 11 | 6 | +---------------------------------------------+------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [child2:674] move_mount (422) returned ENOSYS, marking as inactive. [ 22.452175] warning: process `trinity-c0' used the obsolete bdflush system call [ 22.453748] Fix your initscripts? [ 22.455178] LoadPin: kernel-module old-api-denied obj= pid=746 cmdline="/bin/trinity -q -d --disable-fds=perf -N 999999" [ 41.037144] futex_wake_op: trinity-c3 tries to shift op by 1852; fix this program [ 43.096780] BUG: kernel NULL pointer dereference, address: 00000010 [ 43.098106] #PF: supervisor read access in kernel mode [ 43.099156] #PF: error_code(0x0000) - not-present page [ 43.104352] *pde = 00000000 [ 43.104997] Oops: 0000 [#1] [ 43.105631] CPU: 0 PID: 819 Comm: trinity-c3 Not tainted 5.9.0-rc4-next-20200910-00007-ga166db98ef4d94 #2 [ 43.107341] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 43.108896] EIP: shmem_getpage_gfp+0x27e/0x835 [ 43.109822] Code: ff fb ff 0d 2c 1f ce c1 83 7d 08 05 0f 84 85 03 00 00 b8 01 00 00 00 89 85 7c ff ff ff 83 7d 08 04 8b 5d 94 0f 85 60 02 00 00 <8b> 73 10 31 c9 8b 55 90 29 f2 8b b5 6c ff ff ff 8d 04 92 8d 04 c3 [ 43.113102] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000 [ 43.114237] ESI: f6af3068 EDI: ef944400 EBP: f6bbbd28 ESP: f6bbbc84 [ 43.115419] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00010246 [ 43.116737] CR0: 80050033 CR2: 00000010 CR3: 36b94000 CR4: 000006d0 [ 43.117957] Call Trace: [ 43.118513] ? free_unref_page_commit+0xaf/0xdb [ 43.119456] ? xas_load+0xc/0x4b [ 43.120140] ? xas_find+0x177/0x1a5 [ 43.120853] ? release_pages+0x2f8/0x3c8 [ 43.121655] ? find_get_entries+0x58/0x293 [ 43.122527] shmem_undo_range+0x3d9/0x927 [ 43.127432] shmem_truncate_range+0x36/0x6c [ 43.128246] ? unmap_mapping_range+0x5e/0x6b [ 43.129089] shmem_setattr+0x337/0x3a2 [ 43.129864] ? security_inode_setattr+0x5e/0x6c [ 43.130714] notify_change+0x3c6/0x565 [ 43.131474] ? down_write+0x7d/0xaf [ 43.132152] do_truncate+0x5c/0x89 [ 43.132821] ? __might_sleep+0x103/0x117 [ 43.133556] do_sys_ftruncate+0xbb/0xf8 [ 43.134287] __ia32_sys_ftruncate+0x1e/0x20 [ 43.135083] __do_fast_syscall_32+0x76/0x9c [ 43.135914] do_fast_syscall_32+0x31/0x69 [ 43.136720] do_SYSENTER_32+0x15/0x17 [ 43.137492] entry_SYSENTER_32+0xa9/0xfb [ 43.138326] EIP: 0xb7fe3549 [ 43.138952] Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76 [ 43.142316] EAX: ffffffda EBX: 0000011b ECX: 0000008c EDX: fffffff9 [ 43.143490] ESI: ffffffff EDI: 02108000 EBP: fffffff9 ESP: bfc5389c [ 43.144652] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292 [ 43.145881] Modules linked in: [ 43.146522] CR2: 0000000000000010 [ 43.147370] ---[ end trace 512dae154174a309 ]--- [ 43.148319] EIP: shmem_getpage_gfp+0x27e/0x835 # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD git bisect start f7ee951f75daac53c7caa55e5c8024ac3e3f09d9 7ce53e3a447bced7b85ed181c4d027e93c062e07 -- git bisect bad f6cb6c862f365e95a66f5ad419b64be3c7677037 # 15:19 B 0 11 20 0 Merge 'mptcp/export' into devel-catchup-202009110307 git bisect bad 5107fa1224eab4e9f8d395cd1c3002b8e2ded65e # 15:19 B 0 11 21 0 Merge 'linux-review/Ricardo-Rivera-Matos/dt-bindings-power-Add-the-bq256xx-dt-bindings/20200911-022258' into devel-catchup-202009110307 git bisect bad 03eedd04935db6f5ccbc6a674d957d9df95dcd1f # 15:19 B 0 12 23 1 Merge 'habanaai/habanalabs-next' into devel-catchup-202009110307 git bisect bad 9020b78a15f8ff41c43c3897b2858b37e3d8ef12 # 15:19 B 0 11 21 0 Merge 'linux-review/Matthew-Wilcox-Oracle/Return-head-pages-from-find_-_entry/20200911-023452' into devel-catchup-202009110307 git bisect good 91949a309c93c1c39f6ea3336378ca30d3080afc # 15:29 G 10 0 0 4 0day base guard for 'devel-catchup-202009110307' git bisect good 9313abf8e7732fb819e477cb9697ce0e28625be1 # 00:20 G 10 0 3 4 proc: Optimise smaps for shmem entries git bisect good 2037ab69a5cd8afe58347135010f6160ea368dd0 # 01:08 G 10 0 3 3 mm: Convert find_get_entry to return the head page git bisect bad 2d8de50db9a503d83f8d4d939537ac800b4e46e1 # 01:22 B 0 1 10 0 mm: Add find_lock_head git bisect bad a166db98ef4d943aa742ac6e27e716f06081398f # 01:40 B 0 2 13 1 mm/shmem: Return head page from find_lock_entry # first bad commit: [a166db98ef4d943aa742ac6e27e716f06081398f] mm/shmem: Return head page from find_lock_entry git bisect good 2037ab69a5cd8afe58347135010f6160ea368dd0 # 02:43 G 30 0 11 14 mm: Convert find_get_entry to return the head page # extra tests with debug options git bisect bad a166db98ef4d943aa742ac6e27e716f06081398f # 02:51 B 0 1 10 0 mm/shmem: Return head page from find_lock_entry # extra tests on head commit of linux-review/Matthew-Wilcox-Oracle/Return-head-pages-from-find_-_entry/20200911-023452 git bisect bad 2d8de50db9a503d83f8d4d939537ac800b4e46e1 # 03:06 B 0 11 20 0 mm: Add find_lock_head # bad: [2d8de50db9a503d83f8d4d939537ac800b4e46e1] mm: Add find_lock_head # extra tests on revert first bad commit # 119: [1535081ca97d265500bc921d62cde9bbe1356bf9] Revert "mm/shmem: Return head page from find_lock_entry" --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/lkp@lists.01.org