CVE-2024-50205

MEDIUM

Linux Kernel < 5.4.285 - Divide By Zero

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-369
Status published
Products (8)
linux/Kernel 4.20.0 - 5.4.285linux
linux/Kernel 5.11.0 - 5.15.170linux
linux/Kernel 5.16.0 - 6.1.115linux
linux/Kernel 5.5.0 - 5.10.229linux
linux/Kernel 6.2.0 - 6.6.59linux
linux/Kernel 6.7.0 - 6.11.6linux
linux/linux_kernel 6.12 rc1 (4 CPE variants)
linux/linux_kernel 4.20 - 5.4.285
Published Nov 08, 2024
Tracked Since Feb 18, 2026