Skip to contentSkip to conversation

New: unable to handle page fault for address - EIP: khugepaged

Bug 210031 Andrew Morton 3 participants 6 messages Nov 4, 2020 – Nov 9, 2020 1 message not in the archive Memory management

lore
Share & tools
lore

Andrew Morton

author maintainer
#1 lore raw
In reply to a message not in the archive

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

            Bug ID: 210031
           Summary: unable to handle page fault for address - EIP:
                    khugepaged
           Product: Memory Management
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Thanks. That's a strange looking trace. I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

Quoted 159 lines

laptop Skylake i915
Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm: khugepaged
Tainted: G      D   I       5.9.1 #1
Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name: Notebook         
               W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226
Oct 23 17:38:22 linuxp kernel: [141330.499296] Code: e8 e8 bf 99 00 8b 45 a0 8b
40 2c 85 c0 75 0e 89 7d 90 8d 43 01 89 45 8c e9 5c fe ff ff 8b 45 a0 8b 80 e4
01 00 00 85 c0 75 e5 <8b> 57 2c 89 f8 e8 d3 d6 ff ff 88 85 6c ff ff ff 84 c0 0f
84 b5 00
Oct 23 17:38:22 linuxp kernel: [141330.499303] EAX: 00000000 EBX: 0000043a ECX:
00000000 EDX: e9b0cf88
Oct 23 17:38:22 linuxp kernel: [141330.499308] ESI: 00000000 EDI: 021d2001 EBP:
eff61f8c ESP: eff61e64
Oct 23 17:38:22 linuxp kernel: [141330.499314] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010246
Oct 23 17:38:22 linuxp kernel: [141330.499319] CR0: 80050033 CR2: 021d202d CR3:
2606c000 CR4: 003506f0
Oct 23 17:38:22 linuxp kernel: [141330.499324] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 17:38:22 linuxp kernel: [141330.499328] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:38:22 linuxp kernel: [141330.499331] Call Trace:
Oct 23 17:38:22 linuxp kernel: [141330.499348]  ? wait_woken+0x67/0x67
Oct 23 17:38:22 linuxp kernel: [141330.499357]  kthread+0xde/0x10a
Oct 23 17:38:22 linuxp kernel: [141330.499364]  ?
collapse_pte_mapped_thp+0x468/0x468
Oct 23 17:38:22 linuxp kernel: [141330.499370]  ? kthread_unpark+0x60/0x60
Oct 23 17:38:22 linuxp kernel: [141330.499377]  ret_from_fork+0x1c/0x28
Oct 23 17:38:22 linuxp kernel: [141330.499382] Modules linked in: appletalk

psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 17:38:22 linuxp kernel: [141330.499482] CR2: 00000000021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499489] ---[ end trace c79bfd2669dd9a27
]---
Oct 23 17:38:22 linuxp kernel: [141330.499497] EIP: m_next+0x1c/0x44
Oct 23 17:38:22 linuxp kernel: [141330.499503] Code: 24 08 d4 e6 c1 e8 1a 77 e2
ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24
8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff
31 ff 85
Oct 23 17:38:22 linuxp kernel: [141330.499509] EAX: 021d2001 EBX: 00000000 ECX:
eeb9e56c EDX: eca0f000
Oct 23 17:38:22 linuxp kernel: [141330.499514] ESI: 00000000 EDI: c128cad0 EBP:
e59bff0c ESP: e59bff00
Oct 23 17:38:22 linuxp kernel: [141330.499519] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:38:22 linuxp kernel: [141330.499524] CR0: 80050033 CR2: 021d202d CR3:
2606c000 CR4: 003506f0
Oct 23 17:38:22 linuxp kernel: [141330.499529] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 17:38:22 linuxp kernel: [141330.499532] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.655918] BUG: unable to handle page fault
for address: 021d2001
Oct 23 18:11:53 linuxp kernel: [143342.655929] #PF: supervisor read access in
kernel mode
Oct 23 18:11:53 linuxp kernel: [143342.655933] #PF: error_code(0x0000) -
not-present page
Oct 23 18:11:53 linuxp kernel: [143342.655948] Oops: 0000 [#3] SMP PTI
Oct 23 18:11:53 linuxp kernel: [143342.655956] CPU: 2 PID: 6287 Comm: DOM
Worker Tainted: G      D   I       5.9.1 #1
Oct 23 18:11:53 linuxp kernel: [143342.655960] Hardware name: Notebook         
               W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 18:11:53 linuxp kernel: [143342.655971] EIP: acct_collect+0x4c/0x166
Oct 23 18:11:53 linuxp kernel: [143342.655978] Code: 00 00 85 c9 0f 84 2c 01 00
00 8b 87 a4 02 00 00 83 c0 44 e8 09 8b aa 00 8b 87 a4 02 00 00 8b 00 85 c0 0f
84 15 01 00 00 31 d2 <2b> 10 03 50 04 8b 40 08 85 c0 75 f4 89 d7 c1 ef 0a 64 a1
dc 26 1b
Oct 23 18:11:53 linuxp kernel: [143342.655985] EAX: 021d2001 EBX: 0000000f ECX:
eea698c0 EDX: 06744fff
Oct 23 18:11:53 linuxp kernel: [143342.655991] ESI: eed4f900 EDI: e5189700 EBP:
e551de54 ESP: e551de48
Oct 23 18:11:53 linuxp kernel: [143342.655998] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00210202
Oct 23 18:11:53 linuxp kernel: [143342.656004] CR0: 80050033 CR2: 021d2001 CR3:
250c6000 CR4: 003506f0
Oct 23 18:11:53 linuxp kernel: [143342.656008] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 18:11:53 linuxp kernel: [143342.656012] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.656015] Call Trace:
Oct 23 18:11:53 linuxp kernel: [143342.656024]  do_exit+0x168/0xa5d
Oct 23 18:11:53 linuxp kernel: [143342.656033]  ?
prepare_to_wait_event+0x5a/0xc8
Oct 23 18:11:53 linuxp kernel: [143342.656039]  do_group_exit+0x35/0x8a
Oct 23 18:11:53 linuxp kernel: [143342.656046]  get_signal+0x146/0x88b
Oct 23 18:11:53 linuxp kernel: [143342.656055]  arch_do_signal+0x23/0x594
Oct 23 18:11:53 linuxp kernel: [143342.656064]  ? vfs_read+0xe0/0x17f
Oct 23 18:11:53 linuxp kernel: [143342.656071] 
exit_to_user_mode_prepare+0xd4/0x135
Oct 23 18:11:53 linuxp kernel: [143342.656080] 
syscall_exit_to_user_mode+0x23/0x14d
Oct 23 18:11:53 linuxp kernel: [143342.656087]  do_int80_syscall_32+0x36/0x39
Oct 23 18:11:53 linuxp kernel: [143342.656093]  entry_INT80_32+0xf7/0xf7
Oct 23 18:11:53 linuxp kernel: [143342.656097] EIP: 0xafc314c4
Oct 23 18:11:53 linuxp kernel: [143342.656103] Code: 89 38 85 f6 78 73 8d 75 a7
66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 7d e8 89 f1 ba 01 00 00 00 b8 03 00
00 00 53 89 fb cd 80 <5b> 3d 01 f0 ff ff 72 10 89 c7 f7 df e8 eb ad 3d fd 83 ff
04 89 38
Oct 23 18:11:53 linuxp kernel: [143342.656107] EAX: fffffe00 EBX: 00000007 ECX:
90dfdd9f EDX: 00000001
Oct 23 18:11:53 linuxp kernel: [143342.656111] ESI: 90dfdd9f EDI: 00000007 EBP:
90dfddf8 ESP: 90dfdd7c
Oct 23 18:11:53 linuxp kernel: [143342.656115] DS: 007b ES: 007b FS: 0000 GS:
0033 SS: 007b EFLAGS: 00200206
Oct 23 18:11:53 linuxp kernel: [143342.656119] Modules linked in: appletalk

psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 18:11:53 linuxp kernel: [143342.656223] CR2: 00000000021d2001
Oct 23 18:11:53 linuxp kernel: [143342.656230] ---[ end trace c79bfd2669dd9a28
]---
Oct 23 18:11:53 linuxp kernel: [143342.656238] EIP: m_next+0x1c/0x44
Oct 23 18:11:53 linuxp kernel: [143342.656243] Code: 24 08 d4 e6 c1 e8 1a 77 e2
ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24
8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff
31 ff 85
Oct 23 18:11:53 linuxp kernel: [143342.656248] EAX: 021d2001 EBX: 00000000 ECX:
eeb9e56c EDX: eca0f000
Oct 23 18:11:53 linuxp kernel: [143342.656252] ESI: 00000000 EDI: c128cad0 EBP:
e59bff0c ESP: e59bff00
Oct 23 18:11:53 linuxp kernel: [143342.656258] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010202
Oct 23 18:11:53 linuxp kernel: [143342.656262] CR0: 80050033 CR2: 021d2001 CR3:
250c6000 CR4: 003506f0
Oct 23 18:11:53 linuxp kernel: [143342.656266] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 18:11:53 linuxp kernel: [143342.656270] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.656274] Fixing recursive fault but

reboot is needed!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw
Quoted 24 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

             Bug ID: 210031
            Summary: unable to handle page fault for address - EIP:
                     khugepaged
            Product: Memory Management
            Version: 2.5
     Kernel Version: 5.9.1
           Hardware: All
                 OS: Linux
               Tree: Mainline
             Status: NEW
           Severity: normal
           Priority: P1
          Component: Other
           Assignee: [email protected]
           Reporter: [email protected]
         Regression: No
Quoted 5 lines

Thanks. That's a strange looking trace. I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

I always use hibernate.
I also use firefox with  some tabs and it uses a lot of memory. (I have a 4 Go laptop) I have a lot of bugs when I resume.
This bug arises when I resume.
The first occurence in syslog is in march :

May 17 08:09:21 linuxp kernel: [100318.618834] BUG: unable to handle kernel paging request at 024f402d
May 17 08:09:21 linuxp kernel: [100318.618842] #PF error: [normal kernel read fault]
May 17 08:09:21 linuxp kernel: [100318.618855] Oops: 0000 [#1] SMP PTI
May 17 08:09:21 linuxp kernel: [100318.618862] CPU: 3 PID: 36 Comm: khugepaged Tainted: G           O      5.0.11 #1
May 17 08:09:21 linuxp kernel: [100318.618866] Hardware name: Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
May 17 08:09:21 linuxp kernel: [100318.618877] EIP: khugepaged+0x506/0x3310

With "BUG: unable to handle page fault for address" there are several EIP in syslog file :

Jan 22 08:12:44 linuxp kernel: [ 9791.101301] EIP: kmem_cache_alloc+0x8b/0x270

Nov  3 08:27:22 linuxp kernel: [74582.477572] EIP: __reset_isolation_pfn+0x190/0x250 Oct  8 23:45:20 linuxp kernel: [21038.109924] EIP: __fput+0x49/0x250

I am an end-user so I can't give more info...

Quoted 159 lines
Quoted 159 lines

laptop Skylake i915
Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm: khugepaged
Tainted: G      D   I       5.9.1 #1
Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name: Notebook
                W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226
Oct 23 17:38:22 linuxp kernel: [141330.499296] Code: e8 e8 bf 99 00 8b 45 a0 8b
40 2c 85 c0 75 0e 89 7d 90 8d 43 01 89 45 8c e9 5c fe ff ff 8b 45 a0 8b 80 e4
01 00 00 85 c0 75 e5 <8b> 57 2c 89 f8 e8 d3 d6 ff ff 88 85 6c ff ff ff 84 c0 0f
84 b5 00
Oct 23 17:38:22 linuxp kernel: [141330.499303] EAX: 00000000 EBX: 0000043a ECX:
00000000 EDX: e9b0cf88
Oct 23 17:38:22 linuxp kernel: [141330.499308] ESI: 00000000 EDI: 021d2001 EBP:
eff61f8c ESP: eff61e64
Oct 23 17:38:22 linuxp kernel: [141330.499314] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010246
Oct 23 17:38:22 linuxp kernel: [141330.499319] CR0: 80050033 CR2: 021d202d CR3:
2606c000 CR4: 003506f0
Oct 23 17:38:22 linuxp kernel: [141330.499324] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 17:38:22 linuxp kernel: [141330.499328] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:38:22 linuxp kernel: [141330.499331] Call Trace:
Oct 23 17:38:22 linuxp kernel: [141330.499348]  ? wait_woken+0x67/0x67
Oct 23 17:38:22 linuxp kernel: [141330.499357]  kthread+0xde/0x10a
Oct 23 17:38:22 linuxp kernel: [141330.499364]  ?
collapse_pte_mapped_thp+0x468/0x468
Oct 23 17:38:22 linuxp kernel: [141330.499370]  ? kthread_unpark+0x60/0x60
Oct 23 17:38:22 linuxp kernel: [141330.499377]  ret_from_fork+0x1c/0x28
Oct 23 17:38:22 linuxp kernel: [141330.499382] Modules linked in: appletalk

psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 17:38:22 linuxp kernel: [141330.499482] CR2: 00000000021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499489] ---[ end trace c79bfd2669dd9a27
]---
Oct 23 17:38:22 linuxp kernel: [141330.499497] EIP: m_next+0x1c/0x44
Oct 23 17:38:22 linuxp kernel: [141330.499503] Code: 24 08 d4 e6 c1 e8 1a 77 e2
ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24
8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff
31 ff 85
Oct 23 17:38:22 linuxp kernel: [141330.499509] EAX: 021d2001 EBX: 00000000 ECX:
eeb9e56c EDX: eca0f000
Oct 23 17:38:22 linuxp kernel: [141330.499514] ESI: 00000000 EDI: c128cad0 EBP:
e59bff0c ESP: e59bff00
Oct 23 17:38:22 linuxp kernel: [141330.499519] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:38:22 linuxp kernel: [141330.499524] CR0: 80050033 CR2: 021d202d CR3:
2606c000 CR4: 003506f0
Oct 23 17:38:22 linuxp kernel: [141330.499529] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 17:38:22 linuxp kernel: [141330.499532] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.655918] BUG: unable to handle page fault
for address: 021d2001
Oct 23 18:11:53 linuxp kernel: [143342.655929] #PF: supervisor read access in
kernel mode
Oct 23 18:11:53 linuxp kernel: [143342.655933] #PF: error_code(0x0000) -
not-present page
Oct 23 18:11:53 linuxp kernel: [143342.655948] Oops: 0000 [#3] SMP PTI
Oct 23 18:11:53 linuxp kernel: [143342.655956] CPU: 2 PID: 6287 Comm: DOM
Worker Tainted: G      D   I       5.9.1 #1
Oct 23 18:11:53 linuxp kernel: [143342.655960] Hardware name: Notebook
                W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 18:11:53 linuxp kernel: [143342.655971] EIP: acct_collect+0x4c/0x166
Oct 23 18:11:53 linuxp kernel: [143342.655978] Code: 00 00 85 c9 0f 84 2c 01 00
00 8b 87 a4 02 00 00 83 c0 44 e8 09 8b aa 00 8b 87 a4 02 00 00 8b 00 85 c0 0f
84 15 01 00 00 31 d2 <2b> 10 03 50 04 8b 40 08 85 c0 75 f4 89 d7 c1 ef 0a 64 a1
dc 26 1b
Oct 23 18:11:53 linuxp kernel: [143342.655985] EAX: 021d2001 EBX: 0000000f ECX:
eea698c0 EDX: 06744fff
Oct 23 18:11:53 linuxp kernel: [143342.655991] ESI: eed4f900 EDI: e5189700 EBP:
e551de54 ESP: e551de48
Oct 23 18:11:53 linuxp kernel: [143342.655998] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00210202
Oct 23 18:11:53 linuxp kernel: [143342.656004] CR0: 80050033 CR2: 021d2001 CR3:
250c6000 CR4: 003506f0
Oct 23 18:11:53 linuxp kernel: [143342.656008] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 18:11:53 linuxp kernel: [143342.656012] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.656015] Call Trace:
Oct 23 18:11:53 linuxp kernel: [143342.656024]  do_exit+0x168/0xa5d
Oct 23 18:11:53 linuxp kernel: [143342.656033]  ?
prepare_to_wait_event+0x5a/0xc8
Oct 23 18:11:53 linuxp kernel: [143342.656039]  do_group_exit+0x35/0x8a
Oct 23 18:11:53 linuxp kernel: [143342.656046]  get_signal+0x146/0x88b
Oct 23 18:11:53 linuxp kernel: [143342.656055]  arch_do_signal+0x23/0x594
Oct 23 18:11:53 linuxp kernel: [143342.656064]  ? vfs_read+0xe0/0x17f
Oct 23 18:11:53 linuxp kernel: [143342.656071]
exit_to_user_mode_prepare+0xd4/0x135
Oct 23 18:11:53 linuxp kernel: [143342.656080]
syscall_exit_to_user_mode+0x23/0x14d
Oct 23 18:11:53 linuxp kernel: [143342.656087]  do_int80_syscall_32+0x36/0x39
Oct 23 18:11:53 linuxp kernel: [143342.656093]  entry_INT80_32+0xf7/0xf7
Oct 23 18:11:53 linuxp kernel: [143342.656097] EIP: 0xafc314c4
Oct 23 18:11:53 linuxp kernel: [143342.656103] Code: 89 38 85 f6 78 73 8d 75 a7
66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 7d e8 89 f1 ba 01 00 00 00 b8 03 00
00 00 53 89 fb cd 80 <5b> 3d 01 f0 ff ff 72 10 89 c7 f7 df e8 eb ad 3d fd 83 ff
04 89 38
Oct 23 18:11:53 linuxp kernel: [143342.656107] EAX: fffffe00 EBX: 00000007 ECX:
90dfdd9f EDX: 00000001
Oct 23 18:11:53 linuxp kernel: [143342.656111] ESI: 90dfdd9f EDI: 00000007 EBP:
90dfddf8 ESP: 90dfdd7c
Oct 23 18:11:53 linuxp kernel: [143342.656115] DS: 007b ES: 007b FS: 0000 GS:
0033 SS: 007b EFLAGS: 00200206
Oct 23 18:11:53 linuxp kernel: [143342.656119] Modules linked in: appletalk

psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 18:11:53 linuxp kernel: [143342.656223] CR2: 00000000021d2001
Oct 23 18:11:53 linuxp kernel: [143342.656230] ---[ end trace c79bfd2669dd9a28
]---
Oct 23 18:11:53 linuxp kernel: [143342.656238] EIP: m_next+0x1c/0x44
Oct 23 18:11:53 linuxp kernel: [143342.656243] Code: 24 08 d4 e6 c1 e8 1a 77 e2
ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24
8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff
31 ff 85
Oct 23 18:11:53 linuxp kernel: [143342.656248] EAX: 021d2001 EBX: 00000000 ECX:
eeb9e56c EDX: eca0f000
Oct 23 18:11:53 linuxp kernel: [143342.656252] ESI: 00000000 EDI: c128cad0 EBP:
e59bff0c ESP: e59bff00
Oct 23 18:11:53 linuxp kernel: [143342.656258] DS: 007b ES: 007b FS: 00d8 GS:
00e0 SS: 0068 EFLAGS: 00010202
Oct 23 18:11:53 linuxp kernel: [143342.656262] CR0: 80050033 CR2: 021d2001 CR3:
250c6000 CR4: 003506f0
Oct 23 18:11:53 linuxp kernel: [143342.656266] DR0: 00000000 DR1: 00000000 DR2:
00000000 DR3: 00000000
Oct 23 18:11:53 linuxp kernel: [143342.656270] DR6: fffe0ff0 DR7: 00000400
Oct 23 18:11:53 linuxp kernel: [143342.656274] Fixing recursive fault but

reboot is needed!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw
In reply to Andrew Morton
Quoted 25 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

            Bug ID: 210031
           Summary: unable to handle page fault for address - EIP:
                    khugepaged
           Product: Memory Management
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 15 lines

Thanks. That's a strange looking trace. I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

Quoted 9 lines

laptop Skylake i915 Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI

#2 means this is not the first oops. Do you have the very first?

#4 lore raw
Quoted 42 lines · Vlastimil Babka
Quoted 25 lines · Andrew Morton

(switched to email.  Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

            Bug ID: 210031
           Summary: unable to handle page fault for address - EIP:
                    khugepaged
           Product: Memory Management
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Quoted 15 lines

Thanks.  That's a strange looking trace.  I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

Quoted 9 lines

laptop Skylake i915 Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Quoted 2 lines

#2 means this is not the first oops. Do you have the very first?

Yes sorry.
It was a resume too as you will see with the time.
For oct 23 17:38 it is a resume too i think : i think that I hibernated and i forgot to look at something so i resumed.

Oct 23 13:22:10 linuxp dhcpcd[18199]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27045]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27053]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27061]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27067]: dhcpcd not running
Oct 23 17:31:13 linuxp kernel: [140897.356150] iwlwifi 0000:03:00.0: RF_KILL bit toggled to enable radio.
Oct 23 17:31:16 linuxp kernel: [140900.724013] Bluetooth: hci0: unexpected event for opcode 0xfc2f
Oct 23 17:31:39 linuxp kernel: [140928.245135] BUG: unable to handle page fault for address: 021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245147] #PF: supervisor read access in kernel mode
Oct 23 17:31:39 linuxp kernel: [140928.245152] #PF: error_code(0x0000) - not-present page
Oct 23 17:31:39 linuxp kernel: [140928.245169] Oops: 0000 [#1] SMP PTI
Oct 23 17:31:39 linuxp kernel: [140928.245179] CPU: 1 PID: 2302 Comm: Breakpad Server Tainted: G          I       5.9.1 #1
Oct 23 17:31:39 linuxp kernel: [140928.245184] Hardware name: Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 17:31:39 linuxp kernel: [140928.245197] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245205] Code: 24 08 d4 e6 c1 e8 1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245212] EAX: 021d2001 EBX: 00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245216] ESI: 00000000 EDI: c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245221] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245224] CR0: 80050033 CR2: 021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245228] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245231] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:31:39 linuxp kernel: [140928.245233] Call Trace:
Oct 23 17:31:39 linuxp kernel: [140928.245242]  ? quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245248]  seq_read+0x2bc/0x3e1
Oct 23 17:31:39 linuxp kernel: [140928.245254]  ? quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245260]  ? seq_open_private+0x17/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245266]  vfs_read+0x85/0x17f
Oct 23 17:31:39 linuxp kernel: [140928.245272]  ? mutex_lock+0x10/0x33
Oct 23 17:31:39 linuxp kernel: [140928.245277]  ksys_read+0x51/0xb6
Oct 23 17:31:39 linuxp kernel: [140928.245283] __ia32_sys_read+0x15/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245289] do_int80_syscall_32+0x2c/0x39
Oct 23 17:31:39 linuxp kernel: [140928.245295] entry_INT80_32+0xf7/0xf7
Oct 23 17:31:39 linuxp kernel: [140928.245299] EIP: 0xafc787c8
Oct 23 17:31:39 linuxp kernel: [140928.245304] Code: 00 00 c6 47 04 01 8b 47 08 85 c0 75 b6 80 7f 04 00 75 5c 8b 37 ba 00 04 00 00 8d 4c 07 0c 29 c2 b8 03 00 00 00 53 89 f3 cd 80 <5b> 89 c6 3d 01 f0 ff ff 73 32 85 f6 78 37 74 c8 01 77 08 8b 47 08
Oct 23 17:31:39 linuxp kernel: [140928.245308] EAX: ffffffda EBX: 00000040 ECX: a3c194fc EDX: 000003d8
Oct 23 17:31:39 linuxp kernel: [140928.245311] ESI: 00000040 EDI: a3c194c8 EBP: 995fece8 ESP: 995feccc
Oct 23 17:31:39 linuxp kernel: [140928.245316] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000216
Oct 23 17:31:39 linuxp kernel: [140928.245320] Modules linked in: appletalk psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop
Oct 23 17:31:39 linuxp kernel: [140928.245396] CR2: 00000000021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245402] ---[ end trace c79bfd2669dd9a26 ]---
Oct 23 17:31:39 linuxp kernel: [140928.245408] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245412] Code: 24 08 d4 e6 c1 e8 1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58 0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e 5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245417] EAX: 021d2001 EBX: 00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245420] ESI: 00000000 EDI: c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245424] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245427] CR0: 80050033 CR2: 021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245431] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245434] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:32:27 linuxp dhcpcd[27294]: dhcpcd not running
Oct 23 17:32:30 linuxp dhcpcd[27305]: dhcpcd not running
Oct 23 17:32:33 linuxp dhcpcd[27314]: dhcpcd not running
Oct 23 17:32:35 linuxp dhcpcd[27325]: dhcpcd not running
Oct 23 17:32:36 linuxp dhcpcd[27331]: dhcpcd not running
Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) - not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm: khugepaged Tainted: G      D   I       5.9.1 #1
Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name: Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06 02/22/2016
Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226
#5 lore raw
Quoted 45 lines · Newsmails
Quoted 42 lines · Vlastimil Babka
Quoted 40 lines · Andrew Morton

(switched to email.  Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

            Bug ID: 210031
           Summary: unable to handle page fault for address - EIP:
                    khugepaged
           Product: Memory Management
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Thanks.  That's a strange looking trace.  I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

Quoted 9 lines

laptop Skylake i915 Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Quoted 6 lines
Quoted 2 lines

#2 means this is not the first oops. Do you have the very first?

Yes sorry.
It was a resume too as you will see with the time.
For oct 23 17:38 it is a resume too i think : i think that I hibernated and i forgot to look at something so i resumed.

It's always 021d202d (3 times) and always where a vma might be accessed (a /proc file, khugepaged(), acct_collect()) so I would assume a struct vma was corrupted in the hibernate/resume process. Could be also firmware related AFAIK and there's I taint flag which means some buggy firmware workaround is in effect.

Quoted 115 lines
Oct 23 13:22:10 linuxp dhcpcd[18199]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27045]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27053]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27061]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27067]: dhcpcd not running
Oct 23 17:31:13 linuxp kernel: [140897.356150] iwlwifi 0000:03:00.0:
RF_KILL bit toggled to enable radio.
Oct 23 17:31:16 linuxp kernel: [140900.724013] Bluetooth: hci0:
unexpected event for opcode 0xfc2f
Oct 23 17:31:39 linuxp kernel: [140928.245135] BUG: unable to handle
page fault for address: 021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245147] #PF: supervisor read
access in kernel mode
Oct 23 17:31:39 linuxp kernel: [140928.245152] #PF: error_code(0x0000) -
not-present page
Oct 23 17:31:39 linuxp kernel: [140928.245169] Oops: 0000 [#1] SMP PTI
Oct 23 17:31:39 linuxp kernel: [140928.245179] CPU: 1 PID: 2302 Comm:
Breakpad Server Tainted: G          I       5.9.1 #1
Oct 23 17:31:39 linuxp kernel: [140928.245184] Hardware name:
Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06
02/22/2016
Oct 23 17:31:39 linuxp kernel: [140928.245197] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245205] Code: 24 08 d4 e6 c1 e8
1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58
0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e
5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245212] EAX: 021d2001 EBX:
00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245216] ESI: 00000000 EDI:
c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245221] DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245224] CR0: 80050033 CR2:
021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245228] DR0: 00000000 DR1:
00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245231] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:31:39 linuxp kernel: [140928.245233] Call Trace:
Oct 23 17:31:39 linuxp kernel: [140928.245242]  ?
quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245248]  seq_read+0x2bc/0x3e1
Oct 23 17:31:39 linuxp kernel: [140928.245254]  ?
quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245260]  ? seq_open_private+0x17/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245266]  vfs_read+0x85/0x17f
Oct 23 17:31:39 linuxp kernel: [140928.245272]  ? mutex_lock+0x10/0x33
Oct 23 17:31:39 linuxp kernel: [140928.245277]  ksys_read+0x51/0xb6
Oct 23 17:31:39 linuxp kernel: [140928.245283] __ia32_sys_read+0x15/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245289] do_int80_syscall_32+0x2c/0x39
Oct 23 17:31:39 linuxp kernel: [140928.245295] entry_INT80_32+0xf7/0xf7
Oct 23 17:31:39 linuxp kernel: [140928.245299] EIP: 0xafc787c8
Oct 23 17:31:39 linuxp kernel: [140928.245304] Code: 00 00 c6 47 04 01
8b 47 08 85 c0 75 b6 80 7f 04 00 75 5c 8b 37 ba 00 04 00 00 8d 4c 07 0c
29 c2 b8 03 00 00 00 53 89 f3 cd 80 <5b> 89 c6 3d 01 f0 ff ff 73 32 85
f6 78 37 74 c8 01 77 08 8b 47 08
Oct 23 17:31:39 linuxp kernel: [140928.245308] EAX: ffffffda EBX:
00000040 ECX: a3c194fc EDX: 000003d8
Oct 23 17:31:39 linuxp kernel: [140928.245311] ESI: 00000040 EDI:
a3c194c8 EBP: 995fece8 ESP: 995feccc
Oct 23 17:31:39 linuxp kernel: [140928.245316] DS: 007b ES: 007b FS:
0000 GS: 0033 SS: 007b EFLAGS: 00000216
Oct 23 17:31:39 linuxp kernel: [140928.245320] Modules linked in:

appletalk psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 17:31:39 linuxp kernel: [140928.245396] CR2: 00000000021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245402] ---[ end trace
c79bfd2669dd9a26 ]---
Oct 23 17:31:39 linuxp kernel: [140928.245408] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245412] Code: 24 08 d4 e6 c1 e8
1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58
0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e
5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245417] EAX: 021d2001 EBX:
00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245420] ESI: 00000000 EDI:
c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245424] DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245427] CR0: 80050033 CR2:
021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245431] DR0: 00000000 DR1:
00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245434] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:32:27 linuxp dhcpcd[27294]: dhcpcd not running
Oct 23 17:32:30 linuxp dhcpcd[27305]: dhcpcd not running
Oct 23 17:32:33 linuxp dhcpcd[27314]: dhcpcd not running
Oct 23 17:32:35 linuxp dhcpcd[27325]: dhcpcd not running
Oct 23 17:32:36 linuxp dhcpcd[27331]: dhcpcd not running
Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle
page fault for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read
access in kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm:
khugepaged Tainted: G      D   I       5.9.1 #1
Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name:
Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06
02/22/2016
Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226
#6 lore raw
Quoted 48 lines · Vlastimil Babka
Quoted 47 lines · Newsmails
Quoted 44 lines · Vlastimil Babka
Quoted 25 lines · Andrew Morton

(switched to email.  Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 18 lines · On Tue, 03 Nov 2020 20:00:58 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=210031

            Bug ID: 210031
           Summary: unable to handle page fault for address - EIP:
                    khugepaged
           Product: Memory Management
           Version: 2.5
    Kernel Version: 5.9.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Quoted 15 lines

Thanks.  That's a strange looking trace.  I'll optimistically cc some people who have been working in that area lately.

What caused this kernel to be tainted?

Quoted 9 lines

laptop Skylake i915 Distribution : slackware 14.2 32 bits

Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle page fault
for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read access in
kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI

#2 means this is not the first oops. Do you have the very first?

Quoted 7 lines
Quoted 4 lines

Yes sorry.
It was a resume too as you will see with the time.
For oct 23 17:38 it is a resume too i think : i think that I hibernated and i forgot to look at something so i resumed.

It's always 021d202d (3 times) and always where a vma might be accessed (a /proc file, khugepaged(), acct_collect()) so I would assume a struct vma was corrupted in the hibernate/resume process. Could be also firmware related AFAIK and there's I taint flag which means some buggy firmware workaround is in effect.

It seem's that you are right concerning the buggy firmware. Here are lines at start in syslog :
[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb2 (or later) MDS CPU bug present and SMT on, data leak possible.
TAA CPU bug present and SMT on, data leak possible.

Quoted 117 lines
Quoted 116 lines
Oct 23 13:22:10 linuxp dhcpcd[18199]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27045]: dhcpcd not running
Oct 23 15:55:49 linuxp dhcpcd[27053]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27061]: dhcpcd not running
Oct 23 15:55:50 linuxp dhcpcd[27067]: dhcpcd not running
Oct 23 17:31:13 linuxp kernel: [140897.356150] iwlwifi 0000:03:00.0:
RF_KILL bit toggled to enable radio.
Oct 23 17:31:16 linuxp kernel: [140900.724013] Bluetooth: hci0:
unexpected event for opcode 0xfc2f
Oct 23 17:31:39 linuxp kernel: [140928.245135] BUG: unable to handle
page fault for address: 021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245147] #PF: supervisor read
access in kernel mode
Oct 23 17:31:39 linuxp kernel: [140928.245152] #PF: error_code(0x0000) -
not-present page
Oct 23 17:31:39 linuxp kernel: [140928.245169] Oops: 0000 [#1] SMP PTI
Oct 23 17:31:39 linuxp kernel: [140928.245179] CPU: 1 PID: 2302 Comm:
Breakpad Server Tainted: G          I       5.9.1 #1
Oct 23 17:31:39 linuxp kernel: [140928.245184] Hardware name:
Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06
02/22/2016
Oct 23 17:31:39 linuxp kernel: [140928.245197] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245205] Code: 24 08 d4 e6 c1 e8
1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58
0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e
5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245212] EAX: 021d2001 EBX:
00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245216] ESI: 00000000 EDI:
c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245221] DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245224] CR0: 80050033 CR2:
021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245228] DR0: 00000000 DR1:
00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245231] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:31:39 linuxp kernel: [140928.245233] Call Trace:
Oct 23 17:31:39 linuxp kernel: [140928.245242]  ?
quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245248] seq_read+0x2bc/0x3e1
Oct 23 17:31:39 linuxp kernel: [140928.245254]  ?
quota_send_warning+0x220/0x220
Oct 23 17:31:39 linuxp kernel: [140928.245260]  ? seq_open_private+0x17/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245266] vfs_read+0x85/0x17f
Oct 23 17:31:39 linuxp kernel: [140928.245272]  ? mutex_lock+0x10/0x33
Oct 23 17:31:39 linuxp kernel: [140928.245277] ksys_read+0x51/0xb6
Oct 23 17:31:39 linuxp kernel: [140928.245283] __ia32_sys_read+0x15/0x17
Oct 23 17:31:39 linuxp kernel: [140928.245289] do_int80_syscall_32+0x2c/0x39
Oct 23 17:31:39 linuxp kernel: [140928.245295] entry_INT80_32+0xf7/0xf7
Oct 23 17:31:39 linuxp kernel: [140928.245299] EIP: 0xafc787c8
Oct 23 17:31:39 linuxp kernel: [140928.245304] Code: 00 00 c6 47 04 01
8b 47 08 85 c0 75 b6 80 7f 04 00 75 5c 8b 37 ba 00 04 00 00 8d 4c 07 0c
29 c2 b8 03 00 00 00 53 89 f3 cd 80 <5b> 89 c6 3d 01 f0 ff ff 73 32 85
f6 78 37 74 c8 01 77 08 8b 47 08
Oct 23 17:31:39 linuxp kernel: [140928.245308] EAX: ffffffda EBX:
00000040 ECX: a3c194fc EDX: 000003d8
Oct 23 17:31:39 linuxp kernel: [140928.245311] ESI: 00000040 EDI:
a3c194c8 EBP: 995fece8 ESP: 995feccc
Oct 23 17:31:39 linuxp kernel: [140928.245316] DS: 007b ES: 007b FS:
0000 GS: 0033 SS: 007b EFLAGS: 00000216
Oct 23 17:31:39 linuxp kernel: [140928.245320] Modules linked in:

appletalk psnap llc ipv6 fuse uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_v4l2 hid_generic btrtl btbcm videobuf2_common btintel videodev bluetooth mc usbhid hid ecdh_generic ecc rtsx_pci_sdmmc joydev mmc_core snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i2c_dev ledtrig_audio coretemp i915 hwmon iwlmvm r8169 i2c_algo_bit x86_pkg_temp_thermal mac80211 drm_kms_helper intel_powerclamp rtsx_pci realtek drm kvm_intel mdio_devres mfd_core libphy kvm intel_gtt irqbypass crc32_pclmul iwlwifi snd_hda_intel agpgart psmouse evdev crc32c_intel serio_raw fb_sys_fops cfg80211 snd_intel_dspcfg snd_hda_codec rfkill snd_hda_core syscopyarea wmi thermal snd_hwdep battery snd_pcm sysfillrect sysimgblt snd_timer xhci_pci i2c_i801 button xhci_hcd snd i2c_smbus intel_pch_thermal mei_me soundcore video mei i2c_core acpi_pad ac loop

Oct 23 17:31:39 linuxp kernel: [140928.245396] CR2: 00000000021d2001
Oct 23 17:31:39 linuxp kernel: [140928.245402] ---[ end trace
c79bfd2669dd9a26 ]---
Oct 23 17:31:39 linuxp kernel: [140928.245408] EIP: m_next+0x1c/0x44
Oct 23 17:31:39 linuxp kernel: [140928.245412] Code: 24 08 d4 e6 c1 e8
1a 77 e2 ff eb d6 cc cc 3e 8d 74 26 00 55 89 e5 57 56 53 8b 40 44 8b 58
0c 39 da 74 24 8b 42 08 85 c0 74 0e <8b> 30 31 ff 89 31 89 79 04 5b 5e
5f 5d c3 be ff ff ff ff 31 ff 85
Oct 23 17:31:39 linuxp kernel: [140928.245417] EAX: 021d2001 EBX:
00000000 ECX: eeb9e56c EDX: eca0f000
Oct 23 17:31:39 linuxp kernel: [140928.245420] ESI: 00000000 EDI:
c128cad0 EBP: e59bff0c ESP: e59bff00
Oct 23 17:31:39 linuxp kernel: [140928.245424] DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068 EFLAGS: 00010202
Oct 23 17:31:39 linuxp kernel: [140928.245427] CR0: 80050033 CR2:
021d2001 CR3: 2606c000 CR4: 003506f0
Oct 23 17:31:39 linuxp kernel: [140928.245431] DR0: 00000000 DR1:
00000000 DR2: 00000000 DR3: 00000000
Oct 23 17:31:39 linuxp kernel: [140928.245434] DR6: fffe0ff0 DR7: 00000400
Oct 23 17:32:27 linuxp dhcpcd[27294]: dhcpcd not running
Oct 23 17:32:30 linuxp dhcpcd[27305]: dhcpcd not running
Oct 23 17:32:33 linuxp dhcpcd[27314]: dhcpcd not running
Oct 23 17:32:35 linuxp dhcpcd[27325]: dhcpcd not running
Oct 23 17:32:36 linuxp dhcpcd[27331]: dhcpcd not running
Oct 23 17:38:22 linuxp kernel: [141330.499234] BUG: unable to handle
page fault for address: 021d202d
Oct 23 17:38:22 linuxp kernel: [141330.499245] #PF: supervisor read
access in kernel mode
Oct 23 17:38:22 linuxp kernel: [141330.499250] #PF: error_code(0x0000) -
not-present page
Oct 23 17:38:22 linuxp kernel: [141330.499265] Oops: 0000 [#2] SMP PTI
Oct 23 17:38:22 linuxp kernel: [141330.499274] CPU: 0 PID: 37 Comm:
khugepaged Tainted: G      D   I       5.9.1 #1
Oct 23 17:38:22 linuxp kernel: [141330.499278] Hardware name:
Notebook                         W65_W67RZ/W65_W67RZ, BIOS 1.05.06
02/22/2016
Oct 23 17:38:22 linuxp kernel: [141330.499289] EIP: khugepaged+0x599/0x2226