PT-2026-150328
CVE-2026-99315
·
Publicado
2026-11-18
·
Atualizado
2026-11-18
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: us122l: Fix NULL dereference at hwdep open and release
usb stream hwdep open() and usb stream hwdep release() pass the result of
usb ifnum to if() straight to usb autopm get interface() and
usb autopm put interface(), without checking it for NULL.
usb ifnum to if() returns NULL once the device is gone, since
usb disable device() clears udev->actconfig on disconnect. The hwdep file
can outlive the disconnect: the card is released with
snd card free when closed(), so a process that keeps the character device
open reaches the driver's release callback after the USB configuration has
been dropped, and interface to usbdev() then dereferences the NULL
interface at offsetof(struct device, parent). The open callback has the
same problem when it races with the disconnect.
Check both lookups and fail the open with -ENODEV; in release, skip the
runtime PM put when the interface is already gone and still run the rest
of the per-file cleanup. Move the us122l->first bookkeeping after the
checks so that a failed open no longer leaves a stale file pointer behind.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾