CVE-2024-50060
JSON

5.5medium

io_uring: check if we need to reschedule during overflow flush

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

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring: check if we need to reschedule during overflow flush In terms of normal application usage, this list will always be empty. And if an application does overflow a bit, it'll have a few entries. However, nothing obviously prevents syzbot from running a test case that generates a ton of overflow entries, and then flushing them can take quite a while. Check for needing to reschedule while flushing, and drop our locks and do so if necessary. There's no state to maintain here as overflows always prune from head-of-list, hence it's fine to drop and reacquire the locks at the end of the loop.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2b188cc1bb857a9d4701ae59aa7768b5124e262e before a2493904e95ce94bbec819d8f7f03b99976eb25c, from 2b188cc1bb857a9d4701ae59aa7768b5124e262e before f4ce3b5d26ce149e77e6b8e8f2058aa80e5b034e, from 2b188cc1bb857a9d4701ae59aa7768b5124e262e before c2eadeafce2d385b3f6d26a7f31fee5aba2bbbb0, from 2b188cc1bb857a9d4701ae59aa7768b5124e262e before eac2ca2d682f94f46b1973bdf5e77d85d77b8e53, 5.1
Not affected: before 5.1, from 6.1.113 up to 6.1.*, from 6.6.57 up to 6.6.*, from 6.11.4 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.1 before 6.1.113, from 6.6 before 6.6.57, from 6.11 before 6.11.4NVD

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: io_uring: check if we need to reschedule during overflow flush In terms of normal application usage, this list will always be empty. And if an application does overflow a bit, it'll have a few entries. However, nothing obviously prevents syzbot from running a test case that generates a ton of overflow entries, and then flushing them can take quite a while. Check for needing to reschedule while flushing, and drop our locks and do so if necessary. There's no state to maintain here as overflows always prune from head-of-list, hence it's fine to drop and reacquire the locks at the end of the loop.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring: comprobar si necesitamos reprogramar durante el vaciado de desbordamiento En términos de uso normal de la aplicación, esta lista siempre estará vacía. Y si una aplicación se desborda un poco, tendrá algunas entradas. Sin embargo, obviamente nada impide que syzbot ejecute un caso de prueba que genere un montón de entradas de desbordamiento, y luego vaciarlas puede llevar bastante tiempo. Verifique la necesidad de reprogramar durante el vaciado y elimine nuestros bloqueos y hágalo si es necesario. No hay ningún estado que mantener aquí, ya que los desbordamientos siempre se podan desde el principio de la lista, por lo tanto, está bien eliminar y volver a adquirir los bloqueos al final del bucle.

References

Sources

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