Skip to content
Heist/ feed
Back to feed
UnratedFix available

Revert "ALSA: firewire-lib: operate for period elapse event in process context"

Type: advisorySources: OSV

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 snd_pcm_stream_lock_irq() in snd_pcm_status64() * (lock B) wait for tasklet to finish by calling tasklet_unlock_spin_wait() in tasklet_disable_in_atomic() in ohci_flush_iso_completions() of ohci.c thread 1: * (lock B) enter tasklet * (lock A) attempt to acquire substream lock, waiting for it to be released: snd_pcm_stream_lock_irqsave() in snd_pcm_period_elapsed() in update_pcm_pointers() in process_ctx_payloads() in process_rx_packets() of amdtp-stream.c ? tasklet_unlock_spin_wait 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 _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 pre

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.165, 6.1.104, 6.10.4, 6.6.45
CVEs
CVE-2024-42274
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:28 UTC · Revision 1

Source evidence

Revert "ALSA: firewire-lib: operate for period elapse event in process context"

core-osv · Original source

Published 17 Aug 2024, 08:54 UTC

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 snd_pcm_stream_lock_irq() in snd_pcm_status64() * (lock B) wait for tasklet to finish by calling tasklet_unlock_spin_wait() in tasklet_disable_in_atomic() in ohci_flush_iso_completions() of ohci.c thread 1: * (lock B) enter tasklet * (lock A) attempt to acquire substream lock, waiting for it to be released: snd_pcm_stream_lock_irqsave() in snd_pcm_period_elapsed() in update_pcm_pointers() in process_ctx_payloads() in process_rx_packets() of amdtp-stream.c ? tasklet_unlock_spin_wait 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 _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 pre

osv:CVE-2024-42274

Kernel

Fixed versions: 5.15.165, 6.1.104, 6.6.45, 6.10.4

Complete source record
{
  "id": "42bcd65b8cec65a9d08c72007693c8131548f741137660624c82fc03ff507996",
  "url": "https://osv.dev/vulnerability/CVE-2024-42274",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Revert \"ALSA: firewire-lib: operate for period elapse event in process context\"",
    "summary": "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 snd_pcm_stream_lock_irq() in snd_pcm_status64() * (lock B) wait for tasklet to finish by calling tasklet_unlock_spin_wait() in tasklet_disable_in_atomic() in ohci_flush_iso_completions() of ohci.c thread 1: * (lock B) enter tasklet * (lock A) attempt to acquire substream lock, waiting for it to be released: snd_pcm_stream_lock_irqsave() in snd_pcm_period_elapsed() in update_pcm_pointers() in process_ctx_payloads() in process_rx_packets() of amdtp-stream.c ? tasklet_unlock_spin_wait 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 _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 pre",
    "evidence": "osv:CVE-2024-42274",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.165",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.104",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.45",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-42274",
      "aliases": [
        "CVE-2024-42274"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7ba5ca32fe6e8d2e153fb5602997336517b34743"
                },
                {
                  "fixed": "7c07220cf634002f93a87ca2252a32766850f2d1"
                },
                {
                  "fixed": "b239a37d68e8bc59f9516444da222841e3b13ba9"
                },
                {
                  "fixed": "f5043e69aeb2786f32e84132817a007a6430aa7d"
                },
                {
                  "fixed": "36c255db5a25edd42d1aca48e38b8e95ee5fd9ef"
                },
                {
                  "fixed": "3dab73ab925a51ab05543b491bf17463a48ca323"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42274.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.14.0"
                },
                {
                  "fixed": "5.15.165"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.104"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.45"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42274.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.914425669Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/36c255db5a25edd42d1aca48e38b8e95ee5fd9ef",
        "https://git.kernel.org/stable/c/3dab73ab925a51ab05543b491bf17463a48ca323",
        "https://git.kernel.org/stable/c/7c07220cf634002f93a87ca2252a32766850f2d1",
        "https://git.kernel.org/stable/c/b239a37d68e8bc59f9516444da222841e3b13ba9",
        "https://git.kernel.org/stable/c/f5043e69aeb2786f32e84132817a007a6430aa7d",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42274.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42274",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42274.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42274",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 503118,
  "published_at": "2024-08-17T08:54:28.169+00:00"
}