[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981003: Kernel paniced with null pointer dereference on Panasonic CF-SV9 notebook machine



Hi,

On Mon, Jan 25, 2021 at 07:35:50PM +0100, Salvatore Bonaccorso wrote:
> Control: tags -1 + upstream
> Control: forwarded -1 https://lore.kernel.org/linux-acpi/CA+GA0_sPC3rp5K4qwZm-u+W1C=+2Y2p-dbF4DMdHkKaTpeKKkg@mail.gmail.com/
> 
> Hi,
> 
> On Mon, Jan 25, 2021 at 10:32:10PM +0900, Kubo Hiroshi wrote:
> > 
> > Package: linux-image-5.10.0-1-amd64
> > Source: linux-signed-amd64
> > Version: 5.10.4-1
> > Severity: important
> > 
> > On the Panasonic CF-SV9 notebook machine, I tried to boot the Debian bullseye,
> > but the boot process of the kernel of verion 5.10.4-1 terminated with the kernel panic.
> > 
> > On the other hand, the kernel of the version 5.9.0-5 can boot normally.
> > 
> > The attached file:
> > 
> >  * Kernel messages with the call trace.
> > 
> > --
> > Hiroshi Kubo <hkubo@jiubao.jp>
> > 
> 
> > Jan 25 21:27:18 kurowashi kernel: BUG: kernel NULL pointer dereference, address: 0000000000000050
> > Jan 25 21:27:18 kurowashi kernel: #PF: supervisor read access in kernel mode
> > Jan 25 21:27:18 kurowashi kernel: #PF: error_code(0x0000) - not-present page
> > Jan 25 21:27:18 kurowashi kernel: PGD 0 P4D 0 
> > Jan 25 21:27:18 kurowashi kernel: Oops: 0000 [#1] SMP NOPTI
> > Jan 25 21:27:18 kurowashi kernel: CPU: 6 PID: 484 Comm: systemd-udevd Tainted: G        W         5.10.0-1-amd64 #1 Debian 5.10.4-1
> > Jan 25 21:27:18 kurowashi kernel: Hardware name: Panasonic Corporation CFSV9-1/CFSV9-1L, BIOS V1.00L12 12/06/2019
> > Jan 25 21:27:18 kurowashi kernel: RIP: 0010:acpi_ns_validate_handle+0x1a/0x23
> > Jan 25 21:27:18 kurowashi kernel: Code: 00 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 00 48 8d 57 ff 48 89 f8 48 83 fa fd 76 08 48 8b 05 0c b8 67 01 c3 <80> 7f 08 0f 74 02 31 c0 c3 0f 1f 44 00 00 48 8b 3d f6 b7 67 01 e8
> > Jan 25 21:27:18 kurowashi kernel: RSP: 0018:ffffb66f407c3b20 EFLAGS: 00010213
> > Jan 25 21:27:18 kurowashi kernel: RAX: 0000000000000048 RBX: ffffb66f407c3b70 RCX: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: RDX: 0000000000000047 RSI: 0000000000000246 RDI: 0000000000000048
> > Jan 25 21:27:18 kurowashi kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: R10: ffffffffc1268e61 R11: ffffffff8e800059 R12: 0000000000001001
> > Jan 25 21:27:18 kurowashi kernel: R13: ffffffff8d13b160 R14: 0000000000000048 R15: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: FS:  00007f612cebf8c0(0000) GS:ffff8998ec580000(0000) knlGS:0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > Jan 25 21:27:18 kurowashi kernel: CR2: 0000000000000050 CR3: 0000000103612003 CR4: 00000000003706e0
> > Jan 25 21:27:18 kurowashi kernel: Call Trace:
> > Jan 25 21:27:18 kurowashi kernel:  acpi_get_data_full+0x4d/0x92
> > Jan 25 21:27:18 kurowashi kernel:  acpi_bus_get_device+0x1f/0x40
> > Jan 25 21:27:18 kurowashi kernel:  sdw_intel_acpi_scan+0x59/0x230 [soundwire_intel]
> > Jan 25 21:27:18 kurowashi kernel:  ? strstr+0x47/0x60
> > Jan 25 21:27:18 kurowashi kernel:  ? dmi_matches+0x76/0xe0
> > Jan 25 21:27:18 kurowashi kernel:  snd_intel_dsp_driver_probe.cold+0xaf/0x163 [snd_intel_dspcfg]
> > Jan 25 21:27:18 kurowashi kernel:  azx_probe+0x7a/0x970 [snd_hda_intel]
> > Jan 25 21:27:18 kurowashi kernel:  local_pci_probe+0x42/0x80
> > Jan 25 21:27:18 kurowashi kernel:  ? _cond_resched+0x16/0x40
> > Jan 25 21:27:18 kurowashi kernel:  pci_device_probe+0xfd/0x1b0
> > Jan 25 21:27:18 kurowashi kernel:  really_probe+0x205/0x460
> > Jan 25 21:27:18 kurowashi kernel:  driver_probe_device+0xe1/0x150
> > Jan 25 21:27:18 kurowashi kernel:  device_driver_attach+0xa1/0xb0
> > Jan 25 21:27:18 kurowashi kernel:  __driver_attach+0x8a/0x150
> > Jan 25 21:27:18 kurowashi kernel:  ? device_driver_attach+0xb0/0xb0
> > Jan 25 21:27:18 kurowashi kernel:  ? device_driver_attach+0xb0/0xb0
> > Jan 25 21:27:18 kurowashi kernel:  bus_for_each_dev+0x78/0xc0
> > Jan 25 21:27:18 kurowashi kernel:  bus_add_driver+0x12b/0x1e0
> > Jan 25 21:27:18 kurowashi kernel:  driver_register+0x8b/0xe0
> > Jan 25 21:27:18 kurowashi kernel:  ? 0xffffffffc1289000
> > Jan 25 21:27:18 kurowashi kernel:  do_one_initcall+0x44/0x1d0
> > Jan 25 21:27:18 kurowashi kernel:  ? do_init_module+0x23/0x250
> > Jan 25 21:27:18 kurowashi kernel:  ? kmem_cache_alloc_trace+0xf5/0x200
> > Jan 25 21:27:18 kurowashi kernel:  do_init_module+0x5c/0x250
> > Jan 25 21:27:18 kurowashi kernel:  __do_sys_finit_module+0xb1/0x110
> > Jan 25 21:27:18 kurowashi kernel:  do_syscall_64+0x33/0x80
> > Jan 25 21:27:18 kurowashi kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> > Jan 25 21:27:18 kurowashi kernel: RIP: 0033:0x7f612d3789b9
> > Jan 25 21:27:18 kurowashi 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 64 89 01 48
> > Jan 25 21:27:18 kurowashi kernel: RSP: 002b:00007ffd81a97488 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
> > Jan 25 21:27:18 kurowashi kernel: RAX: ffffffffffffffda RBX: 00005604a0391750 RCX: 00007f612d3789b9
> > Jan 25 21:27:18 kurowashi kernel: RDX: 0000000000000000 RSI: 00007f612d503e2d RDI: 000000000000001c
> > Jan 25 21:27:18 kurowashi kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 00005604a0398040
> > Jan 25 21:27:18 kurowashi kernel: R10: 000000000000001c R11: 0000000000000246 R12: 00007f612d503e2d
> > Jan 25 21:27:18 kurowashi kernel: R13: 0000000000000000 R14: 00005604a039cb80 R15: 00005604a0391750
> > Jan 25 21:27:18 kurowashi kernel: Modules linked in: snd_hda_intel(+) snd_intel_dspcfg soundwire_intel soundwire_generic_allocation coretemp(+) pcc_cpufreq(-) snd_soc_core acpi_cpufreq(-) snd_compress kvm_intel soundwire_cadence snd_hda_codec kvm snd_hda_core iwlmvm(+) irqbypass nls_ascii btusb nls_cp437 snd_hwdep btrtl vfat rapl fat btbcm intel_cstate btintel soundwire_bus mac80211 intel_uncore bluetooth snd_pcm libarc4 iTCO_wdt serio_raw pcspkr wmi_bmof snd_timer intel_pmc_bxt efi_pstore intel_wmi_thunderbolt iTCO_vendor_support snd watchdog soundcore uvcvideo iwlwifi videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common jitterentropy_rng videodev mei_me cfg80211 sg joydev mei mc drbg cdc_mbim cdc_wdm cdc_ncm ansi_cprng cdc_ether usbnet qcserial ecdh_generic usb_wwan mii rfkill ucsi_acpi usbserial ecc intel_pch_thermal processor_thermal_device typec_ucsi intel_rapl_common intel_soc_dts_iosf typec acpi_als kfifo_buf industrialio int3403_thermal tpm_tis(+) int340x_thermal_zone tpm_tis_core evdev
> > Jan 25 21:27:18 kurowashi kernel:  tpm intel_hid rng_core panasonic_laptop int3400_thermal sparse_keymap acpi_thermal_rel int3406_thermal intel_pmc_core acpi_pad ac msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic dm_crypt dm_mod hid_rmi sr_mod rmi_core cdrom hid_generic i915 crc32_pclmul crc32c_intel ghash_clmulni_intel i2c_algo_bit drm_kms_helper nvme nvme_core ahci t10_pi crc_t10dif cec libahci crct10dif_generic aesni_intel thunderbolt drm xhci_pci libata xhci_hcd sdhci_pci cqhci e1000e sdhci libaes crypto_simd scsi_mod usbcore mmc_core cryptd i2c_hid glue_helper crct10dif_pclmul crct10dif_common ptp i2c_i801 pps_core hid i2c_smbus intel_lpss_pci intel_lpss idma64 usb_common wmi battery button fan video
> > Jan 25 21:27:18 kurowashi kernel: CR2: 0000000000000050
> > Jan 25 21:27:18 kurowashi kernel: ---[ end trace 36c0c56275e4c3f5 ]---
> > Jan 25 21:27:18 kurowashi kernel: iwlwifi 0000:00:14.3: base HW address: 98:af:65:e4:99:d6
> > Jan 25 21:27:18 kurowashi kernel: Adding 15608828k swap on /dev/mapper/nvme0n1p7_crypt.  Priority:-2 extents:1 across:15608828k SSFS
> > Jan 25 21:27:18 kurowashi kernel: RIP: 0010:acpi_ns_validate_handle+0x1a/0x23
> > Jan 25 21:27:18 kurowashi kernel: Code: 00 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 44 00 00 48 8d 57 ff 48 89 f8 48 83 fa fd 76 08 48 8b 05 0c b8 67 01 c3 <80> 7f 08 0f 74 02 31 c0 c3 0f 1f 44 00 00 48 8b 3d f6 b7 67 01 e8
> > Jan 25 21:27:18 kurowashi kernel: thermal thermal_zone9: failed to read out thermal zone (-61)
> > Jan 25 21:27:18 kurowashi kernel: RSP: 0018:ffffb66f407c3b20 EFLAGS: 00010213
> > Jan 25 21:27:18 kurowashi kernel: RAX: 0000000000000048 RBX: ffffb66f407c3b70 RCX: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: RDX: 0000000000000047 RSI: 0000000000000246 RDI: 0000000000000048
> > Jan 25 21:27:18 kurowashi kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: R10: ffffffffc1268e61 R11: ffffffff8e800059 R12: 0000000000001001
> > Jan 25 21:27:18 kurowashi kernel: R13: ffffffff8d13b160 R14: 0000000000000048 R15: 0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: FS:  00007f612cebf8c0(0000) GS:ffff8998ec580000(0000) knlGS:0000000000000000
> > Jan 25 21:27:18 kurowashi kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > Jan 25 21:27:18 kurowashi kernel: CR2: 0000000000000050 CR3: 0000000103612003 CR4: 00000000003706e0
> > Jan 25 21:27:18 kurowashi systemd[1]: Activated swap /dev/mapper/nvme0n1p7_crypt.
> > Jan 25 21:27:18 kurowashi systemd[1]: Reached target Swap.
> > Jan 25 21:27:18 kurowashi systemd-udevd[449]: Worker [484] terminated by signal 9 (KILL)
> > Jan 25 21:27:18 kurowashi systemd-udevd[449]: 0000:00:1f.3: Worker [484] failed
> 
> This looks like the same issue as reported in
> https://lore.kernel.org/linux-acpi/CA+GA0_sPC3rp5K4qwZm-u+W1C=+2Y2p-dbF4DMdHkKaTpeKKkg@mail.gmail.com/
> .

Would it be possible for you to test the two patches submitted as
https://lore.kernel.org/linux-acpi/20210208120104.204761-1-marcin.slusarz@gmail.com/
and
https://lore.kernel.org/linux-acpi/20210208120104.204761-2-marcin.slusarz@gmail.com/
?

Regards,
Salvatore


Reply to: