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

CVE-2026-64478
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected d0b0264009596c07a77d82808b0dae72bc04ac5c < e4c66a149c408e44e60bfec3fabf08b6b7abbc60 ; affected b4b94f092f193d7a2db8e82af5e51519ae89963c < 4566bf8ae9dbfe81bdc2ff1702d59db8a233b06e ; affected c2d5b0a6c688ffb32c35627e337fbbcc65bc275f < 662a1d7b5affc424ea4f4bc20dd99be29e687886 ; affected d04d301614630724feb4048bf17432fc7964fe74 < a47ecd904c51ae6a42957feb3cf2f4266adee2e5 ; affected a705899ec6085b12a33aa0fd94a58e82e9e90502 < c1da6d3f45036fa63672ee04ad97cb526b40b987 ; affected 79d561c4ec0497669f19a9550cfb74812f60938b < a263eb12cbe2e208e6e637df0f9b0be9a484158e
Linux · Linuxaffected 6.17 ; unaffected 0 < 6.17 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD