Bug#1031356: pinctrl: linux-image-6.1.0-3-amd64 : kernel NULL pointer dereference with intel pinctrl driver
Hi,
On Wed, Feb 15, 2023 at 04:53:49PM +0100, Frederic Buisson wrote:
> Package: src:linux
> Version: 6.1.8-1
> Severity: important
> File: pinctrl
> X-Debbugs-Cc: frederic.buisson@f-g.fr
>
> Dear Maintainer,
>
> The problem appears at boot time :
>
> [ 1.582787] BUG: kernel NULL pointer dereference, address: 0000000000000000
> [ 1.582816] #PF: supervisor read access in kernel mode
> [ 1.582831] #PF: error_code(0x0000) - not-present page
> [ 1.582845] PGD 0 P4D 0
> [ 1.582856] Oops: 0000 [#1] PREEMPT SMP NOPTI
> [ 1.582870] CPU: 0 PID: 142 Comm: systemd-udevd Not tainted 6.1.0-3-amd64 #1 Debian 6.1.8-1
> [ 1.582893] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./IMB-1004, BIOS P1.10 04/19/2022
> [ 1.582917] RIP: 0010:strcmp+0xc/0x30
> [ 1.582934] Code: 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 cc cc cc cc 0f 1f 00 31 c0 eb 08 48 83 c0 01 84 d2 74 13 <0f> b6 14 07 3a 14 06 74 ef 19 c0 83 c8 01 c3 cc cc cc cc 31 c0 c3
> [ 1.582976] RSP: 0018:ffffa7e9c037fc50 EFLAGS: 00010246
> [ 1.582991] RAX: 0000000000000000 RBX: ffffffffc02f8c40 RCX: ffffa7e9c037fc28
> [ 1.583009] RDX: 0000000000000000 RSI: ffffffffc02f6c9f RDI: 0000000000000000
> [ 1.583026] RBP: 0000000000000000 R08: ffff925240c113d0 R09: ffffa7e9c037fa00
> [ 1.583043] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc02fa0e0
> [ 1.583059] R13: 0000000000000000 R14: ffff925242e64428 R15: 0000000000000000
> [ 1.583076] FS: 00007f961323e8c0(0000) GS:ffff9253c8400000(0000) knlGS:0000000000000000
> [ 1.583096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 1.583111] CR2: 0000000000000000 CR3: 00000001013a2000 CR4: 0000000000350ef0
> [ 1.583128] Call Trace:
> [ 1.583139] <TASK>
> [ 1.583147] intel_pinctrl_get_soc_data+0x6b/0xc0
> [ 1.583169] intel_pinctrl_probe_by_uid+0xe/0x30
> [ 1.583186] platform_probe+0x41/0x90
> [ 1.583201] really_probe+0xdb/0x380
> [ 1.583214] ? pm_runtime_barrier+0x50/0x90
> [ 1.583228] __driver_probe_device+0x78/0x170
> [ 1.583242] driver_probe_device+0x1f/0x90
> [ 1.583254] __driver_attach+0xce/0x1c0
> [ 1.583267] ? __device_attach_driver+0x110/0x110
> [ 1.583281] bus_for_each_dev+0x84/0xd0
> [ 1.583295] bus_add_driver+0x1ae/0x200
> [ 1.583747] driver_register+0x89/0xe0
> [ 1.584209] ? 0xffffffffc02fd000
> [ 1.584651] do_one_initcall+0x56/0x220
> [ 1.585070] do_init_module+0x4a/0x200
> [ 1.585478] __do_sys_finit_module+0xac/0x120
> [ 1.585882] do_syscall_64+0x58/0xc0
> [ 1.586287] entry_SYSCALL_64_after_hwframe+0x63/0xcd
> [ 1.586696] RIP: 0033:0x7f96139475a9
> [ 1.587094] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 27 08 0d 00 f7 d8 64 89 01 48
> [ 1.588359] RSP: 002b:00007ffc2256b558 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
> [ 1.588783] RAX: ffffffffffffffda RBX: 000056554ca8c6b0 RCX: 00007f96139475a9
> [ 1.589205] RDX: 0000000000000000 RSI: 00007f9613adaefd RDI: 0000000000000005
> [ 1.589603] RBP: 00007f9613adaefd R08: 0000000000000000 R09: 000056554ca705f0
> [ 1.589996] R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000020000
> [ 1.590408] R13: 0000000000000000 R14: 000056554ca8f920 R15: 000056554c70fe4f
> [ 1.590824] </TASK>
> [ 1.591209] Modules linked in: pinctrl_elkhartlake(+) button
> [ 1.591610] CR2: 0000000000000000
> [ 1.592004] ---[ end trace 0000000000000000 ]---
This could be the same/simliar as
https://bugzilla.kernel.org/show_bug.cgi?id=213365 (cf.
https://bugzilla.redhat.com/show_bug.cgi?id=1948468).
Please have a look if you have an update for the BIOS.
Regards,
Salvatore
Reply to: