CVE-2024-38618
JSON

5.3medium

ALSA: timer: Set lower bound of start tick time

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.64% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: Set lower bound of start tick time Currently ALSA timer doesn't have the lower limit of the start tick time, and it allows a very small size, e.g. 1 tick with 1ns resolution for hrtimer. Such a situation may lead to an unexpected RCU stall, where the callback repeatedly queuing the expire update, as reported by fuzzer. This patch introduces a sanity check of the timer start tick time, so that the system returns an error when a too small start size is set. As of this patch, the lower limit is hard-coded to 100us, which is small enough but can still work somehow.

Affected

Product or packageVersionsReported by
Linux Linuxfrom bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before 68396c825c43664b20a3a1ba546844deb2b4e48f, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before 74bfb8d90f2601718ae203faf45a196844c01fa1, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before bdd0aa055b8ec7e24bbc19513f3231958741d0ab, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before 83f0ba8592b9e258fd80ac6486510ab1dcd7ad6e, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before ceab795a67dd28dd942d0d8bba648c6c0f7a044b, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before 2c95241ac5fc90c929d6c0c023e84bf0d30e84c3, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before abb1ad69d98cf1ff25bb14fff0e7c3f66239e1cd, from bbaf5e97337287479eb78dbc3822d9560bbfd2e2 before 4a63bd179fa8d3fcc44a0d9d71d941ddd62f0c4e and 1 more
Not affected: before 2.6.29, from 4.19.316 up to 4.19.*, from 5.4.278 up to 5.4.*, from 5.10.219 up to 5.10.*, from 5.15.161 up to 5.15.*, from 6.1.93 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.316, from 4.20 before 5.4.278, from 5.5 before 5.10.219, from 5.11 before 5.15.161, from 5.16 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.9.3NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ALSA: timer: Set lower bound of start tick time Currently ALSA timer doesn't have the lower limit of the start tick time, and it allows a very small size, e.g. 1 tick with 1ns resolution for hrtimer. Such a situation may lead to an unexpected RCU stall, where the callback repeatedly queuing the expire update, as reported by fuzzer. This patch introduces a sanity check of the timer start tick time, so that the system returns an error when a too small start size is set. As of this patch, the lower limit is hard-coded to 100us, which is small enough but can still work somehow.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: temporizador: establece el límite inferior del tiempo de inicio. Actualmente, el temporizador ALSA no tiene el límite inferior del tiempo de inicio y permite un tamaño muy pequeño, por ejemplo, 1 tic. con resolución de 1ns para hrtimer. Tal situación puede provocar una parada inesperada de la RCU, donde la devolución de llamada pone en cola repetidamente la actualización caducada, según lo informado por fuzzer. Este parche introduce una verificación de cordura del tiempo de inicio del temporizador, de modo que el sistema devuelve un error cuando se establece un tamaño de inicio demasiado pequeño. A partir de este parche, el límite inferior está codificado en 100us, que es bastante pequeño pero aún puede funcionar de alguna manera.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38618 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-38618 changed 2026-06-17Public domain