BUG: kernel NULL pointer dereference, address: 0000000000000300
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-hwe-5.13 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Recently I experienced the issue that after dis- and reconnecting my monitor (Philips 346B1C) with USB-Hub, my laptop (Lenovo E480) did not accept any inputs (mouse or keyboard, neither), while the display looked OK.
I was able to access the laptop using SSH and found following backtrace in dmesg:
[18890.250253] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18890.250286] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18890.250293] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18890.250300] pcieport 0000:00:1d.2: [ 0] RxErr
[18923.193928] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18923.193941] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18923.193944] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18923.193948] pcieport 0000:00:1d.2: [ 0] RxErr
[18929.192524] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18929.192547] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18929.192554] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18929.192561] pcieport 0000:00:1d.2: [ 0] RxErr
[18941.195429] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18941.195440] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18941.195446] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18941.195450] pcieport 0000:00:1d.2: [ 0] RxErr
[18965.194123] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18965.194132] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18965.194134] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18965.194136] pcieport 0000:00:1d.2: [ 0] RxErr
[18983.192431] pcieport 0000:00:1d.2: AER: Multiple Corrected error received: 0000:00:1d.2
[18983.192471] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Transmitter ID)
[18983.192478] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18983.192487] pcieport 0000:00:1d.2: [ 0] RxErr
[18983.192494] pcieport 0000:00:1d.2: [12] Timeout
[18989.194543] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[18989.194574] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[18989.194581] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[18989.194588] pcieport 0000:00:1d.2: [ 0] RxErr
[19001.195887] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19001.195914] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19001.195919] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19001.195926] pcieport 0000:00:1d.2: [ 0] RxErr
[19005.947848] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19005.947872] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19005.947878] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19005.947886] pcieport 0000:00:1d.2: [ 0] RxErr
[19007.194477] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19007.194505] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19007.194509] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19007.194514] pcieport 0000:00:1d.2: [ 0] RxErr
[19024.985336] usb 1-2: USB disconnect, device number 38
[19024.985359] usb 1-2.1: USB disconnect, device number 39
[19024.985370] usb 1-2.1.1: USB disconnect, device number 40
[19025.030357] r8152 2-2.2:1.0 enx186571e521da: Stop submitting intr, status -71
[19025.049481] usb 1-2.1.2: USB disconnect, device number 41
[19025.151593] usb 1-2.1.4: USB disconnect, device number 42
[19025.276446] usb 2-2.1: Port disable: can't disable remote wake
[19025.555856] r8152 2-2.2:1.0 enx186571e521da: Tx status -71
[19025.735918] usb 1-2: new high-speed USB device number 43 using xhci_hcd
[19025.770499] usb 2-2: USB disconnect, device number 5
[19025.770513] usb 2-2.1: USB disconnect, device number 6
[19025.771766] usb 2-2.2: USB disconnect, device number 7
[19025.778710] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19025.778739] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19025.778748] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19025.778760] pcieport 0000:00:1d.2: [ 0] RxErr
[19025.884801] usb 1-2: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=65.20
[19025.884819] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19025.884826] usb 1-2: Product: USB2.1 Hub
[19025.884830] usb 1-2: Manufacturer: GenesysLogic
[19025.886115] hub 1-2:1.0: USB hub found
[19025.886553] hub 1-2:1.0: 3 ports detected
[19026.114643] usb 2-2: new SuperSpeed USB device number 8 using xhci_hcd
[19026.163004] usb 2-2: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=65.20
[19026.163032] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19026.163040] usb 2-2: Product: USB3.1 Hub
[19026.163048] usb 2-2: Manufacturer: GenesysLogic
[19026.165752] hub 2-2:1.0: USB hub found
[19026.166145] hub 2-2:1.0: 2 ports detected
[19026.226118] [drm] PCIE GART of 256M enabled (table at 0x000000F400000
[19026.238214] usb 1-2.1: new high-speed USB device number 44 using xhci_hcd
[19026.364989] usb 1-2.1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=65.30
[19026.364992] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19026.364994] usb 1-2.1: Product: USB2.1 Hub
[19026.364995] usb 1-2.1: Manufacturer: GenesysLogic
[19026.366215] hub 1-2.1:1.0: USB hub found
[19026.366517] hub 1-2.1:1.0: 4 ports detected
[19026.437917] [drm] UVD and UVD ENC initialized successfully.
[19026.454413] usb 2-2.1: new SuperSpeed USB device number 9 using xhci_hcd
[19026.477386] usb 2-2.1: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=65.30
[19026.477389] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19026.477390] usb 2-2.1: Product: USB3.1 Hub
[19026.477406] usb 2-2.1: Manufacturer: GenesysLogic
[19026.480909] hub 2-2.1:1.0: USB hub found
[19026.481276] hub 2-2.1:1.0: 4 ports detected
[19026.548894] [drm] VCE initialized successfully.
[19026.603571] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19026.603591] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19026.603593] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19026.603594] pcieport 0000:00:1d.2: [ 0] RxErr
[19026.682472] usb 1-2.1.1: new low-speed USB device number 45 using xhci_hcd
[19026.831631] usb 1-2.1.1: New USB device found, idVendor=1bcf, idProduct=0005, bcdDevice= 0.14
[19026.831636] usb 1-2.1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[19026.831638] usb 1-2.1.1: Product: USB Optical Mouse
[19026.841263] input: USB Optical Mouse as /devices/
[19026.898342] hid-generic 0003:1BCF:
[19026.936372] pcieport 0000:00:1d.2: AER: Multiple Corrected error received: 0000:00:1d.2
[19026.936398] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19026.936402] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19026.936407] pcieport 0000:00:1d.2: [ 0] RxErr
[19027.006230] usb 1-2.1.2: new high-speed USB device number 46 using xhci_hcd
[19027.102870] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19027.102883] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19027.102887] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19027.102890] pcieport 0000:00:1d.2: [ 0] RxErr
[19027.269243] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19027.269372] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19027.269374] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19027.269375] pcieport 0000:00:1d.2: [ 0] RxErr
[19027.293732] usb 1-2.1.2: New USB device found, idVendor=090c, idProduct=337b, bcdDevice=22.04
[19027.293736] usb 1-2.1.2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[19027.293738] usb 1-2.1.2: Product: Web Camera
[19027.293739] usb 1-2.1.2: Manufacturer: USBCam
[19027.293740] usb 1-2.1.2: SerialNumber: 200901010001
[19027.305004] usb 1-2.1.2: Found UVC 1.00 device Web Camera (090c:337b)
[19027.351574] input: Web Camera: Web Camera as /devices/
[19027.363254] usb 1-2.1.2: current rate 48000 is different from the runtime rate 8000
[19027.381626] usb 1-2.1.2: current rate 48000 is different from the runtime rate 16000
[19027.400768] usb 1-2.1.2: current rate 48000 is different from the runtime rate 44100
[19027.410390] usb 2-2.2: new SuperSpeed USB device number 10 using xhci_hcd
[19027.431108] usb 2-2.2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[19027.431127] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[19027.431131] usb 2-2.2: Product: USB 10/100/1000 LAN
[19027.431133] usb 2-2.2: Manufacturer: Realtek
[19027.431136] usb 2-2.2: SerialNumber: 001000001
[19027.438083] usb 1-2.1.2: current rate 48000 is different from the runtime rate 8000
[19027.456940] usb 1-2.1.2: current rate 48000 is different from the runtime rate 16000
[19027.475054] usb 1-2.1.2: current rate 48000 is different from the runtime rate 44100
[19027.542653] usb 2-2.2: reset SuperSpeed USB device number 10 using xhci_hcd
[19027.586894] r8152 2-2.2:1.0: load rtl8153b-2 v1 10/23/19 successfully
[19027.620039] r8152 2-2.2:1.0 eth0: v1.12.12
[19027.670222] usb 1-2.1.4: new low-speed USB device number 47 using xhci_hcd
[19027.774348] usb 1-2.1.4: device descriptor read/64, error -32
[19027.994232] usb 1-2.1.4: device descriptor read/64, error -32
[19028.210327] usb 1-2.1.4: new low-speed USB device number 48 using xhci_hcd
[19028.318425] usb 1-2.1.4: device descriptor read/64, error -32
[19028.534283] usb 1-2.1.4: device descriptor read/64, error -32
[19028.642517] usb 1-2.1-port4: attempt power cycle
[19029.302403] usb 1-2.1.4: new low-speed USB device number 49 using xhci_hcd
[19029.302881] usb 1-2.1.4: Device not responding to setup address.
[19029.381731] BUG: kernel NULL pointer dereference, address: 0000000000000300
[19029.381745] #PF: supervisor read access in kernel mode
[19029.381752] #PF: error_code(0x0000) - not-present page
[19029.381758] PGD 0 P4D 0
[19029.381766] Oops: 0000 [#1] SMP PTI
[19029.381774] CPU: 0 PID: 20969 Comm: kworker/0:1 Tainted: G OE 5.13.0-41-generic #46~20.04.1-Ubuntu
[19029.381784] Hardware name: LENOVO 20KN009QGE/
[19029.381789] Workqueue: events ucsi_handle_
[19029.381809] RIP: 0010:typec_
[19029.381836] Code: 76 f7 c0 31 f6 4c 89 e7 41 88 84 24 e0 02 00 00 e8 00 e6 46 cd eb cf 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00 00 <39> b7 00 03 0
[19029.381844] RSP: 0018:ffffb76f42
[19029.381851] RAX: 0000000000004900 RBX: ffff8c15c5e753c0 RCX: 0000000000000000
[19029.381857] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[19029.381862] RBP: ffffb76f42b7be58 R08: 000000000000000c R09: 0000000000000004
[19029.381867] R10: ffffffff8fe746c0 R11: ffff8c1902434f70 R12: ffff8c15caf11030
[19029.381871] R13: ffff8c15caf11010 R14: ffff8c15caf11000 R15: 0000000000000000
[19029.381877] FS: 000000000000000
[19029.381883] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[19029.381889] CR2: 0000000000000300 CR3: 00000003d0610005 CR4: 00000000003706f0
[19029.381895] Call Trace:
[19029.381899] <TASK>
[19029.381904] ? ucsi_handle_
[19029.381918] ? kfree+0xd8/0x2a0
[19029.381935] process_
[19029.381947] worker_
[19029.381956] ? process_
[19029.381964] kthread+0x12b/0x150
[19029.381971] ? set_kthread_
[19029.381978] ret_from_
[19029.381993] </TASK>
[19029.381996] Modules linked in: nfnetlink_queue nfnetlink_log nfnetlink usbmon hid_jabra btrfs blake2b_generic xor zstd_compress raid6_pq ufs qnx4 hfsplus hfs mmmon intel_tcc_cooling x86_pkg_
[19029.382159] snd_intel_sdw_acpi rmi_core thinkpad_acpi snd_hda_codec videobuf2_vmalloc wmi_bmof intel_wmi_
[19029.382338] CR2: 0000000000000300
[19029.382344] ---[ end trace 8031b782f1fb82e4 ]---
[19029.524488] usb 1-2.1.4: Device not responding to setup address.
[19029.705976] RIP: 0010:typec_
[19029.706024] Code: 76 f7 c0 31 f6 4c 89 e7 41 88 84 24 e0 02 00 00 e8 00 e6 46 cd eb cf 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00 00 <39> b7 00 03 0
[19029.706027] RSP: 0018:ffffb76f42
[19029.706030] RAX: 0000000000004900 RBX: ffff8c15c5e753c0 RCX: 000000000000000
[19029.706032] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[19029.706034] RBP: ffffb76f42b7be58 R08: 000000000000000c R09: 0000000000000004
[19029.706036] R10: ffffffff8fe746c0 R11: ffff8c1902434f70 R12: ffff8c15caf11030
[19029.706037] R13: ffff8c15caf11010 R14: ffff8c15caf11000 R15: 0000000000000000
[19029.706039] FS: 000000000000000
[19029.706040] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[19029.706042] CR2: 0000000000000300 CR3: 000000010e4a0003 CR4: 00000000003706f0
[19029.734197] usb 1-2.1.4: device not accepting address 49, error -71
[19029.822983] pcieport 0000:00:1d.2: AER: Corrected error received: 0000:00:1d.2
[19029.823011] pcieport 0000:00:1d.2: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[19029.823019] pcieport 0000:00:1d.2: device [8086:9d1a] error status/
[19029.823028] pcieport 0000:00:1d.2: [ 0] RxErr
[19029.838289] usb 1-2.1.4: new low-speed USB device number 50 using xhci_hcd
[19029.838919] usb 1-2.1.4: Device not responding to setup address.
[19030.047154] usb 1-2.1.4: Device not responding to setup address.
[19030.258235] usb 1-2.1.4: device not accepting address 50, error -71
[19030.258830] usb 1-2.1-port4: unable to enumerate USB device
[19030.584303] r8152 2-2.2:1.0 enx186571e521da: renamed from eth0
After a reboot, the issue was gone (and did not occur again). The backtrace also was not stored in kern.log .
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.13.0-41-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: KDE
Date: Fri Jun 17 15:23:07 2022
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])
Subsystem: Lenovo UHD Graphics 620 [17aa:5069]
Subsystem: Lenovo Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [17aa:5069]
InstallationDate: Installed on 2021-03-30 (444 days ago)
InstallationMedia: Kubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 06cb:00a2 Synaptics, Inc.
Bus 001 Device 003: ID 13d3:56a6 IMC Networks Integrated Camera
Bus 001 Device 005: ID 8087:0a2a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20KN009QGE
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/19/2020
dmi.bios.release: 1.44
dmi.bios.vendor: LENOVO
dmi.bios.version: R0PET67W (1.44 )
dmi.board.
dmi.board.name: 20KN009QGE
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad E480
dmi.product.name: 20KN009QGE
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.107-
version.
version.
version.
version.
version.
version.
version.
affects: | ubuntu → xorg (Ubuntu) |
We should probably ignore "Corrected error" because those are just hardware errors and whether they're related to the kernel crash or not, the kernel still should not crash.
Please try a newer kernel version such as:
https:/ /kernel. ubuntu. com/~kernel- ppa/mainline/ v5.18.4/ amd64/
or just install Ubuntu 22.04 if you can.