All of lore.kernel.org
 help / color / mirror / Atom feed
* I'm getting panic()s in tpm2_bios_measurements_start()- but don't know why
@ 2020-09-12 22:40 Kenneth R. Crudup
       [not found] ` <20200914173548.GA8011@linux.intel.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth R. Crudup @ 2020-09-12 22:40 UTC (permalink / raw)
  To: nayna; +Cc: linux-integrity

[-- Attachment #1: Type: text/plain, Size: 2714 bytes --]


I'm running Linus' tip as of today, but have seen this in the 5.8.0-18 stock
kernel from Ubuntu.

All of a sudden, after an "apt update", I'd find my laptop (Dell XPS 7390 2-in-1)
randomly rebooted after an OOPS. I've got pstore on, so I found the cause was in
tpm2_bios_measurements_start() (see full dump attached). I guess the "fwupd"
package was what was updated that killed it, as I can reliably stumble upon this
by running "fwupdtpmevlog" (version 1.4.5) even with no arguments.

----
<1>[   76.550116][ T2332] #PF: supervisor read access in kernel mode
<1>[   76.550117][ T2332] #PF: error_code(0x0000) - not-present page
<6>[   76.550119][ T2332] PGD 0 P4D 0
<4>[   76.550121][ T2332] Oops: 0000 [#1] PREEMPT SMP NOPTI
<4>[   76.550123][ T2332] CPU: 0 PID: 2332 Comm: fwupdtpmevlog Tainted: G S   U            5.9.0-rc4-XPS-TB-Kenny+ #8
<4>[   76.550124][ T2332] Hardware name: Dell Inc. XPS 13 7390 2-in-1/06CDVY, BIOS 1.5.0 06/05/2020
<4>[   76.550129][ T2332] RIP: 0010:tpm2_bios_measurements_start+0x35/0x2c0
<4>[   76.550131][ T2332] Code: 54 55 53 48 83 ec 28 65 48 8b 04 25 28 00 00 00 48 89 44 24 20 48 8b 47 70 48 8b 1e 4c
8b 80 d0 06 00 00 4c 8b b8 d8 06 00 00 <45> 8b 48 1c 4c 89 c8 49 83 c1 20 48 85 db 75 2e 4d 01 c1 4d 39 cf
<4>[   76.550132][ T2332] RSP: 0018:ffffb0dc80b5fe20 EFLAGS: 00010282
<4>[   76.550133][ T2332] RAX: ffff9ec7eb3ae000 RBX: 0000000000000000 RCX: 0000321490006680
<4>[   76.550134][ T2332] RDX: 0000000000009628 RSI: ffff9ec7e345e5c8 RDI: ffff9ec7e345e5a0
----

This is my TPM device:
----
$ dmesg | fgrep -i tpm
[    0.000000] efi: SMBIOS=0x62865000 TPMFinalLog=0x63f57000 ACPI=0x63ffe000 ACPI 2.0=0x63ffe014 ESRT=0x62784018 MEMATTR=0x5f71d018 PROP=0x4272e170 RNG=0x627b0618 TPMEventLog=0x61eecf98
[    0.002936] ACPI: SSDT 0x0000000063FB0000 000612 (v02 DELL   Tpm2Tabl 00001000 INTL 20180927)
[    0.002938] ACPI: TPM2 0x0000000063FAF000 000034 (v04 DELL   Dell Inc 20170001 ??LL 20160422)
[    1.230051] Asymmetric key parser 'tpm_parser' registered
[    1.271418] tpm_tis STM7408:00: 2.0 TPM (device-id 0x0, rev-id 78)
$
-----

I've been trying to figure out what the problem was, checking (via printk())
the values for "seq_file" and "pos" for null, or one of the associated pointers
derived from it, and they "printk()" OK, but if I let the code go much further than
the declaration block, it oopses.

I'm now wondering if the "m->private" data being passed is valid. But in any case,
userspace reading a sysfs file (/sys/kernel/security/tpm0/binary_bios_measurements)
shouldn't cause a kernel panic.

Is there anything I can do to help diagnose and fix this?

Thanks,

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

[-- Attachment #2: Type: text/plain, Size: 20719 bytes --]

Panic#2 Part10
C Pipe File System...
<30>[    4.145368][    T1] systemd[1]: Mounting Kernel Debug File System...
<30>[    4.149432][    T1] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
<30>[    4.152941][    T1] systemd[1]: Starting Journal Service...
<30>[    4.157521][    T1] systemd[1]: Starting Availability of block devices...
<30>[    4.162072][    T1] systemd[1]: Starting Set the console keyboard layout...
<30>[    4.166280][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
<30>[    4.168938][    T1] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
<30>[    4.173443][    T1] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
<30>[    4.174012][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
<30>[    4.179792][    T1] systemd[1]: Starting File System Check on Root Device...
Oops#1 Part10
p automount Arbitrary Executable File Formats File System Automount Point.
<30>[    4.077523][    T1] systemd[1]: Reached target User and Group Name Lookups.
<30>[    4.081045][    T1] systemd[1]: Reached target Slices.
<30>[    4.084497][    T1] systemd[1]: Reached target Libvirt guests shutdown.
<30>[    4.088244][    T1] systemd[1]: Listening on Device-mapper event daemon FIFOs.
<30>[    4.091786][    T1] systemd[1]: Listening on LVM2 poll daemon socket.
<30>[    4.097352][    T1] systemd[1]: Listening on RPCbind Server Activation Socket.
<30>[    4.101071][    T1] systemd[1]: Listening on Syslog Socket.
<30>[    4.104676][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
<30>[    4.108400][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
<30>[    4.112121][    T1] systemd[1]: Listening on Journal Audit Socket.
<30>[    4.115822][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
<30>[    4.119824][    T1] systemd[1]: Listening on Journal Socket.
Panic#2 Part9
m Check on Root Device.
<30>[    4.247291][    T1] systemd[1]: Started Journal Service.
<6>[    4.271315][  T334] EXT4-fs (nvme0n1p3): re-mounted. Opts: errors=remount-ro
<5>[    4.509425][  T353] Setting dangerous option enable_guc - tainting kernel
<5>[    4.509427][  T353] Setting dangerous option enable_psr - tainting kernel
<4>[    4.511113][  T366] intel_spi: Unknown symbol spi_nor_scan (err -2)
<5>[    4.520322][  T356] cfg80211: Loading compiled-in X.509 certificates for regulatory database
<5>[    4.522148][  T356] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
<6>[    4.522281][  T361] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
<6>[    4.522296][  T361] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
<6>[    4.535245][  T356] Intel(R) Wireless WiFi driver for Linux
<6>[    4.535779][  T356] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
<6>[    4.537082][  T353] i915 0000:00:02.0: [drm] VT-d active for gfx access
Oops#1 Part9
[    4.166280][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
<30>[    4.168938][    T1] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
<30>[    4.173443][    T1] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
<30>[    4.174012][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
<30>[    4.179792][    T1] systemd[1]: Starting File System Check on Root Device...
<30>[    4.185504][    T1] systemd[1]: Starting Load Kernel Modules...
<30>[    4.191943][    T1] systemd[1]: Starting Coldplug All udev Devices...
<30>[    4.197165][    T1] systemd[1]: Starting Uncomplicated firewall...
<30>[    4.203676][    T1] systemd[1]: Mounted Huge Pages File System.
<30>[    4.209964][    T1] systemd[1]: Mounted POSIX Message Queue File System.
<30>[    4.216362][    T1] systemd[1]: Mounted RPC Pipe File System.
Panic#2 Part8
ound debug configuration: 0
<6>[    4.563295][  T225] iwlwifi 0000:00:14.3: loaded firmware version 55.d9698065.0 Qu-c0-hr-b0-55.ucode op_mode iwlmvm
<6>[    4.567013][  T224] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
<6>[    4.581009][  T353] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
<6>[    4.584757][  T444] iwlwifi 0000:00:14.3: Detected Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW), REV=0x338
<6>[    4.616410][  T502] Adding 33554428k swap on /dev/nvme0n1p2.  Priority:-2 extents:1 across:33554428k SS
<6>[    4.761816][  T444] iwlwifi 0000:00:14.3: base HW address: c0:b8:83:1f:f4:41
<5>[    4.774113][   T52] audit: type=1400 audit(1599939847.722:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=574 comm="apparmor_parser"
<4>[    4.774477][  T444] thermal thermal_zone8: failed to read out thermal zone (-61)
Oops#1 Part8
ng compiled-in X.509 certificates for regulatory database
<5>[    4.522148][  T356] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
<6>[    4.522281][  T361] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
<6>[    4.522296][  T361] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
<6>[    4.535245][  T356] Intel(R) Wireless WiFi driver for Linux
<6>[    4.535779][  T356] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
<6>[    4.537082][  T353] i915 0000:00:02.0: [drm] VT-d active for gfx access
<7>[    4.537085][  T353] checking generic (4000000000 8ca000) vs hw (603d000000 1000000)
<7>[    4.537086][  T353] checking generic (4000000000 8ca000) vs hw (4000000000 10000000)
<6>[    4.537087][  T353] fb0: switching to inteldrmfb from EFI VGA
<6>[    4.537190][  T353] Console: switching to colour dummy device 240x75
<4>[    4.560502][  T225] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-Qu-c0-hr-b0-56.ucode failed with error -2
Panic#2 Part7
rtd" pid=585 comm="apparmor_parser"
<5>[    4.778672][   T52] audit: type=1400 audit(1599939847.726:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirtd//qemu_bridge_helper" pid=585 comm="apparmor_parser"
<5>[    4.779483][   T52] audit: type=1400 audit(1599939847.727:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=586 comm="apparmor_parser"
<5>[    4.779485][   T52] audit: type=1400 audit(1599939847.727:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=586 comm="apparmor_parser"
<5>[    4.780128][   T52] audit: type=1400 audit(1599939847.728:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=588 comm="apparmor_parser"
<6>[    5.074173][  T807] Guest personality initialized and is inactive
<6>[    5.074256][  T807] VMCI host device registered (name=vmci, major=10, minor=38)
<6>[    5.074256][  T807] Initialized host personality
Oops#1 Part7
component_ops [i915])
<6>[    4.584757][  T444] iwlwifi 0000:00:14.3: Detected Killer(R) Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter (201NGW), REV=0x338
<6>[    4.616410][  T502] Adding 33554428k swap on /dev/nvme0n1p2.  Priority:-2 extents:1 across:33554428k SS
<6>[    4.761816][  T444] iwlwifi 0000:00:14.3: base HW address: c0:b8:83:1f:f4:41
<5>[    4.774113][   T52] audit: type=1400 audit(1599939847.722:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=574 comm="apparmor_parser"
<4>[    4.774477][  T444] thermal thermal_zone8: failed to read out thermal zone (-61)
<5>[    4.775857][   T52] audit: type=1400 audit(1599939847.723:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=573 comm="apparmor_parser"
<5>[    4.777502][   T52] audit: type=1400 audit(1599939847.725:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=577 comm="apparmor_parser"
Panic#2 Part6
ice virbr0-nic entered promiscuous mode
<6>[    5.526638][  T935] virbr0: port 1(virbr0-nic) entered blocking state
<6>[    5.526639][  T935] virbr0: port 1(virbr0-nic) entered listening state
<6>[    5.544895][  T935] virbr0: port 1(virbr0-nic) entered disabled state
<4>[    5.630721][   T52] kauditd_printk_skb: 25 callbacks suppressed
<5>[    5.630722][   T52] audit: type=1400 audit(1599939848.578:36): apparmor="DENIED" operation="capable" profile="libvirtd" pid=722 comm="daemon-init" capability=17  capname="sys_rawio"
<6>[    5.700343][  T357] usbcore: registered new interface driver btusb
<6>[    5.700684][  T126] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 11 2017
<6>[    5.701678][  T126] Bluetooth: hci0: Device revision is 2
<6>[    5.701679][  T126] Bluetooth: hci0: Secure boot is enabled
<6>[    5.701680][  T126] Bluetooth: hci0: OTP lock is enabled
<6>[    5.701680][  T126] Bluetooth: hci0: API lock is enabled
<6>[    5.701681][  T126] Bluetooth: hci0: Debug lock is disabled
Oops#1 Part6
ad" profile="unconfined" name="nvidia_modprobe" pid=586 comm="apparmor_parser"
<5>[    4.779485][   T52] audit: type=1400 audit(1599939847.727:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=586 comm="apparmor_parser"
<5>[    4.780128][   T52] audit: type=1400 audit(1599939847.728:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=588 comm="apparmor_parser"
<6>[    5.074173][  T807] Guest personality initialized and is inactive
<6>[    5.074256][  T807] VMCI host device registered (name=vmci, major=10, minor=38)
<6>[    5.074256][  T807] Initialized host personality
<4>[    5.110003][   T42] hid-sensor-hub 001F:8087:0AC2.0004: hid_field_extract() called with n (192) > 32! (kworker/6:0)
<6>[    5.190802][  T935] virbr1: port 1(virbr1-nic) entered blocking state
<6>[    5.190804][  T935] virbr1: port 1(virbr1-nic) entered disabled state
<6>[    5.190846][  T935] device virbr1-nic entered promiscuous mode
Panic#2 Part5
42][  T353] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
<6>[    5.905282][  T232] fbcon: i915drmfb (fb0) is primary device
<5>[    6.080340][   T52] audit: type=1400 audit(1599939849.028:37): apparmor="DENIED" operation="capable" profile="libvirtd" pid=722 comm="daemon-init" capability=17  capname="sys_rawio"
<6>[    7.049586][  T232] Console: switching to colour frame buffer device 240x75
<6>[    7.070441][  T232] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
<6>[    7.109232][  T353] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC289: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
<6>[    7.109233][  T353] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
<6>[    7.109233][  T353] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
<6>[    7.109234][  T353] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
<6>[    7.109234][  T353] snd_hda_codec_realtek hdaudioC0D0:    inputs:
Oops#1 Part5
5.630722][   T52] audit: type=1400 audit(1599939848.578:36): apparmor="DENIED" operation="capable" profile="libvirtd" pid=722 comm="daemon-init" capability=17  capname="sys_rawio"
<6>[    5.700343][  T357] usbcore: registered new interface driver btusb
<6>[    5.700684][  T126] Bluetooth: hci0: Bootloader revision 0.4 build 0 week 11 2017
<6>[    5.701678][  T126] Bluetooth: hci0: Device revision is 2
<6>[    5.701679][  T126] Bluetooth: hci0: Secure boot is enabled
<6>[    5.701680][  T126] Bluetooth: hci0: OTP lock is enabled
<6>[    5.701680][  T126] Bluetooth: hci0: API lock is enabled
<6>[    5.701681][  T126] Bluetooth: hci0: Debug lock is disabled
<6>[    5.701682][  T126] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
<6>[    5.702946][  T126] Bluetooth: hci0: Found device firmware: intel/ibt-19-32-4.sfi
<6>[    5.884941][  T353] [drm] GuC communication enabled
<6>[    5.895124][  T353] i915 0000:00:02.0: [drm] GuC firmware i915/icl_guc_33.0.0.bin version 33.0 submission:disabled
Panic#2 Part4
put: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
<6>[    7.163909][   T32] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
<6>[    7.163946][   T32] input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
<6>[    7.164011][   T32] input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
<6>[    7.310446][  T126] Bluetooth: hci0: Waiting for firmware download to complete
<6>[    7.310669][  T126] Bluetooth: hci0: Firmware loaded in 1572582 usecs
<6>[    7.310677][  T126] Bluetooth: hci0: Waiting for device to boot
<6>[    7.326052][  T126] Bluetooth: hci0: Device booted in 15017 usecs
<6>[    7.326606][  T126] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-32-4.ddc
<6>[    7.328742][  T126] Bluetooth: hci0: Applying Intel DDC parameters completed
<6>[    7.331737][  T126] Bluetooth: hci0: Firmware revision 0.0 build 188 week 26 2020
Oops#1 Part4
49586][  T232] Console: switching to colour frame buffer device 240x75
<6>[    7.070441][  T232] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
<6>[    7.109232][  T353] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC289: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
<6>[    7.109233][  T353] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
<6>[    7.109233][  T353] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
<6>[    7.109234][  T353] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
<6>[    7.109234][  T353] snd_hda_codec_realtek hdaudioC0D0:    inputs:
<6>[    7.109235][  T353] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
<6>[    7.109235][  T353] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1b
<6>[    7.109236][  T353] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
<6>[    7.163634][   T32] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
Panic#2 Part3
1>[   76.550116][ T2332] #PF: supervisor read access in kernel mode
<1>[   76.550117][ T2332] #PF: error_code(0x0000) - not-present page
<6>[   76.550119][ T2332] PGD 0 P4D 0 
<4>[   76.550121][ T2332] Oops: 0000 [#1] PREEMPT SMP NOPTI
<4>[   76.550123][ T2332] CPU: 0 PID: 2332 Comm: fwupdtpmevlog Tainted: G S   U            5.9.0-rc4-XPS-TB-Kenny+ #8
<4>[   76.550124][ T2332] Hardware name: Dell Inc. XPS 13 7390 2-in-1/06CDVY, BIOS 1.5.0 06/05/2020
<4>[   76.550129][ T2332] RIP: 0010:tpm2_bios_measurements_start+0x35/0x2c0
<4>[   76.550131][ T2332] Code: 54 55 53 48 83 ec 28 65 48 8b 04 25 28 00 00 00 48 89 44 24 20 48 8b 47 70 48 8b 1e 4c 8b 80 d0 06 00 00 4c 8b b8 d8 06 00 00 <45> 8b 48 1c 4c 89 c8 49 83 c1 20 48 85 db 75 2e 4d 01 c1 4d 39 cf
<4>[   76.550132][ T2332] RSP: 0018:ffffb0dc80b5fe20 EFLAGS: 00010282
<4>[   76.550133][ T2332] RAX: ffff9ec7eb3ae000 RBX: 0000000000000000 RCX: 0000321490006680
<4>[   76.550134][ T2332] RDX: 0000000000009628 RSI: ffff9ec7e345e5c8 RDI: ffff9ec7e345e5a0
Oops#1 Part3
pci0000:00/0000:00:1f.3/sound/card0/input23
<6>[    7.310446][  T126] Bluetooth: hci0: Waiting for firmware download to complete
<6>[    7.310669][  T126] Bluetooth: hci0: Firmware loaded in 1572582 usecs
<6>[    7.310677][  T126] Bluetooth: hci0: Waiting for device to boot
<6>[    7.326052][  T126] Bluetooth: hci0: Device booted in 15017 usecs
<6>[    7.326606][  T126] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-32-4.ddc
<6>[    7.328742][  T126] Bluetooth: hci0: Applying Intel DDC parameters completed
<6>[    7.331737][  T126] Bluetooth: hci0: Firmware revision 0.0 build 188 week 26 2020
<6>[   10.130973][  T723] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
<6>[   12.665620][  T670] wlan0: authenticate with e6:95:6e:44:91:ca
<6>[   12.668043][  T670] wlan0: send auth to e6:95:6e:44:91:ca (try 1/3)
<6>[   12.694891][  T562] wlan0: authenticated
Panic#2 Part2
x220
<4>[   76.550151][ T2332]  __x64_sys_read+0x64/0xe0
<4>[   76.550154][ T2332]  do_syscall_64+0x32/0x80
<4>[   76.550156][ T2332]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
<4>[   76.550158][ T2332] RIP: 0033:0x7f51724621a2
<4>[   76.550159][ T2332] Code: c0 e9 c2 fe ff ff 50 48 8d 3d da c9 0a 00 e8 85 1a 02 00 0f 1f 44 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24
<4>[   76.550160][ T2332] RSP: 002b:00007ffd2d6ba588 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
<4>[   76.550162][ T2332] RAX: ffffffffffffffda RBX: 0000556fce5a8dc0 RCX: 00007f51724621a2
<4>[   76.550162][ T2332] RDX: 0000000000001000 RSI: 00007ffd2d6ba660 RDI: 0000000000000003
<4>[   76.550163][ T2332] RBP: 00007f517253e4a0 R08: 0000000000000003 R09: 000000000000007c
<4>[   76.550164][ T2332] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000001000
<4>[   76.550165][ T2332] R13: 00007ffd2d6ba660 R14: 0000000000000d68 R15: 00007f517253d8a0
Oops#1 Part2
] Hardware name: Dell Inc. XPS 13 7390 2-in-1/06CDVY, BIOS 1.5.0 06/05/2020
<4>[   76.550129][ T2332] RIP: 0010:tpm2_bios_measurements_start+0x35/0x2c0
<4>[   76.550131][ T2332] Code: 54 55 53 48 83 ec 28 65 48 8b 04 25 28 00 00 00 48 89 44 24 20 48 8b 47 70 48 8b 1e 4c 8b 80 d0 06 00 00 4c 8b b8 d8 06 00 00 <45> 8b 48 1c 4c 89 c8 49 83 c1 20 48 85 db 75 2e 4d 01 c1 4d 39 cf
<4>[   76.550132][ T2332] RSP: 0018:ffffb0dc80b5fe20 EFLAGS: 00010282
<4>[   76.550133][ T2332] RAX: ffff9ec7eb3ae000 RBX: 0000000000000000 RCX: 0000321490006680
<4>[   76.550134][ T2332] RDX: 0000000000009628 RSI: ffff9ec7e345e5c8 RDI: ffff9ec7e345e5a0
<4>[   76.550135][ T2332] RBP: ffffb0dc80b5ff10 R08: 0000000000000010 R09: 0000000000000030
<4>[   76.550136][ T2332] R10: 0000000000009628 R11: 0000000000000001 R12: 0000000000000000
<4>[   76.550137][ T2332] R13: ffff9ec7e345e5c8 R14: ffff9ec7e345e5a0 R15: 0000000000000010
<4>[   76.550138][ T2332] FS:  00007f516f1c7a80(0000) GS:ffff9ec7ef600000(0000) knlGS:0000000000000000
Panic#2 Part1
ffffb0dc80b5fe20 EFLAGS: 00010282
<4>[   76.715907][ T2332] RAX: ffff9ec7eb3ae000 RBX: 0000000000000000 RCX: 0000321490006680
<4>[   76.715908][ T2332] RDX: 0000000000009628 RSI: ffff9ec7e345e5c8 RDI: ffff9ec7e345e5a0
<4>[   76.715909][ T2332] RBP: ffffb0dc80b5ff10 R08: 0000000000000010 R09: 0000000000000030
<4>[   76.715910][ T2332] R10: 0000000000009628 R11: 0000000000000001 R12: 0000000000000000
<4>[   76.715911][ T2332] R13: ffff9ec7e345e5c8 R14: ffff9ec7e345e5a0 R15: 0000000000000010
<4>[   76.715912][ T2332] FS:  00007f516f1c7a80(0000) GS:ffff9ec7ef600000(0000) knlGS:0000000000000000
<4>[   76.715913][ T2332] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[   76.715913][ T2332] CR2: 000000000000002c CR3: 00000007ec59e002 CR4: 0000000000770ef0
<4>[   76.715914][ T2332] PKRU: 55555554
<0>[   76.715916][ T2332] Kernel panic - not syncing: Fatal exception
<0>[   76.715967][ T2332] Kernel Offset: 0x22200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Oops#1 Part1
 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24
<4>[   76.550160][ T2332] RSP: 002b:00007ffd2d6ba588 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
<4>[   76.550162][ T2332] RAX: ffffffffffffffda RBX: 0000556fce5a8dc0 RCX: 00007f51724621a2
<4>[   76.550162][ T2332] RDX: 0000000000001000 RSI: 00007ffd2d6ba660 RDI: 0000000000000003
<4>[   76.550163][ T2332] RBP: 00007f517253e4a0 R08: 0000000000000003 R09: 000000000000007c
<4>[   76.550164][ T2332] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000001000
<4>[   76.550165][ T2332] R13: 00007ffd2d6ba660 R14: 0000000000000d68 R15: 00007f517253d8a0
<4>[   76.550166][ T2332] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic btusb btintel vmw_vsock_vmci_transport vmw_vmci iwlmvm mac80211 iwlwifi snd_hda_intel mei_hdcp snd_intel_dspcfg cfg80211 snd_hda_codec i915 snd_hda_core intel_gtt
<4>[   76.550174][ T2332] CR2: 000000000000002c
<4>[   76.550175][ T2332] ---[ end trace ea8896c74989a3fc ]---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I'm getting panic()s in tpm2_bios_measurements_start()- but don't know why
       [not found] ` <20200914173548.GA8011@linux.intel.com>
@ 2020-09-14 17:45   ` Kenneth R. Crudup
  2020-09-15 11:44     ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth R. Crudup @ 2020-09-14 17:45 UTC (permalink / raw)
  To: Jarkko Sakkinen; +Cc: nayna, linux-integrity


On Mon, 14 Sep 2020, Jarkko Sakkinen wrote:

> What about stack trace?

It was attached to my original E-mail. But there was nothing special about it,
the _start is just the standard .start call from "struct seq_operations" so
that's where the read ends up.

> Also, are you able to bisect this?

I'd done a checkout of the commit that introduced this routine, it appears
to be this way from the start.

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I'm getting panic()s in tpm2_bios_measurements_start()- but don't know why
  2020-09-14 17:45   ` Kenneth R. Crudup
@ 2020-09-15 11:44     ` Jarkko Sakkinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2020-09-15 11:44 UTC (permalink / raw)
  To: Kenneth R. Crudup; +Cc: nayna, linux-integrity

On Mon, Sep 14, 2020 at 10:45:33AM -0700, Kenneth R. Crudup wrote:
> 
> On Mon, 14 Sep 2020, Jarkko Sakkinen wrote:
> 
> > What about stack trace?
> 
> It was attached to my original E-mail. But there was nothing special about it,
> the _start is just the standard .start call from "struct seq_operations" so
> that's where the read ends up.
> 
> > Also, are you able to bisect this?
> 
> I'd done a checkout of the commit that introduced this routine, it appears
> to be this way from the start.
> 
> 	-Kenny
> 
> -- 
> Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Orange County CA

OK, thanks for the recap.

/Jarkko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-15 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 22:40 I'm getting panic()s in tpm2_bios_measurements_start()- but don't know why Kenneth R. Crudup
     [not found] ` <20200914173548.GA8011@linux.intel.com>
2020-09-14 17:45   ` Kenneth R. Crudup
2020-09-15 11:44     ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.