CVE-2026-138842

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

xhci: Prevent invalid vdev dereference during sideband unregister

Offloaded USB audio devices using the xhci-sideband API store a pointer to the xhci virtual device (vdev) in the sideband structure when registering.

This pointer typically remains valid throughout the lifetime of the USB device. If a configured offloaded device requires a reset, the USB core usually unbinds or notifies the audio driver beforehand, ensuring that the sideband is unregistered before the vdev is freed.

An exception occurs when the USB core resets a device to recover from a failed resume, but a subsequent 'address device' request also fails. To recover in this specific scenario, the xHCI driver disables and re-enables the slot, which frees and re-allocates the vdev.

xhci_sideband_unregister() later dereferences the stale, previously freed vdev pointer during disconnect, triggering a kernel oops:

Unable to handle kernel paging request at virtual address dead000000000122 Call trace: xhci_get_ep_ctx+0x0/0x38 xhci_sideband_unregister+0x68/0xf0 uaudio_disconnect+0x70/0x144 usb_audio_disconnect+0x7c/0x268 usb_unbind_interface+0x13c/0x340 device_release_driver_internal+0x1c4/0x2bc usb_disable_device+0x84/0x190 usb_disconnect+0xe8/0x338 hub_event+0xbd8/0x19ac

Fix this by preventing the reallocation of the vdev in this specific error path if the device is registered for sideband use.

Just propagate the error directly to the USB core. It should either retry enumeration or detect the disconnected device, and handle it accordingly.

Debugging this issue to the dangling vdev pointer, reporting it, testing, and initial patch with different solution by Lianqin Hu

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138843In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: ccg: Validate altmode index in GET_CURRENT_CAM responCVE-2026-138844In the Linux kernel, the following vulnerability has been resolved: usb: core: don't set drvdata to NULL in usb_unbind_interface() usb_unbCVE-2026-138845In the Linux kernel, the following vulnerability has been resolved: cxl/port: Clear cached dport pointers when a dport is removed Switch dCVE-2026-138846In the Linux kernel, the following vulnerability has been resolved: vfio/mlx5: Fix boundary check in set_report_output() Use > instead of CVE-2026-138847In the Linux kernel, the following vulnerability has been resolved: xen-blkfront: Fix IO race during unplug During unplug, blkfront stops CVE-2026-138848In the Linux kernel, the following vulnerability has been resolved: slimbus: messaging: fix leaked PM vote on tid allocation failure In slCVE-2026-1388497.8In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Allocate entire reserved memory for Audio PD in probe ACVE-2026-138858.8Use after free in Skia in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbCVE-2026-1388507.8In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix double-free in fastrpc_map_attach() error path map-CVE-2026-138851In the Linux kernel, the following vulnerability has been resolved: USB: cdc-acm: fix urb leak on disconnect Make sure to drop the referenCVE-2026-1388528.4In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: validate MAC/PHY capability count before saving FirmwareCVE-2026-1388537.0In the Linux kernel, the following vulnerability has been resolved: drm/ttm: return an error when kmapping a BO without pages ttm_tt objec
CVE-2026-138842: Unscored | Vulnix