7.8high
um: Add winch to winch_handlers before registering winch IRQ
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: um: Add winch to winch_handlers before registering winch IRQ Registering a winch IRQ is racy, an interrupt may occur before the winch is added to the winch_handlers list. If that happens, register_winch_irq() adds to that list a winch that is scheduled to be (or has already been) freed, causing a panic later in winch_cleanup(). Avoid the race by adding the winch to the winch_handlers list before registering the IRQ, and rolling back if um_request_irq() fails.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 66ea9a7c6824821476914bed21a476cd20094f33, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before dc1ff95602ee908fcd7d8acee7a0dadb61b1a0c0, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 351d1a64544944b44732f6a64ed65573b00b9e14, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 31960d991e43c8d6dc07245f19fc13398e90ead2, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 0c02d425a2fbe52643a5859a779db0329e7dddd4, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 434a06c38ee1217a8baa0dd7c37cc85d50138fb0, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before 73b8e21f76c7dda4905655d2e2c17dc5a73b87f1, from 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 before a0fbbd36c156b9f7b2276871d499c9943dfe5101 and 1 more Not affected: before 2.6.23, 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_kernel | before 2.6.23, from 4.19 before 4.19.316, from 5.4 before 5.4.278, from 5.10 before 5.10.219, from 5.15 before 5.15.161, from 6.1 before 6.1.93, from 6.6 before 6.6.33, from 6.9 before 6.9.4 and 1 more | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS: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: um: Add winch to winch_handlers before registering winch IRQ Registering a winch IRQ is racy, an interrupt may occur before the winch is added to the winch_handlers list. If that happens, register_winch_irq() adds to that list a winch that is scheduled to be (or has already been) freed, causing a panic later in winch_cleanup(). Avoid the race by adding the winch to the winch_handlers list before registering the IRQ, and rolling back if um_request_irq() fails.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: um: Agregar cabrestante a winch_handlers antes de registrar la IRQ del cabrestante Registrar una IRQ del cabrestante es picante, puede ocurrir una interrupción antes de que el cabrestante se agregue a la lista de winch_handlers. Si eso sucede, Register_winch_irq() agrega a esa lista un cabrestante que está programado para ser liberado (o que ya ha sido) liberado, causando pánico más adelante en winch_cleanup(). Evite la ejecución agregando el cabrestante a la lista winch_handlers antes de registrar la IRQ y retrocediendo si um_request_irq() falla.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39292 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-39292 changed 2026-10-15 | Public domain |