FS#70929 - linux-lts-5.10.37-1

Attached to Project: Arch Linux
Opened by Lacsap (lacsap) - Tuesday, 18 May 2021, 08:30 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 19 May 2021, 16:42 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

hi,

I just upgraded my system and the new kernel linux-lts-5.10.37-1 does not work as expected.
I have a lot of messages at startup ("debug style").
the password request (Luks) takes a very long time to arrive (amount of entropy : typing on the keyboard speeds up).
the /boot partition (ESP) is not mounted automatically and switches the system to emergency mode.

the return to the previous version (5.10.36-1-lts) puts everything back in order.

regards.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

linux-lts-5.10.37-1
no particular change in my system configuration between 5.10.36-1-lts and 5.10.37-1-lts.

Steps to reproduce:

pacman -Su
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 19 May 2021, 16:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.10.38-1
Comment by Dominic Schaub (dominic.schaub) - Tuesday, 18 May 2021, 17:13 GMT
I can confirm that this bug affects our systems too, with the same cryptsetup issue as described by OP. A null pointer dereference appears in dmesg:

[ 1.394901] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 1.394928] #PF: supervisor read access in kernel mode
[ 1.394946] #PF: error_code(0x0000) - not-present page
[ 1.394964] PGD 0 P4D 0
[ 1.394976] Oops: 0000 [#1] SMP PTI
[ 1.394992] CPU: 1 PID: 197 Comm: systemd-udevd Not tainted 5.10.37-1-lts #1
[ 1.395015] Hardware name: LENOVO 20QN002LUS/20QN002LUS, BIOS N2NET35W (1.20 ) 01/08/2020
[ 1.395046] RIP: 0010:__domain_mapping+0xa6/0x3a0
[ 1.395065] Code: 0a 00 00 02 0f 85 16 02 00 00 4c 89 d3 48 c1 e3 0c 4c 09 fb 4d 85 c0 0f 84 2e 01 00 00 45 31 e4 31 ed 45 31 c9 4d 85 e4 75 58 <41> 8b 45 08 49 8b 5d 00 41 8b 4d 0c 89 c2 48 83 e3 fc 48 2b 1d b1
[ 1.395126] RSP: 0018:ffffb9728080b968 EFLAGS: 00010246
[ 1.395145] RAX: 0000000000000000 RBX: 000000010973a003 RCX: 0000000000000024
[ 1.395170] RDX: 0000000000000000 RSI: 00000000000fffff RDI: ffff9e7442dcee00
[ 1.395195] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 1.395221] R10: 000000000010973a R11: ffff9e7442dcee00 R12: 0000000000000000
[ 1.395246] R13: 0000000000000000 R14: 00000000000fffff R15: 0000000000000003
[ 1.395271] FS: 00007f921103ea40(0000) GS:ffff9e7b7e440000(0000) knlGS:0000000000000000
[ 1.395299] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.395320] CR2: 0000000000000008 CR3: 00000001094e4001 CR4: 00000000003706e0
[ 1.395345] Call Trace:
[ 1.395358] ? alloc_iova_fast+0x48/0x260
[ 1.395375] domain_mapping+0x1b/0xa0
[ 1.395390] __intel_map_single+0x103/0x1e0
[ 1.395407] intel_alloc_coherent+0xc6/0x170
[ 1.395425] xhci_mem_init+0x1b9/0xf60
[ 1.395440] ? trace_xhci_dbg_context_change+0x40/0x40
[ 1.395460] ? xhci_dbg_trace+0x6b/0xb0
[ 1.395476] ? recalibrate_cpu_khz+0x10/0x10
[ 1.395494] ? xhci_pci_suspend+0x140/0x140 [xhci_pci]
[ 1.395513] xhci_init+0x81/0x1d0
[ 1.395528] ? xhci_pci_suspend+0x140/0x140 [xhci_pci]
[ 1.395547] xhci_gen_setup+0x279/0x350
[ 1.395563] xhci_pci_setup+0x4f/0x180 [xhci_pci]
[ 1.395582] usb_add_hcd.cold+0x23f/0x754
[ 1.395598] usb_hcd_pci_probe+0x211/0x3f0
[ 1.395615] xhci_pci_probe+0x80/0x1d6 [xhci_pci]
[ 1.395634] local_pci_probe+0x42/0x80
[ 1.395649] pci_device_probe+0xfa/0x1b0
[ 1.395665] really_probe+0xf2/0x440
[ 1.395681] driver_probe_device+0xe1/0x150
[ 1.395697] device_driver_attach+0xa1/0xb0
[ 1.395713] __driver_attach+0x8a/0x150
[ 1.395729] ? device_driver_attach+0xb0/0xb0
[ 1.395745] ? device_driver_attach+0xb0/0xb0
[ 1.395762] bus_for_each_dev+0x78/0xc0
[ 1.395777] bus_add_driver+0x12b/0x1e0
[ 1.395792] driver_register+0x8f/0xe0
[ 1.395807] ? 0xffffffffc0230000
[ 1.395821] do_one_initcall+0x44/0x1d0
[ 1.395837] ? do_init_module+0x23/0x260
[ 1.395853] ? kmem_cache_alloc_trace+0x130/0x260
[ 1.395872] do_init_module+0x5c/0x260
[ 1.395887] __do_sys_finit_module+0xb1/0x110
[ 1.395905] do_syscall_64+0x33/0x40
[ 1.395921] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1.395940] RIP: 0033:0x7f921193618d
[ 1.395954] Code: b4 0c 00 0f 05 eb a9 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b3 6c 0c 00 f7 d8 64 89 01 48
[ 1.396015] RSP: 002b:00007fff620c8798 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 1.396042] RAX: ffffffffffffffda RBX: 000055bb80c96940 RCX: 00007f921193618d
[ 1.396067] RDX: 0000000000000000 RSI: 00007f9211a8e9bd RDI: 000000000000000c
[ 1.396092] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000007
[ 1.396116] R10: 000000000000000c R11: 0000000000000246 R12: 00007f9211a8e9bd
[ 1.396141] R13: 0000000000000000 R14: 000055bb80c90060 R15: 000055bb80c96940
[ 1.396167] Modules linked in: crypto_simd cryptd glue_helper rtsx_pci xhci_pci(+) xhci_pci_renesas i8042 serio i915 video intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
[ 1.396240] CR2: 0000000000000008
[ 1.396254] ---[ end trace 95da82f74f28760f ]---
[ 1.396272] RIP: 0010:__domain_mapping+0xa6/0x3a0
[ 1.397381] Code: 0a 00 00 02 0f 85 16 02 00 00 4c 89 d3 48 c1 e3 0c 4c 09 fb 4d 85 c0 0f 84 2e 01 00 00 45 31 e4 31 ed 45 31 c9 4d 85 e4 75 58 <41> 8b 45 08 49 8b 5d 00 41 8b 4d 0c 89 c2 48 83 e3 fc 48 2b 1d b1
[ 1.398554] RSP: 0018:ffffb9728080b968 EFLAGS: 00010246
[ 1.399538] RAX: 0000000000000000 RBX: 000000010973a003 RCX: 0000000000000024
[ 1.400527] RDX: 0000000000000000 RSI: 00000000000fffff RDI: ffff9e7442dcee00
[ 1.401513] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 1.402516] R10: 000000000010973a R11: ffff9e7442dcee00 R12: 0000000000000000
[ 1.403504] R13: 0000000000000000 R14: 00000000000fffff R15: 0000000000000003
[ 1.404483] FS: 00007f921103ea40(0000) GS:ffff9e7b7e440000(0000) knlGS:0000000000000000
[ 1.405460] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.406405] CR2: 0000000000000008 CR3: 00000001094e4001 CR4: 00000000003706e0

Some further behavior: The system cannot be restarted or powered off normally, and the kernel ignores my custom software's reboot system call. This kernel is completely unusable for us.
Comment by Andreas Radke (AndyRTR) - Tuesday, 18 May 2021, 19:23 GMT
Try appending "intel_iommu=off" to the kernel append line. If it boots up this is a known issue and already fixed in 5.10.38rc1 - check kernel stable mailing list.
Comment by Dominic Schaub (dominic.schaub) - Tuesday, 18 May 2021, 19:40 GMT
@Andreas Radke. Yes, that command-line argument suppressed the bug on my system. Thank you.
Comment by Lacsap (lacsap) - Wednesday, 19 May 2021, 08:22 GMT
[ 0.000000] Linux version 5.10.37-1-lts (linux-lts@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Fri, 14 May 2021 13:37:05 +0000
[ 0.000000] Command line: initrd=/boot/initramfs-linux-lts.img cryptdevice=UUID=cc89113a-b868-4a27-b985-3926b73f3f7a:system root=/dev/mapper/system loglevel=3 udev.log-priority=err elevator=deadline vga=current
...
[ 2.712926] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 2.712959] #PF: supervisor read access in kernel mode
[ 2.712979] #PF: error_code(0x0000) - not-present page
[ 2.712999] PGD 0 P4D 0
[ 2.713012] Oops: 0000 [#1] SMP NOPTI
[ 2.713028] CPU: 5 PID: 153 Comm: systemd-udevd Not tainted 5.10.37-1-lts #1
[ 2.713053] Hardware name: LENOVO 20U90006FR/20U90006FR, BIOS N2WET24W (1.14 ) 10/15/2020
[ 2.713087] RIP: 0010:__domain_mapping+0xa6/0x3a0
[ 2.713107] Code: 0a 00 00 02 0f 85 16 02 00 00 4c 89 d3 48 c1 e3 0c 4c 09 fb 4d 85 c0 0f 84 2e 01 00 00 45 31 e4 31 ed 45 31 c9 4d 85 e4 75 58 <41> 8b 45 08 49 8b 5d 00 41 8b 4d 0c 89 c2 48 83 e3 fc 48 2b 1d b1
[ 2.713185] RSP: 0018:ffffb3fb805af968 EFLAGS: 00010246
[ 2.713204] RAX: 0000000000000000 RBX: 000000010a20d003 RCX: 0000000000000024
[ 2.713228] RDX: 0000000000000000 RSI: 00000000000fffff RDI: ffff8cc6024f0000
[ 2.713251] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 2.713275] R10: 000000000010a20d R11: ffff8cc6024f0000 R12: 0000000000000000
[ 2.713299] R13: 0000000000000000 R14: 00000000000fffff R15: 0000000000000003
[ 2.713324] FS: 00007fdfbc154a40(0000) GS:ffff8cc96f740000(0000) knlGS:0000000000000000
[ 2.713351] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.713370] CR2: 0000000000000008 CR3: 0000000109908006 CR4: 00000000003706e0
[ 2.713394] Call Trace:
[ 2.713408] ? alloc_iova_fast+0x48/0x260
[ 2.713424] domain_mapping+0x1b/0xa0
[ 2.713440] __intel_map_single+0x103/0x1e0
[ 2.713457] intel_alloc_coherent+0xc6/0x170
[ 2.713475] xhci_mem_init+0x1b9/0xf60
[ 2.713489] ? xhci_dbg_trace+0x6b/0xb0
[ 2.713506] ? xhci_pci_suspend+0x140/0x140 [xhci_pci]
[ 2.713524] xhci_init+0x81/0x1d0
[ 2.713538] ? xhci_pci_suspend+0x140/0x140 [xhci_pci]
[ 2.713557] xhci_gen_setup+0x279/0x350
[ 2.713573] xhci_pci_setup+0x4f/0x180 [xhci_pci]
[ 2.713591] usb_add_hcd.cold+0x23f/0x754
[ 2.713607] usb_hcd_pci_probe+0x211/0x3f0
[ 2.713624] xhci_pci_probe+0x80/0x1d6 [xhci_pci]
[ 2.713642] local_pci_probe+0x42/0x80
[ 2.713657] pci_device_probe+0xfa/0x1b0
[ 2.713674] really_probe+0xf2/0x440
[ 2.713688] driver_probe_device+0xe1/0x150
[ 2.713702] device_driver_attach+0xa1/0xb0
[ 2.713717] __driver_attach+0x8a/0x150
[ 2.713729] ? device_driver_attach+0xb0/0xb0
[ 2.713744] ? device_driver_attach+0xb0/0xb0
[ 2.713758] bus_for_each_dev+0x78/0xc0
[ 2.713771] bus_add_driver+0x12b/0x1e0
[ 2.713782] driver_register+0x8f/0xe0
[ 2.713795] ? 0xffffffffc0445000
[ 2.713808] do_one_initcall+0x44/0x1d0
[ 2.713822] ? do_init_module+0x23/0x260
[ 2.713836] ? kmem_cache_alloc_trace+0x130/0x260
[ 2.713853] do_init_module+0x5c/0x260
[ 2.713866] __do_sys_finit_module+0xb1/0x110
[ 2.713882] do_syscall_64+0x33/0x40
[ 2.713896] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 2.713912] RIP: 0033:0x7fdfbca4c18d
[ 2.713925] Code: b4 0c 00 0f 05 eb a9 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b3 6c 0c 00 f7 d8 64 89 01 48
[ 2.713976] RSP: 002b:00007ffcf9885ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 2.713999] RAX: ffffffffffffffda RBX: 000055af3ec93560 RCX: 00007fdfbca4c18d
[ 2.714020] RDX: 0000000000000000 RSI: 00007fdfbcba49bd RDI: 000000000000000c
[ 2.714042] RBP: 0000000000020000 R08: 0000000000000000 R09: 000055af3ec91a30
[ 2.714063] R10: 000000000000000c R11: 0000000000000246 R12: 00007fdfbcba49bd
[ 2.714084] R13: 0000000000000000 R14: 000055af3ec8bc30 R15: 000055af3ec93560
[ 2.714106] Modules linked in: xhci_pci(+) xhci_pci_renesas i8042 serio usbhid nouveau mxm_wmi wmi radeon ttm i915 video intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart ext4 crc32c_generic crc32c_intel crc16 mbcache jbd2
[ 2.714180] CR2: 0000000000000008
[ 2.714192] ---[ end trace 9cc521efad7c1be7 ]---
...
[ 131.113610] BUG: kernel NULL pointer dereference, address: 0000000000000008
[ 131.115040] #PF: supervisor read access in kernel mode
[ 131.116413] #PF: error_code(0x0000) - not-present page
[ 131.117783] PGD 0 P4D 0
[ 131.119160] Oops: 0000 [#2] SMP NOPTI
[ 131.120450] CPU: 5 PID: 296 Comm: systemd-udevd Tainted: G D 5.10.37-1-lts #1
[ 131.121713] Hardware name: LENOVO 20U90006FR/20U90006FR, BIOS N2WET24W (1.14 ) 10/15/2020
[ 131.122950] RIP: 0010:__domain_mapping+0xa6/0x3a0
[ 131.124182] Code: 0a 00 00 02 0f 85 16 02 00 00 4c 89 d3 48 c1 e3 0c 4c 09 fb 4d 85 c0 0f 84 2e 01 00 00 45 31 e4 31 ed 45 31 c9 4d 85 e4 75 58 <41> 8b 45 08 49 8b 5d 00 41 8b 4d 0c 89 c2 48 83 e3 fc 48 2b 1d b1
[ 131.125465] RSP: 0000:ffffb3fb80753a38 EFLAGS: 00010246
[ 131.126745] RAX: 0000000000000000 RBX: 0000000102ab0003 RCX: 0000000000000024
[ 131.128023] RDX: 0000000000000000 RSI: 00000000000fffff RDI: ffff8cc6024f6300
[ 131.129340] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
[ 131.130895] R10: 0000000000102ab0 R11: ffff8cc6024f6300 R12: 0000000000000000
[ 131.132172] R13: 0000000000000000 R14: 00000000000fffff R15: 0000000000000003
[ 131.133444] FS: 00007f71329fba40(0000) GS:ffff8cc96f740000(0000) knlGS:0000000000000000
[ 131.134761] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 131.136031] CR2: 0000000000000008 CR3: 0000000109cd8003 CR4: 00000000003706e0
[ 131.137320] Call Trace:
[ 131.138616] ? alloc_iova_fast+0x48/0x260
[ 131.139928] domain_mapping+0x1b/0xa0
[ 131.141200] __intel_map_single+0x103/0x1e0
[ 131.142463] intel_alloc_coherent+0xc6/0x170
[ 131.143742] tb_ring_alloc+0x127/0x380 [thunderbolt]
[ 131.145040] tb_ring_alloc_tx+0x1b/0x20 [thunderbolt]
[ 131.146323] tb_ctl_alloc+0xbf/0x170 [thunderbolt]
[ 131.147598] tb_domain_add+0x41/0x150 [thunderbolt]
[ 131.148885] nhi_probe+0x281/0x530 [thunderbolt]
[ 131.150757] local_pci_probe+0x42/0x80
[ 131.154507] pci_device_probe+0xfa/0x1b0
[ 131.156402] really_probe+0xf2/0x440
[ 131.157640] driver_probe_device+0xe1/0x150
[ 131.158898] device_driver_attach+0xa1/0xb0
[ 131.160127] __driver_attach+0x8a/0x150
[ 131.161337] ? device_driver_attach+0xb0/0xb0
[ 131.162530] ? device_driver_attach+0xb0/0xb0
[ 131.163715] bus_for_each_dev+0x78/0xc0
[ 131.164889] bus_add_driver+0x12b/0x1e0
[ 131.166044] driver_register+0x8f/0xe0
[ 131.167192] ? 0xffffffffc0f70000
[ 131.168344] nhi_init+0x2d/0x1000 [thunderbolt]
[ 131.169514] do_one_initcall+0x44/0x1d0
[ 131.170649] ? do_init_module+0x23/0x260
[ 131.171768] ? kmem_cache_alloc_trace+0x130/0x260
[ 131.172866] do_init_module+0x5c/0x260
[ 131.173999] __do_sys_init_module+0x12e/0x1b0
[ 131.175104] do_syscall_64+0x33/0x40
[ 131.176190] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 131.177268] RIP: 0033:0x7f71332f932e
[ 131.178347] Code: 48 8b 0d 45 0b 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 12 0b 0c 00 f7 d8 64 89 01 48
[ 131.179510] RSP: 002b:00007ffccb5c1a38 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 131.181147] RAX: ffffffffffffffda RBX: 0000561f4b73c460 RCX: 00007f71332f932e
[ 131.185426] RDX: 00007f713344b9bd RSI: 0000000000088968 RDI: 0000561f4bf4a610
[ 131.188964] RBP: 0000561f4bf4a610 R08: 0000561f4b734fb0 R09: 00007ffccb5c0248
[ 131.191333] R10: 0000561a2a990164 R11: 0000000000000246 R12: 00007f713344b9bd
[ 131.194426] R13: 0000000000000001 R14: 0000561f4b73c380 R15: 0000561f4b73c460
[ 131.196741] Modules linked in: pcc_cpufreq(-) thunderbolt(+) fjes(-) acpi_cpufreq(-) mei_me mei intel_lpss_pci intel_lpss idma64 processor_thermal_device ucsi_acpi typec_ucsi intel_rapl_common intel_pch_thermal intel_soc_dts_iosf typec i2c_hid thinkpad_acpi ledtrig_audio rfkill snd soundcore int3403_thermal int340x_thermal_zone soc_button_array int3400_thermal acpi_thermal_rel acpi_pad intel_hid mac_hid sparse_keymap fuse bpf_preload dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core uas usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel serio_raw crypto_simd atkbd cryptd libps2 glue_helper xhci_pci(+) xhci_pci_renesas i8042 serio usbhid nouveau mxm_wmi wmi radeon ttm i915 video intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart ext4 crc32c_generic crc32c_intel crc16 mbcache jbd2
[ 131.201905] CR2: 0000000000000008
[ 131.203231] ---[ end trace 9cc521efad7c1be8 ]---
Comment by Lacsap (lacsap) - Wednesday, 19 May 2021, 08:24 GMT
like Dominic, the buged system cannot be restarted or powered off normally.

"intel_iommu=off" removes the bug.
Comment by Andreas Radke (AndyRTR) - Wednesday, 19 May 2021, 09:17 GMT
Please try 5.10.38-1 in testing repo.

Loading...