CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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.

Classification

CVE ID: CVE-2025-37880

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 4.93% (scored less or equal to compared to others)

EPSS Date: 2025-06-07 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-37880
https://git.kernel.org/stable/c/da780c4a075ba2deb05ae29f0af4a990578c7901
https://git.kernel.org/stable/c/990ddc65173776f1e01e7135d8c1fd5f8fd4d5d2
https://git.kernel.org/stable/c/887c5c12e80c8424bd471122d2e8b6b462e12874

Timeline