** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu)
Status: Incomplete => Fix Released
** Changed in: linux (Ubuntu Bionic)
Importance: Undecided => High
** Changed in: linux (Ubuntu Bionic)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1768292
Title:
Bionic: Intermittently sent to Emergency Mode on boot with unhandled
kernel NULL pointer dereference at 0000000000000980
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Committed
Bug description:
===SRU Justification===
[Impact]
When TBT ICM firmware is not running properly, it may crash the kernel.
[Fix]
Protect against cases when ICM is not set.
[Test]
User confirmed the additional patch works.
[Regression Potential]
Low. It adds a simple logic to avoid NULL dereference.
===Original Bug Report===
Ubuntu Desktop 18.04 release version, running on a Lenovo T570 laptop.
Sometimes, at boot, the system goes into Emergency Mode. In looking
at journalctl -xb output, the following messages are logged:
May 01 10:05:04 galvin-T570 kernel: hidraw: raw HID events driver (C) Jiri
Kosina
May 01 10:05:04 galvin-T570 kernel: acpi PNP0C14:02: duplicate WMI GUID
05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on
May 01 10:05:04 galvin-T570 kernel: acpi PNP0C14:03: duplicate WMI GUID
05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on
May 01 10:05:04 galvin-T570 kernel: pps_core: LinuxPPS API ver. 1 registered
May 01 10:05:04 galvin-T570 kernel: pps_core: Software ver. 5.3.6 - Copyright
2005-2007 Rodolfo Giometti <[email protected]>
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: NHI
initialized, starting thunderbolt
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: allocating TX
ring 0 of size 10
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: allocating RX
ring 0 of size 10
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: control channel
created
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: control channel
starting...
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: starting TX
ring 0
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: enabling
interrupt at register 0x38200 bit 0 (0x0 -> 0x1)
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: starting RX
ring 0
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: enabling
interrupt at register 0x38200 bit 12 (0x1 -> 0x1001)
May 01 10:05:04 galvin-T570 kernel: thunderbolt 0000:09:00.0: starting ICM
firmware
May 01 10:05:04 galvin-T570 kernel: BUG: unable to handle kernel NULL pointer
dereference at 0000000000000980
May 01 10:05:04 galvin-T570 kernel: IP: pci_write_config_dword+0x5/0x30
May 01 10:05:04 galvin-T570 kernel: PGD 0 P4D 0
May 01 10:05:04 galvin-T570 kernel: Oops: 0000 [#1] SMP PTI
May 01 10:05:04 galvin-T570 kernel: Modules linked in: pps_core nvme_core
thunderbolt(+) wmi i2c_hid hid video
May 01 10:05:04 galvin-T570 kernel: CPU: 3 PID: 173 Comm: systemd-udevd Not
tainted 4.15.0-20-generic #21-Ubuntu
May 01 10:05:04 galvin-T570 kernel: Hardware name: LENOVO
20H9000NUS/20H9000NUS, BIOS N1VET32W (1.22 ) 06/02/2017
May 01 10:05:04 galvin-T570 kernel: RIP: 0010:pci_write_config_dword+0x5/0x30
May 01 10:05:04 galvin-T570 kernel: RSP: 0018:ffffa27f840f39e0 EFLAGS:
00010296
May 01 10:05:04 galvin-T570 kernel: RAX: 0000000040000126 RBX:
0000000000000000 RCX: 0000000000000050
May 01 10:05:04 galvin-T570 kernel: RDX: 0000000000000200 RSI:
0000000000000034 RDI: 0000000000000000
May 01 10:05:04 galvin-T570 kernel: RBP: ffffa27f840f3a18 R08:
0000000000000200 R09: 0000000000000320
May 01 10:05:04 galvin-T570 kernel: R10: 0000000000002000 R11:
0000000000000000 R12: 0000000000000000
May 01 10:05:04 galvin-T570 kernel: R13: 0000000000000050 R14:
ffff91b2efc5bb30 R15: 0000000000000000
May 01 10:05:04 galvin-T570 kernel: FS: 00007f4a6cf70680(0000)
GS:ffff91b31f580000(0000) knlGS:0000000000000000
May 01 10:05:04 galvin-T570 kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
May 01 10:05:04 galvin-T570 kernel: CR2: 0000000000000980 CR3:
000000082f944005 CR4: 00000000003606e0
May 01 10:05:04 galvin-T570 kernel: DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
May 01 10:05:04 galvin-T570 kernel: DR3: 0000000000000000 DR6:
00000000fffe0ff0 DR7: 0000000000000400
May 01 10:05:04 galvin-T570 kernel: Call Trace:
May 01 10:05:04 galvin-T570 kernel: ? pcie2cio_write+0x40/0x80 [thunderbolt]
May 01 10:05:04 galvin-T570 kernel: icm_driver_ready+0x1ad/0x2b0
[thunderbolt]
May 01 10:05:04 galvin-T570 kernel: ? tb_ctl_start+0x50/0x90 [thunderbolt]
May 01 10:05:04 galvin-T570 kernel: tb_domain_add+0x79/0x100 [thunderbolt]
May 01 10:05:04 galvin-T570 kernel: nhi_probe+0x186/0x300 [thunderbolt]
May 01 10:05:04 galvin-T570 kernel: local_pci_probe+0x47/0xa0
May 01 10:05:04 galvin-T570 kernel: pci_device_probe+0x145/0x1b0
May 01 10:05:04 galvin-T570 kernel: driver_probe_device+0x31e/0x490
May 01 10:05:04 galvin-T570 kernel: __driver_attach+0xa7/0xf0
May 01 10:05:04 galvin-T570 kernel: ? driver_probe_device+0x490/0x490
May 01 10:05:04 galvin-T570 kernel: bus_for_each_dev+0x70/0xc0
May 01 10:05:04 galvin-T570 kernel: driver_attach+0x1e/0x20
May 01 10:05:04 galvin-T570 kernel: bus_add_driver+0x1c7/0x270
May 01 10:05:04 galvin-T570 kernel: ? 0xffffffffc028c000
May 01 10:05:04 galvin-T570 kernel: driver_register+0x60/0xe0
May 01 10:05:04 galvin-T570 kernel: ? 0xffffffffc028c000
May 01 10:05:04 galvin-T570 kernel: __pci_register_driver+0x5a/0x60
May 01 10:05:04 galvin-T570 kernel: nhi_init+0x2d/0x1000 [thunderbolt]
May 01 10:05:04 galvin-T570 kernel: do_one_initcall+0x52/0x19f
May 01 10:05:04 galvin-T570 kernel: ? _cond_resched+0x19/0x40
May 01 10:05:04 galvin-T570 kernel: ? kmem_cache_alloc_trace+0xa6/0x1b0
May 01 10:05:04 galvin-T570 kernel: ? do_init_module+0x27/0x209
May 01 10:05:04 galvin-T570 kernel: do_init_module+0x5f/0x209
May 01 10:05:04 galvin-T570 kernel: load_module+0x191e/0x1f10
May 01 10:05:04 galvin-T570 kernel: ? ima_post_read_file+0x96/0xa0
May 01 10:05:04 galvin-T570 kernel: SYSC_finit_module+0xfc/0x120
May 01 10:05:04 galvin-T570 kernel: ? SYSC_finit_module+0xfc/0x120
May 01 10:05:04 galvin-T570 kernel: SyS_finit_module+0xe/0x10
May 01 10:05:04 galvin-T570 kernel: do_syscall_64+0x73/0x130
May 01 10:05:04 galvin-T570 kernel: entry_SYSCALL_64_after_hwframe+0x3d/0xa2
May 01 10:05:04 galvin-T570 kernel: RIP: 0033:0x7f4a6ca7a839
May 01 10:05:04 galvin-T570 kernel: RSP: 002b:00007ffdf06cde08 EFLAGS:
00000246 ORIG_RAX: 0000000000000139
May 01 10:05:04 galvin-T570 kernel: RAX: ffffffffffffffda RBX:
00005587e4a21e40 RCX: 00007f4a6ca7a839
May 01 10:05:04 galvin-T570 kernel: RDX: 0000000000000000 RSI:
00007f4a6c7590e5 RDI: 0000000000000005
May 01 10:05:04 galvin-T570 kernel: RBP: 00007f4a6c7590e5 R08:
0000000000000000 R09: 00007ffdf06cdf20
May 01 10:05:04 galvin-T570 kernel: R10: 0000000000000005 R11:
0000000000000246 R12: 0000000000000000
May 01 10:05:04 galvin-T570 kernel: R13: 00005587e4a18ef0 R14:
0000000000020000 R15: 00005587e4a21e40
May 01 10:05:04 galvin-T570 kernel: Code: 87 c0 00 00 00 b9 04 00 00 00 48 89
e5 48 8b 40 20 e8 00 f8 71 00 5d c3 b8 87 00 00 00 c3
May 01 10:05:04 galvin-T570 kernel: RIP: pci_write_config_dword+0x5/0x30 RSP:
ffffa27f840f39e0
May 01 10:05:04 galvin-T570 kernel: CR2: 0000000000000980
May 01 10:05:04 galvin-T570 kernel: ---[ end trace b696dc351adf7f0f ]---
---
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: galvin 1804 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=675220ce-3afc-45f2-9a96-aa3fb36a8614
InstallationDate: Installed on 2018-04-28 (4 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: LENOVO 20H9000NUS
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-20-generic
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
RelatedPackageVersions:
linux-restricted-modules-4.15.0-20-generic N/A
linux-backports-modules-4.15.0-20-generic N/A
linux-firmware 1.173
Tags: bionic
Uname: Linux 4.15.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 06/02/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N1VET32W (1.22 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20H9000NUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias:
dmi:bvnLENOVO:bvrN1VET32W(1.22):bd06/02/2017:svnLENOVO:pn20H9000NUS:pvrThinkPadT570:rvnLENOVO:rn20H9000NUS:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T570
dmi.product.name: 20H9000NUS
dmi.product.version: ThinkPad T570
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768292/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp