Public bug reported:

The Bluetooth controller fails to initialize on kernel
6.8.0-139.139~22.04.1. During hci_power_on, the MediaTek btmtk driver
hits a kernel NULL pointer dereference, the handling kworker dies with
IRQs disabled, and hci0 is left stuck in DOWN INIT with an all-zero BD
address.

The previous kernel 6.8.0-138.138~22.04.1 is unaffected, with identical
linux-firmware(20220329.git681281e4-0ubuntu3.42) and
bluez(5.64-0ubuntu1.4), this seems to be a kernel regression.

This failure affects the following checkbox tests:
- com.canonical.certification::bluetooth/detect-output
- com.canonical.certification::bluetooth4/beacon_eddystone_url_hc0

Machines:
- https://certification.canonical.com/hardware/202401-33402/

Steps to reproduce:
1. Boot the machine with kernel 6.8.0-139.139~22.04.1.
2. Checkbox dmesg for crash, null pointer appears in btmtk_usb_hci_wmt_sync 
during hci power on.
3. run `sudo rfkill unblock bluetooth; hciconfig -a; hcitool dev` to check the 
controller state.
4. reboot into  6.8.0-138.138~22.04.1 and repeat steps 2-3.

Fail rate: 3/3 on 6.8.0.139

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-6.8.0-139-generic 6.8.0-139.139~22.04.1
ProcVersionSignature: Ubuntu 6.8.0-139.139~22.04.1-generic 6.8.12
Uname: Linux 6.8.0-139-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.10
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  ubuntu     1307 F.... pulseaudio
 /dev/snd/controlC0:  ubuntu     1307 F.... pulseaudio
CasperMD5CheckMismatches: ./preseed/project.cfg
CasperMD5CheckResult: fail
Date: Mon Aug 31 13:19:26 2026
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-stella-jammy-amd64-20240408-800
InstallationDate: Installed on 2026-08-28 (3 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - 
pc-stella-jammy-amd64-20240408-800
MachineType: HP HP ZBook Power 16 inch G11 A Mobile Workstation PC
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-139-generic 
root=UUID=6006e56e-4c1e-49e1-8a56-4c55eea6d70d ro automatic-oem-config quiet 
splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-139-generic N/A
 linux-backports-modules-6.8.0-139-generic  N/A
 linux-firmware                             20220329.git681281e4-0ubuntu3.42
SourcePackage: linux-hwe-6.8
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/21/2024
dmi.bios.release: 1.1
dmi.bios.vendor: HP
dmi.bios.version: W85 Ver. 01.01.01
dmi.board.name: 8C95
dmi.board.vendor: HP
dmi.board.version: KBC Version 08.40.00
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 8.64
dmi.modalias: 
dmi:bvnHP:bvrW85Ver.01.01.01:bd03/21/2024:br1.1:efr8.64:svnHP:pnHPZBookPower16inchG11AMobileWorkstationPC:pvrSBKPF:rvnHP:rn8C95:rvrKBCVersion08.40.00:cvnHP:ct10:cvr:skuXW8SKU3#ABA:
dmi.product.family: 103C_5336AN HP ZBook
dmi.product.name: HP ZBook Power 16 inch G11 A Mobile Workstation PC
dmi.product.sku: XW8SKU3#ABA
dmi.product.version: SBKPF
dmi.sys.vendor: HP

** Affects: linux-hwe-6.8 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cert-sru jammy package-from-proposed 
regression-proposed

** Attachment added: "dmesg-6.8.0-139.txt"
   
https://bugs.launchpad.net/bugs/2165873/+attachment/5996473/+files/dmesg-6.8.0-139.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165873

Title:
  Bluetooth fails to initialize due to a kernel NULL pointer error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.8/+bug/2165873/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to