lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 01 Jul 2021 01:22:40 +0200
From:   Jonas Zeiger <jonas.zeiger@...pidae.net>
To:     linux-kernel@...r.kernel.org
Cc:     Jessica Yu <jeyu@...nel.org>
Subject: Module Loading Oops on 5.12.13, worked on 5.11.13

Hi all,

A Lenovo T14 Gen1 (AMD Ryzen 7 PRO 4750U) with kernel 5.12.13 apparently fails to load modules.

Kernel 5.11.13 works fine with module loading enabled.

I just built 5.12.14 without module loading support (builtin drivers/firmware) and it is fully functional (amdgpu, iwlwifi working).

Operating system is Debian bullseye/testing.

Journal of boot captured on 5.12.13:

...
Jun 30 18:31:48 sw-entw-jz kernel: BUG: unable to handle page fault for address: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: #PF: supervisor read access in kernel mode
Jun 30 18:31:48 sw-entw-jz kernel: #PF: error_code(0x0000) - not-present page
Jun 30 18:31:48 sw-entw-jz kernel: PGD b47a0c067 P4D b47a0c067 PUD b47a0d063 PMD 0 
Jun 30 18:31:48 sw-entw-jz kernel: Oops: 0000 [#1] PREEMPT SMP
Jun 30 18:31:48 sw-entw-jz kernel: CPU: 4 PID: 2606 Comm: systemd-modules Not tainted 5.12.13zlinux-svr-docker-wg #15
Jun 30 18:31:48 sw-entw-jz kernel: Hardware name: LENOVO 20UD0013GE/20UD0013GE, BIOS R1BET61W(1.30 ) 12/21/2020
Jun 30 18:31:48 sw-entw-jz kernel: RIP: 0010:__static_call_validate+0x9/0x75
Jun 30 18:31:48 sw-entw-jz kernel: Code: 01 d0 48 8b 70 04 48 8b 50 0c 48 01 f2 48 ff ca e8 84 ff ff ff eb d2 c3 cc cc cc cc cc cc 9c 58 c3 41 54 40 84 f6 49 89 fc 53 <8a> 1f 74 0a 80 fb e9 74 5f 80 fb c3 eb 34 80 fb e8 74 5>
Jun 30 18:31:48 sw-entw-jz kernel: RSP: 0018:ffff9aac80517c70 EFLAGS: 00010246
Jun 30 18:31:48 sw-entw-jz kernel: RAX: ffffffffa4a49a40 RBX: 0000000000000000 RCX: 0000000000000000
Jun 30 18:31:48 sw-entw-jz kernel: RDX: ffff98698639bc00 RSI: 0000000000000000 RDI: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: RBP: ffffffff8061e53b R08: 0000000000000dc0 R09: ffffffffa31b28b2
Jun 30 18:31:48 sw-entw-jz kernel: R10: ffffffffc0188000 R11: fefefefefefefeff R12: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: R13: 0000000000000000 R14: ffffffffa4a4ae70 R15: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: FS:  00007fe91d038900(0000) GS:ffff98745f900000(0000) knlGS:0000000000000000
Jun 30 18:31:48 sw-entw-jz kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 30 18:31:48 sw-entw-jz kernel: CR2: ffffffff8061e53b CR3: 0000000105dc5000 CR4: 0000000000350ee0
Jun 30 18:31:48 sw-entw-jz kernel: Call Trace:
Jun 30 18:31:48 sw-entw-jz kernel:  ? static_call_text_reserved+0xb5/0xb5
Jun 30 18:31:48 sw-entw-jz kernel:  arch_static_call_transform+0x58/0x80
Jun 30 18:31:48 sw-entw-jz kernel:  __static_call_init.part.0+0x175/0x188
Jun 30 18:31:48 sw-entw-jz kernel:  ? __SCT__cond_resched+0x8/0x8
Jun 30 18:31:48 sw-entw-jz kernel:  static_call_module_notify+0xe5/0x12f
Jun 30 18:31:48 sw-entw-jz kernel:  notifier_call_chain+0x33/0x51
Jun 30 18:31:48 sw-entw-jz kernel:  notifier_call_chain_robust+0x2c/0x5c
Jun 30 18:31:48 sw-entw-jz kernel:  blocking_notifier_call_chain_robust+0x40/0x56
Jun 30 18:31:48 sw-entw-jz kernel:  load_module+0x18ed/0x1f72
Jun 30 18:31:48 sw-entw-jz kernel:  __do_sys_finit_module+0x83/0x92
Jun 30 18:31:48 sw-entw-jz kernel:  do_syscall_64+0x33/0x40
Jun 30 18:31:48 sw-entw-jz kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xae
Jun 30 18:31:48 sw-entw-jz kernel: RIP: 0033:0x7fe91d90b9b9
Jun 30 18:31:48 sw-entw-jz kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 a7 54 0c 00 f7 d8 6>
Jun 30 18:31:48 sw-entw-jz kernel: RSP: 002b:00007ffe64166178 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Jun 30 18:31:48 sw-entw-jz kernel: RAX: ffffffffffffffda RBX: 0000557cf40732b0 RCX: 00007fe91d90b9b9
Jun 30 18:31:48 sw-entw-jz kernel: RDX: 0000000000000000 RSI: 00007fe91d9ece2d RDI: 0000000000000007
Jun 30 18:31:48 sw-entw-jz kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 0000557cf40732b0
Jun 30 18:31:48 sw-entw-jz kernel: R10: 0000000000000007 R11: 0000000000000246 R12: 00007fe91d9ece2d
Jun 30 18:31:48 sw-entw-jz kernel: R13: 0000000000000000 R14: 0000557cf4073250 R15: 0000557cf40732b0
Jun 30 18:31:48 sw-entw-jz kernel: Modules linked in: ttm(+) mfd_core gpu_sched r8169
Jun 30 18:31:48 sw-entw-jz kernel: CR2: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: ---[ end trace 4dfaf7dce74d99d2 ]---
Jun 30 18:31:48 sw-entw-jz kernel: EXT4-fs (nvme0n1p2): re-mounted. Opts: commit=90. Quota mode: disabled.
Jun 30 18:31:48 sw-entw-jz systemd[1]: Finished Remount Root and Kernel File Systems.
Jun 30 18:31:48 sw-entw-jz systemd[1]: Activating swap /swapfile...
Jun 30 18:31:48 sw-entw-jz systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Jun 30 18:31:48 sw-entw-jz systemd[1]: Starting Platform Persistent Storage Archival...
Jun 30 18:31:48 sw-entw-jz systemd[1]: Starting Load/Save Random Seed...
Jun 30 18:31:48 sw-entw-jz systemd[1]: Starting Create System Users...
Jun 30 18:31:48 sw-entw-jz kernel: RIP: 0010:__static_call_validate+0x9/0x75
Jun 30 18:31:48 sw-entw-jz kernel: Code: 01 d0 48 8b 70 04 48 8b 50 0c 48 01 f2 48 ff ca e8 84 ff ff ff eb d2 c3 cc cc cc cc cc cc 9c 58 c3 41 54 40 84 f6 49 89 fc 53 <8a> 1f 74 0a 80 fb e9 74 5f 80 fb c3 eb 34 80 fb e8 74 5>
Jun 30 18:31:48 sw-entw-jz kernel: RSP: 0018:ffff9aac80517c70 EFLAGS: 00010246
Jun 30 18:31:48 sw-entw-jz kernel: RAX: ffffffffa4a49a40 RBX: 0000000000000000 RCX: 0000000000000000
Jun 30 18:31:48 sw-entw-jz kernel: RDX: ffff98698639bc00 RSI: 0000000000000000 RDI: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: RBP: ffffffff8061e53b R08: 0000000000000dc0 R09: ffffffffa31b28b2
Jun 30 18:31:48 sw-entw-jz kernel: R10: ffffffffc0188000 R11: fefefefefefefeff R12: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: R13: 0000000000000000 R14: ffffffffa4a4ae70 R15: ffffffff8061e53b
Jun 30 18:31:48 sw-entw-jz kernel: FS:  00007fe91d038900(0000) GS:ffff98745f900000(0000) knlGS:0000000000000000
Jun 30 18:31:48 sw-entw-jz kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 30 18:31:48 sw-entw-jz kernel: CR2: ffffffff8061e53b CR3: 0000000105dc5000 CR4: 0000000000350ee0
Jun 30 18:31:48 sw-entw-jz systemd[1]: systemd-modules-load.service: Main process exited, code=killed, status=9/KILL
Jun 30 18:31:48 sw-entw-jz systemd[1]: systemd-modules-load.service: Failed with result 'signal'.
Jun 30 18:31:48 sw-entw-jz systemd[1]: Failed to start Load Kernel Modules.
...

Still missing modules (ie. not loaded due to the Oops) seem to be amdgpu and iwlwifi, while r8169 seems to be loaded already.

Kernel commandline:
nohz_full=2-15 cpuidle.governor=teo rootfstype=ext4 rootwait ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2

The 5.12 kernel config (created by feeding working 5.11 config to "make oldconfig") is attached.

Thank you!

Kind regards,
Jonas Zeiger

View attachment "config-5.12.13zlinux-svr-docker-wg" of type "text/plain" (150648 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ