CVE-2025-37880
JSON

5.5medium

um: work around sched_yield not yielding in time-travel mode

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: um: work around sched_yield not yielding in time-travel mode sched_yield by a userspace may not actually cause scheduling in time-travel mode as no time has passed. In the case seen it appears to be a badly implemented userspace spinlock in ASAN. Unfortunately, with time-travel it causes an extreme slowdown or even deadlock depending on the kernel configuration (CONFIG_UML_MAX_USERSPACE_ITERATIONS). Work around it by accounting time to the process whenever it executes a sched_yield syscall.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 065038706f77a56754e8f0c2556dab7e22dfe577 before 990ddc65173776f1e01e7135d8c1fd5f8fd4d5d2, from 065038706f77a56754e8f0c2556dab7e22dfe577 before 887c5c12e80c8424bd471122d2e8b6b462e12874, 5.3
Not affected: before 5.3, from 6.14.5 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelbefore 6.14.5NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: um: work around sched_yield not yielding in time-travel mode sched_yield by a userspace may not actually cause scheduling in time-travel mode as no time has passed. In the case seen it appears to be a badly implemented userspace spinlock in ASAN. Unfortunately, with time-travel it causes an extreme slowdown or even deadlock depending on the kernel configuration (CONFIG_UML_MAX_USERSPACE_ITERATIONS). Work around it by accounting time to the process whenever it executes a sched_yield syscall.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: um: solución alternativa para que sched_yield no ceda en modo de viaje en el tiempo. Es posible que la ejecución de sched_yield por un espacio de usuario no provoque la programación en modo de viaje en el tiempo, ya que no ha transcurrido tiempo. En el caso observado, parece tratarse de un bloqueo de giro del espacio de usuario mal implementado en ASAN. Desafortunadamente, con el viaje en el tiempo, causa una ralentización extrema o incluso un bloqueo, dependiendo de la configuración del kernel (CONFIG_UML_MAX_USERSPACE_ITERATIONS). Para solucionarlo, se contabiliza el tiempo del proceso cada vez que ejecuta una llamada al sistema sched_yield.

References

Sources

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