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

ALSA: usb-audio: avoid kobject path lookup in DualSense match

The DualSense jack-detection input handler verifies that a matching input
device belongs to the same physical controller by building kobject path
strings for both the input device and the USB audio device, then comparing
the path prefix.

This was observed when a weak physical connection caused the controller
to rapidly disconnect and reconnect. During that repeated hotplug,
snd_dualsense_ih_match() can run while the controller's USB device is
being disconnected. kobject_get_path() walks ancestor kobjects and
dereferences their names; if the USB device kobject name is no longer
valid, this can fault in strlen():

RIP: 0010:strlen+0x10/0x30
Call Trace:
kobject_get_path+0x34/0x150
snd_dualsense_ih_match+0x49/0xd0 [snd_usb_audio]
input_register_device+0x566/0x6a0
ps_probe+0xb89/0x1590 [hid_playstation]

The same ownership check can be done without building kobject path
strings. The input device is parented below the HID device, USB interface
and USB device, so walking the input device parent chain and comparing
against the mixer USB device preserves the check without dereferencing
kobject names during disconnect.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the ALSA USB audio driver when a DualSense controller disconnects and reconnects rapidly. The driver compares an input device to its original USB partner by building kobject path strings. During a hot‑plug event, the USB kobject may be removed while the path comparison runs, leading to an invalid string being passed to strlen. This causes a kernel fault and a system reboot, delivering a denial‑of‑service failure. The flaw involves a use‑after‑free scenario combined with a misuse of kernel object names.

Affected Systems

Affected systems are Linux kernel builds that contain the ALSA usb‑audio DualSense jack‑detection code before the patch that eliminates the path lookup. The vulnerability is present in all kernels that have not incorporated the commit series referenced in the advisory, so it applies to any distribution using an unpatched kernel.

Risk and Exploitability

Risk is moderate. The CVSS score of 5.5 indicates above‑average severity for a kernel race condition, while the EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not listed in CISA KEV. The most likely attack vector is local; an attacker must induce a rapid disconnect/reconnect of a DualSense controller, which could trigger a kernel panic and reboot. No public exploit is known. Applying the patch removes the unnecessary path lookup and eliminates the race condition, preventing kernel crashes until the system is updated.

Generated by OpenCVE AI on August 5, 2026 at 00:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch removing the kobject path lookup.
  • Boot the updated kernel and reload the ALSA modules so the change takes effect.
  • If a kernel upgrade is not immediately possible, avoid rapid hot‑plug of DualSense controllers and monitor kernel logs for any crash events so that the system can be rebooted promptly.

Generated by OpenCVE AI on August 5, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Wed, 05 Aug 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Mon, 03 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
CWE-590

Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 26 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
CWE-590

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: avoid kobject path lookup in DualSense match The DualSense jack-detection input handler verifies that a matching input device belongs to the same physical controller by building kobject path strings for both the input device and the USB audio device, then comparing the path prefix. This was observed when a weak physical connection caused the controller to rapidly disconnect and reconnect. During that repeated hotplug, snd_dualsense_ih_match() can run while the controller's USB device is being disconnected. kobject_get_path() walks ancestor kobjects and dereferences their names; if the USB device kobject name is no longer valid, this can fault in strlen(): RIP: 0010:strlen+0x10/0x30 Call Trace: kobject_get_path+0x34/0x150 snd_dualsense_ih_match+0x49/0xd0 [snd_usb_audio] input_register_device+0x566/0x6a0 ps_probe+0xb89/0x1590 [hid_playstation] The same ownership check can be done without building kobject path strings. The input device is parented below the HID device, USB interface and USB device, so walking the input device parent chain and comparing against the mixer USB device preserves the check without dereferencing kobject names during disconnect.
Title ALSA: usb-audio: avoid kobject path lookup in DualSense match
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:51:40.299Z

Reserved: 2026-07-19T15:36:31.791Z

Link: CVE-2026-64478

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:33.350

Modified: 2026-07-25T10:17:33.350

Link: CVE-2026-64478

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64478 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:30:05Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free