Regression: kernel bug upon keyboard disconnect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
En-Wei Wu |
Bug Description
On a Dell Venue 7140 tablet with the keyboard/
[ 83.719050] usb 1-4: USB disconnect, device number 3
[ 83.861800] intel-vbtn INT33D6:00: Registering Intel Virtual Switches input-dev after receiving a switch event
[ 83.861858] input: Intel Virtual Switches as /devices/
[ 83.861865] intel-vbtn INT33D6:00: Registering Intel Virtual Switches input-dev after receiving a switch event
[ 83.861872] sysfs: cannot create duplicate filename '/devices/
[ 83.861874] CPU: 2 PID: 1161 Comm: kworker/2:4 Not tainted 6.8.0-40-generic #40-Ubuntu
[ 83.861877] Hardware name: Dell Inc. Venue 11 Pro 7140/0XMVMH, BIOS A20 11/18/2019
[ 83.861879] Workqueue: kacpi_notify acpi_os_
[ 83.861885] Call Trace:
[ 83.861887] <TASK>
[ 83.861890] dump_stack_
[ 83.861894] dump_stack+
[ 83.861897] sysfs_warn_
[ 83.861901] sysfs_create_
[ 83.861905] kobject_
[ 83.861908] kobject_
[ 83.861912] ? get_device_
[ 83.861917] device_
[ 83.861919] input_register_
[ 83.861924] notify_
[ 83.861930] acpi_ev_
[ 83.861934] acpi_os_
[ 83.861937] process_
[ 83.861941] worker_
[ 83.861945] ? _raw_spin_
[ 83.861948] ? __pfx_worker_
[ 83.861951] kthread+0xf2/0x120
[ 83.861954] ? __pfx_kthread+
[ 83.861956] ret_from_
[ 83.861959] ? __pfx_kthread+
[ 83.861962] ret_from_
[ 83.861965] </TASK>
[ 83.861967] kobject: kobject_
[ 83.877338] BUG: kernel NULL pointer dereference, address: 0000000000000018
[ 83.877347] #PF: supervisor read access in kernel mode
[ 83.877350] #PF: error_code(0x0000) - not-present page
[ 83.877353] PGD 0 P4D 0
[ 83.877358] Oops: 0000 [#1] PREEMPT SMP PTI
[ 83.877362] CPU: 2 PID: 56 Comm: kworker/2:1 Not tainted 6.8.0-40-generic #40-Ubuntu
[ 83.877366] Hardware name: Dell Inc. Venue 11 Pro 7140/0XMVMH, BIOS A20 11/18/2019
[ 83.877369] Workqueue: kacpi_notify acpi_os_
[ 83.877378] RIP: 0010:klist_
[ 83.877385] Code: 55 48 89 e5 41 55 4c 8d 6f 08 41 54 49 89 fc 53 48 89 f3 48 89 37 83 e6 01 4c 89 6f 08 4c 89 6f 10 c7 47 18 01 00 00 00 75 4d <48> 8b 43 18 48 85 c0 74 08 4c 89 e7 e8 85 38 0c 00 48 89 df e8 dd
[ 83.877389] RSP: 0018:ffffb6dec0
[ 83.877393] RAX: ffff96b9c82fbc00 RBX: 0000000000000000 RCX: 0000000000000000
[ 83.877396] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff96b9c82fbc28
[ 83.877399] RBP: ffffb6dec022bcb0 R08: 0000000000000000 R09: 0000000000000000
[ 83.877402] R10: 0000000000000000 R11: 0000000000000000 R12: ffff96b9c82fbc28
[ 83.877406] R13: ffff96b9c82fbc30 R14: 0000000000000000 R15: ffff96ba13371090
[ 83.877409] FS: 000000000000000
[ 83.877413] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 83.877416] CR2: 0000000000000018 CR3: 000000010d080005 CR4: 00000000003706f0
[ 83.877419] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 83.877422] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 83.877424] Call Trace:
[ 83.877428] <TASK>
[ 83.877432] ? show_regs+0x6d/0x80
[ 83.877438] ? __die+0x24/0x80
[ 83.877442] ? page_fault_
[ 83.877448] ? do_user_
[ 83.877453] ? exc_page_
[ 83.877459] ? asm_exc_
[ 83.877468] ? klist_add_
[ 83.877473] device_
[ 83.877479] cdev_device_
[ 83.877483] ? cdev_init+0x56/0x70
[ 83.877488] evdev_connect+
[ 83.877493] input_attach_
[ 83.877498] input_register_
[ 83.877505] notify_
[ 83.877514] acpi_ev_
[ 83.877520] acpi_os_
[ 83.877525] process_
[ 83.877532] worker_
[ 83.877537] ? _raw_spin_
[ 83.877542] ? __pfx_worker_
[ 83.877547] kthread+0xf2/0x120
[ 83.877551] ? __pfx_kthread+
[ 83.877555] ret_from_
[ 83.877560] ? __pfx_kthread+
[ 83.877564] ret_from_
[ 83.877571] </TASK>
[ 83.877572] Modules linked in: ccm rfcomm snd_seq_dummy snd_hrtimer qrtr cmac algif_hash algif_skcipher af_alg bnep lz4 lz4_compress zram x86_pkg_
[ 83.877666] processor_
[ 83.877753] hid_sensor_hub hid_generic sha256_ssse3 sha1_ssse3 xhci_pci_renesas libahci dw_dmac i2c_hid_acpi wmi i2c_hid hid dw_dmac_core aesni_intel crypto_simd cryptd
[ 83.877774] CR2: 0000000000000018
[ 83.877778] ---[ end trace 0000000000000000 ]---
[ 85.086831] i2c_designware INT3432:00: controller timed out
[ 85.638153] RIP: 0010:klist_
[ 85.638174] Code: 55 48 89 e5 41 55 4c 8d 6f 08 41 54 49 89 fc 53 48 89 f3 48 89 37 83 e6 01 4c 89 6f 08 4c 89 6f 10 c7 47 18 01 00 00 00 75 4d <48> 8b 43 18 48 85 c0 74 08 4c 89 e7 e8 85 38 0c 00 48 89 df e8 dd
[ 85.638178] RSP: 0018:ffffb6dec0
[ 85.638183] RAX: ffff96b9c82fbc00 RBX: 0000000000000000 RCX: 0000000000000000
[ 85.638186] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff96b9c82fbc28
[ 85.638189] RBP: ffffb6dec022bcb0 R08: 0000000000000000 R09: 0000000000000000
[ 85.638191] R10: 0000000000000000 R11: 0000000000000000 R12: ffff96b9c82fbc28
[ 85.638193] R13: ffff96b9c82fbc30 R14: 0000000000000000 R15: ffff96ba13371090
[ 85.638196] FS: 000000000000000
[ 85.638198] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 85.638201] CR2: 0000000000000018 CR3: 000000010d080005 CR4: 00000000003706f0
[ 85.638206] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 85.638208] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 85.638211] note: kworker/2:1[56] exited with irqs disabled
After unplugging the system the following things don't work at all:
1. Suspend to idle - the system simply hangs
2. Poweroff normally (the only way is forcing it via long press the power button)
3. USB ports: both the USB port on the tablet and also plugging in the keyboard again
If the system is booted with the keyboard attached and it is never disconnected, the issue is not observed.
This is a regression somewhere between versions 6.5.0-35 and 6.8.0-36.
The issue is observed on 6.8.0-36, 6.8.0.38 and 6.8.0-40
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.8.0-40-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: kstoilov 2381 F.... pipewire
/dev/snd/
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 12 21:39:21 2024
InstallationDate: Installed on 2021-12-11 (944 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: Dell Inc. Venue 11 Pro 7140
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 20240318.
SourcePackage: linux
UpgradeStatus: Upgraded to noble on 2024-05-22 (51 days ago)
dmi.bios.date: 11/18/2019
dmi.bios.release: 65.20
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A20
dmi.board.name: 0XMVMH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Venue 11 Pro 7140
dmi.product.sku: 066B
dmi.sys.vendor: Dell Inc.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Changed in linux (Ubuntu): | |
assignee: | nobody → En-Wei Wu (rickywu) |
tags: | added: regression-release |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
@kmstoilov
Could you try mainline build kernel version[1] to find out which is the first version that introduced the regression?
Like first try v6.8, v6.9 and v6.10-rc4.
Thanks.
[1] https:/ /kernel. ubuntu. com/mainline/