PT-2026-168741

CVE-2026-143435

·

تاريخ النشر

2026-12-05

·

تاريخ التحديث

2026-12-05

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcm: Protect channel-map reads against runtime detach
Channel-map controls remain accessible between PCM opens. In-tree HDA code publishes the generic controls through add std chmaps(), so a SNDRV CTL IOCTL ELEM READ can overlap the final close of the same PCM substream.
pcm chmap ctl get() checks substream->runtime and later reads its channel count. Final close clears and frees that runtime under pcm->open mutex, while the control callback holds only controls rwsem:
Control GET Final PCM close

snd ctl elem read() down read(controls rwsem) pcm chmap ctl get() check substream->runtime lock(pcm->open mutex) snd pcm release substream() snd pcm detach substream() substream->runtime = NULL kfree(runtime) unlock(pcm->open mutex) substream->runtime->channels NULL or freed-pointer access up read(controls rwsem)
Reloading the cleared field can fault through NULL, while retaining the old pointer can access freed storage. controls rwsem keeps the control alive, but does not serialize the matching PCM close.
Copy the channel count under open mutex and use that scalar for the map lookup. Use trylock with -EBUSY because snd pcm dev disconnect() takes open mutex before removing controls under controls rwsem; blocking in the reverse order from GET could deadlock.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾