# CVE-2024-42274: Revert "ALSA: firewire-lib: operate for period elapse event in process context"

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-08-17T08:54:28.169Z
- **Modified:** 2026-06-17T07:49:09.253Z

## Who should check

- Anyone running Linux \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 7c07220cf634002f93a87ca2252a32766850f2d1; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< b239a37d68e8bc59f9516444da222841e3b13ba9; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< f5043e69aeb2786f32e84132817a007a6430aa7d; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 36c255db5a25edd42d1aca48e38b8e95ee5fd9ef; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 3dab73ab925a51ab05543b491bf17463a48ca323
- Anyone running Linux 5.14

## Description

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
 \</NMI\>
 \<TASK\>
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
 \</NMI\>
 \<IRQ\>
\_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.

## Affected and fixed versions

- Linux: \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 7c07220cf634002f93a87ca2252a32766850f2d1; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< b239a37d68e8bc59f9516444da222841e3b13ba9; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< f5043e69aeb2786f32e84132817a007a6430aa7d; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 36c255db5a25edd42d1aca48e38b8e95ee5fd9ef; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 3dab73ab925a51ab05543b491bf17463a48ca323 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 3dab73ab925a51ab05543b491bf17463a48ca323 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42274. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42274.md
Affected: Linux >= 7ba5ca32fe6e8d2e153fb5602997336517b34743, < 7c07220cf634002f93a87ca2252a32766850f2d1; >= 7ba5ca32fe6e8d2e153fb5602997336517b34743, < b239a37d68e8bc59f9516444da222841e3b13ba9; >= 7ba5ca32fe6e8d2e153fb5602997336517b34743, < f5043e69aeb2786f32e84132817a007a6430aa7d; >= 7ba5ca32fe6e8d2e153fb56…
Fixed in: Linux 7c07220cf634002f93a87ca2252a32766850f2d1, Linux 36c255db5a25edd42d1aca48e38b8e95ee5fd9ef, Linux 3dab73ab925a51ab05543b491bf17463a48ca323

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42274 being exploited?

There is no confirmed exploitation: CVE-2024-42274 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-42274?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42274?

Linux \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 7c07220cf634002f93a87ca2252a32766850f2d1; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< b239a37d68e8bc59f9516444da222841e3b13ba9; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< f5043e69aeb2786f32e84132817a007a6430aa7d; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 36c255db5a25edd42d1aca48e38b8e95ee5fd9ef; \>= 7ba5ca32fe6e8d2e153fb5602997336517b34743, \< 3dab73ab925a51ab05543b491bf17463a48ca323; Linux 5.14.

### Is there a fix for CVE-2024-42274?

Yes. Fixed in Linux 7c07220cf634002f93a87ca2252a32766850f2d1, Linux 36c255db5a25edd42d1aca48e38b8e95ee5fd9ef, Linux 3dab73ab925a51ab05543b491bf17463a48ca323. Upgrade Linux to 3dab73ab925a51ab05543b491bf17463a48ca323 or later.

### How do I check if I'm affected by CVE-2024-42274?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7c07220cf634002f93a87ca2252a32766850f2d1>
- patch: <https://git.kernel.org/stable/c/b239a37d68e8bc59f9516444da222841e3b13ba9>
- patch: <https://git.kernel.org/stable/c/f5043e69aeb2786f32e84132817a007a6430aa7d>
- patch: <https://git.kernel.org/stable/c/36c255db5a25edd42d1aca48e38b8e95ee5fd9ef>
- patch: <https://git.kernel.org/stable/c/3dab73ab925a51ab05543b491bf17463a48ca323>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42274>

HTML: <https://flawdb.com/CVE-2024-42274> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42274>
