Katalog CVE

CVE-2026-98314

Niskie ryzyko· EPSS 8%
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.18%

Percentyl 8 - wyżej niż 8% wszystkich znanych CVE

Streszczenie

W jądrze Linux w podsystemie ALSA funkcja snd_pcm_timer_init() rejestrowała timer PCM przed ustawieniem pola timer->private_data. W krótkim oknie czasowym równoległy wątek mógł uzyskać dostęp do timera przez /proc/asound/timers lub snd_timer_open() i wywołać wskaźnik NULL, powodując dereferencję NULL. Poprawka przenosi przypisanie private_data przed rejestrację.

Ocena ryzyka

Dereferencja wskaźnika NULL w jądrze może doprowadzić do awarii systemu (panic) i odmowy usługi. Ryzyko występuje przy równoczesnym dostępie do timerów PCM, np. przez /proc/asound/timers.

Rekomendacja

Zaktualizuj jądro Linux do wersji z poprawką. Jeśli aktualizacja nie jest możliwa, ogranicz równoległy dostęp do urządzeń dźwiękowych i plików /proc/asound.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: set timer->private_data before registering the PCM timer snd_pcm_timer_init() calls snd_device_register() to link the new struct snd_timer into the global timer list while it still carries hw.c_resolution = snd_pcm_timer_resolution (and hw.start/hw.stop), and only afterwards sets timer->private_data = substream. Once the timer is on the list under register_mutex, a concurrent reader can already reach it through the same mutex and invoke these callbacks. /proc/asound/timers does this via c_resolution(), and snd_timer_open()+snd_timer_start() reach start()/stop() the same way. All three dereference timer->private_data, which for this brief window is NULL, giving a NULL-pointer dereference: substream = timer->private_data; return substream->runtime ? ... // substream is NULL Move the private_data/private_free assignment before snd_device_register() so the timer is never visible on the list without its private_data set. On the snd_device_register() failure path, private_free() (snd_pcm_timer_free()) can now run, but it only does substream->timer = NULL, which is already NULL at that point since substream->timer is set to the new timer just once, after a successful registration -- so the failure path stays safe.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS