{"id":"DEBIAN-CVE-2024-42274","details":"In the Linux kernel, the following vulnerability has been resolved:  Revert \"ALSA: firewire-lib: operate for period elapse event in process context\"  Commit 7ba5ca32fe6e (\"ALSA: firewire-lib: operate for period elapse event in process context\") removed the process context workqueue from amdtp_domain_stream_pcm_pointer() and update_pcm_pointers() to remove its overhead.  With RME Fireface 800, this lead to a regression since Kernels 5.14.0, causing an AB/BA deadlock competition for the substream lock with eventual system freeze under ALSA operation:  thread 0:     * (lock A) acquire substream lock by \tsnd_pcm_stream_lock_irq() in \tsnd_pcm_status64()     * (lock B) wait for tasklet to finish by calling     \ttasklet_unlock_spin_wait() in \ttasklet_disable_in_atomic() in \tohci_flush_iso_completions() of ohci.c  thread 1:     * (lock B) enter tasklet     * (lock A) attempt to acquire substream lock,     \twaiting for it to be released: \tsnd_pcm_stream_lock_irqsave() in     \tsnd_pcm_period_elapsed() in \tupdate_pcm_pointers() in \tprocess_ctx_payloads() in \tprocess_rx_packets() of amdtp-stream.c  ? tasklet_unlock_spin_wait  \u003c/NMI\u003e  \u003cTASK\u003e ohci_flush_iso_completions firewire_ohci amdtp_domain_stream_pcm_pointer snd_firewire_lib snd_pcm_update_hw_ptr0 snd_pcm snd_pcm_status64 snd_pcm  ? native_queued_spin_lock_slowpath  \u003c/NMI\u003e  \u003cIRQ\u003e _raw_spin_lock_irqsave snd_pcm_period_elapsed snd_pcm process_rx_packets snd_firewire_lib irq_target_callback snd_firewire_lib handle_it_packet firewire_ohci context_tasklet firewire_ohci  Restore the process context work queue to prevent deadlock AB/BA deadlock competition for ALSA substream lock of snd_pcm_stream_lock_irq() in snd_pcm_status64() and snd_pcm_stream_lock_irqsave() in snd_pcm_period_elapsed().  revert commit 7ba5ca32fe6e (\"ALSA: firewire-lib: operate for period elapse event in process context\")  Replace inline description to prevent future deadlock.","modified":"2026-09-15T09:03:10.521027944Z","published":"2024-08-17T09:15:08.530Z","upstream":["CVE-2024-42274"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-42274"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.106-1"}]}],"versions":["6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1","6.1.85-1","6.1.90-1","6.1.90-1~bpo11+1","6.1.94-1","6.1.94-1~bpo11+1","6.1.98-1","6.1.99-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42274.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.10.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42274.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.10.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-42274.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}