NULL pointer dereference in power_supply_get_property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.10 final release boot via usb thumb drive on thinkpad T480 (containing nvidia gpu)
reproducible kernel panic during boot
backtrace via OCR from picture of kernel panic:
Started Periodic ext4 Online Hetadata Check for All Filesystems. Started
Discard unused blocks once a week.
Started Refresh fuupd metadate regularly. Started Daily rotation of log files.
Started Daily man-db regeneration.
Started Message of the Day.
Started Daily Cleanup of Temporary Directories.
Started Ubuntu Advantage Timer for running repeated jobs.
Reached target Path Units. Listening on Avehi MONS/DNS-SD Stack Activation
Socket.
1 Listening on CUPS Scheduler.
1 Listening on 0-Bus System Message Bus Socket. Starting Socket activation
for snappy deeson...
Listening on UUID deemon activation socket. 1 Listening on Socket activation
for snappy daemon.
Reached target Socket Units. 1 Reached target Basic System.
20.300662) BUG: Kernel NULL pointer dereference, address: 000000000000
20.3012911 #PF: supervisor instruction fetch in kernel mode 20.3018531 WPF:
error code (0x0010) - not-present page
20.302458) PGD O P40 0
20.909018) Oops: 0010 [#1] PREEMPT SHP PTI 20.303579)
CPU: 4 PID: 1 Comm: systemd Tainted: P
0 5.19.0-21-generic #21-Ubuntu Hardware name: LENOVO 20L5000BGE/
BIOS N24ET7ON (1.45) 07/22/2022
20.304190)
20.304774) RIP: 0010:0N0
20.305376) Code: Unable to access opcode bytes at RIP Oxffffffffffffffd6.
20.305982) RSP: 0018:ffffb17180
20.3066231 RAX: 0000000000000000 RBX: ffffffff95538288 RCX: ffff8c43c1d89800
20.307282) RDX: ffffb17180087cdo RSI: 0000000000000004 RDI: ffff8c43c1d89800
20.307949) RBP: ffffb17180087ca8 R08: ffff8c43c1d89838 R09: 000000000
20.308627) R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000
20.309318) R13: ffff8c43de65c000 R14: ffff8c43c1d89838 R15: ffffffff9553a288
20.310023) FS: 00007f37adf23940 (0000) GS:ffff8c532270
20.310762) CS: 0010 DS: 0000 ES: 0000 CRO: 0000000080050033
20.311491) CR2: ffff fffds CRS: 000000011eida002 CR4: 00000000003706e0
20.312241) Call Trace:
20.312992) <TASK) 20.313739)
power supply_
20.314432) power supply show property+0xce/0x2c0
20.315239) 20.315985)
dev_
20.316724) kernfs_
20.317460) seq.read_
kernfs fop read iter+0x34/0x40
20.318922)
20.319680) new_sync_
20.320430) vfs read+0x15a/0x1b0
20.321176) 20.321922 x64_sys_
ksys read+0x73/0x100
20.322668) do syscall 64+0x58/0x90
20.323433) ? do syscall 64+0x67/0x90 ? do syscall 64+0x67/0x90
20.324213) 20.324957 ? do syscall 64+0x67/0x90
20.3256961 7 do syscall 64+0x67/0x90
20.326436) entry.SYSCALL_
0033:
20.3279521 Code: 31 co e9 b2 fe ff ff 50 48 8d 3d b2 08 ob 00 e8 65 29 02 00
of 1f 44 00 00 f 20.3287661 RSP: 002b:00007ffca4
RAX: 0000000000000000
ed 10
20.329592) RAX: ff fffffda RBX: 0000555ac403f0do RCX: 00007f37aea16cf1
20.330421) RDX: 0000000000001001 RSI: 0000555ac403f0do RDI: 0000000000000048
20.331253) RBP: 00000000 048 ROB: 00007f37aeb00ce0 R09: 00007f37aeb00ce0
20.3320831 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000001001
R14: 00000000003ffffe R15: 0000000000000002
20.332950) R13: ff 20.333800] </TASK
20.3346511 Modules linked in: binfat misc zfs (PO) zunicode (PO) zzstd(0)
ziua (0) zavi(PO) icp (PO) zcommon (PO) zmpair (P0) 2) INN und soc.acol
snd_hda_codec generic snd_soc_core x86.pkg_
mac80211 snd.compress ac57, bus andang event rai sebut mel.hdcp uvcvideo
nei_xp btusb rmi_core rapi snd_seq serio.rou snd.raumidi think imi
thinkpad,acpl intel.cstate intell
un thunderbolt and timer input leds
20.3347151 Joydev videodev processor thermal device.pci legacy bluetooth
processor thermal device processor thermal and 400 thermal ecc mel me
typec.ucsi typec acpi thermal rei intel.pch thermal mei nachid intel xhci
usb role switch acpipat parport.p mirror de region.hash de log hid generic
usbhid hid uas usb storage 1915 nouveau mimuni drabuddy 12c algo bit dreper
then,ŽİNDİN
process
e1000e 12c 1801 thunderbolt nume.core 20.330656) 12c.mbus xhci.pci xhci.pci
renesas uni video 20.344252) CR2: 0000000000000000
20.3453971-- end trace 000000000000000
20.520447) Code: Unable to access opcode bytes at RIP 0xff 20.521561) RSP:
0018:
20.522717) 20.523863) RDX: 20.5250273 ROP: ffffb17100087ca8 R08:
ffff0c43c1d
RAKE 0000000000000000 RBX: ffffffff95538208 RCX: #fff8 1d89800
ffffb171800
20.528176) #10: 0000000000000000 R11: 0000000000000000 R12: 0000000 0004
20.527375) 813: ffff@c45de65c000 R14: ffff8c43c1d89838 R15: fffff 553a208
00007f37adf
0010 DS: 0000 ES: 0000 CRO: 0000000080050033
20.529568) FS:
60550945) CR2: FEFEFTTEETTEFOS CRS: 000000011e1da002 CR4: 00000000003706e0
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0p: swagner 3181 F...m pulseaudio
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2019-04-02 (1302 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.2)
MachineType: LENOVO 20L5000BGE
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
Tags: jammy
Uname: Linux 5.15.0-52-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-04-25 (182 days ago)
UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 07/22/2022
dmi.bios.release: 1.45
dmi.bios.vendor: LENOVO
dmi.bios.version: N24ET70W (1.45 )
dmi.board.
dmi.board.name: 20L5000BGE
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T480
dmi.product.name: 20L5000BGE
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
tags: |
added: kinetic removed: jammy |
description: | updated |
tags: | added: patch |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1994126
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.