CVE-2024-39292

um: Add winch to winch_handlers before registering winch IRQ

State
Published
Severity
7.8 High
Published
Jun 24, 2024
Updated
Oct 15, 2026
Reserved
Jun 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 66ea9a7c6824821476914bed21a476cd20094f33Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before dc1ff95602ee908fcd7d8acee7a0dadb61b1a0c0Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 351d1a64544944b44732f6a64ed65573b00b9e14Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 31960d991e43c8d6dc07245f19fc13398e90ead2Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 0c02d425a2fbe52643a5859a779db0329e7dddd4Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 434a06c38ee1217a8baa0dd7c37cc85d50138fb0Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before 73b8e21f76c7dda4905655d2e2c17dc5a73b87f1Affected
  • 42a359e31a0e438b5b978a8f0fecdbd3c86bb033 to before a0fbbd36c156b9f7b2276871d499c9943dfe5101Affected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 4.19.316 through 4.19.*Not affected
  • 5.4.278 through 5.4.*Not affected
  • 5.10.219 through 5.10.*Not affected
  • 5.15.161 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.9.4 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.