CVE-2024-50205: ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()
In the Linux kernel, the following vulnerability has been resolved:
ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()
The step variable is initialized to zero. It is changed in the loop,
but if it's not changed it will remain zero. Add a variable check
before the division.
The observed behavior was introduced by commit 826b5de90c0b
("ALSA: firewire-lib: fix insufficient PCM rule for period/buffer size"),
and it is difficult to show that any of the interval parameters will
satisfy the snd_interval_test() condition with data from the
amdtp_rate_table[] table.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel denial-of-service issue in ALSA FireWire audio handling. A local low-privileged user may be able to trigger a divide-by-zero condition, affecting system availability. It does not indicate data theft or integrity impact in the provided sources.
Executive priority
Treat as a scheduled but real availability fix. It is not a remote compromise issue based on the sources, but kernel denial-of-service bugs matter on shared systems, operational workstations, and embedded deployments.
Technical view
The flaw is CWE-369 in ALSA firewire-lib apply_constraint_to_size(). The step variable can remain zero and later be used as a divisor. Linux stable fixes add a check before division. The issue was introduced by commit 826b5de90c0b and found by Linux Verification Center with SVACE.
Likely exposure
Exposure is most relevant on Linux systems running affected kernel versions with ALSA FireWire audio functionality present. Business risk is higher on multi-user systems, workstations, or embedded products where local users or local code execution are realistic.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction, and high availability impact. The provided bundle says KEV is false and includes no cited evidence of active exploitation or public exploit use.
Researcher notes
Evidence supports a local availability flaw caused by an unchecked zero divisor. The bundle does not prove practical trigger conditions from amdtp_rate_table data, and it does not show active exploitation. Validate exposure through kernel lineage and enabled FireWire audio paths.
Mitigation direction
Apply vendor kernel updates that include the listed Linux stable fixes.
Check Debian LTS, Siemens, and platform vendor advisories for product-specific guidance.
Prioritize systems with local user access and FireWire audio support.
Use vendor-approved configuration changes if patching must be delayed.
Retest audio and system stability after kernel updates.
Validation and detection
Inventory Linux kernel versions against the affected and fixed version ranges.
Confirm whether ALSA FireWire audio components are present or enabled.
Review vendor advisories for affected downstream packages or products.
Verify patched kernels include one of the listed stable commits.
Document systems where patching is deferred and why.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-369: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-369 · source CWE mapping
Divide By Zero
Divide By Zero represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.