CVE-2024-50205

ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()

MEDIUM
5.5
CVSS Score
Published: November 8, 2024 at 06:07 AM UTC
Updated: October 15, 2026 at 01:19 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.2855.11 ≤ v < 5.15.1705.16 ≤ v < 6.1.1155.5 ≤ v < 5.10.2296.2 ≤ v < 6.6.596.7 ≤ v < 6.11.66.126.12 rc16.12 rc26.12 rc36.12 rc4826b5de90c0bca4e9de6231da9e1730480621588
Vendor states this is fixed in 3452d39c4704aa12504e4190298c721fb01083c3 (fixed)
Vendor states this is fixed in 4bdc21506f12b2d432b1f2667e5ff4c75eee58e3 (fixed)
Vendor states this is fixed in 5e431f85c87bbffd93a9830d5a576586f9855291 (fixed)
Vendor states this is fixed in 72cafe63b35d06b5cfbaf807e90ae657907858da (fixed)
Vendor states this is fixed in 7d4eb9e22131ec154e638cbd56629195c9bcbe9a (fixed)
Vendor states this is fixed in d2826873db70a6719cdd9212a6739f3e6234cfc4 (fixed)
Vendor states this is fixed in d575414361630b8b0523912532fcd7c79e43468c (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.229 (unaffected)
Vendor states this is fixed in 5.15.170 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.115 (unaffected)
Vendor states this is fixed in 6.11.6 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.59 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3452d39c4704aa12504e4190298c721fb01083c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4bdc21506f12b2d432b1f2667e5ff4c75eee58e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e431f85c87bbffd93a9830d5a576586f9855291
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72cafe63b35d06b5cfbaf807e90ae657907858da
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d4eb9e22131ec154e638cbd56629195c9bcbe9a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d2826873db70a6719cdd9212a6739f3e6234cfc4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d575414361630b8b0523912532fcd7c79e43468c
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card