5.5

CVE-2024-39292

um: Add winch to winch_handlers before registering winch IRQ

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version < 2.6.23
LinuxLinux Kernel Version >= 4.19 < 4.19.316
LinuxLinux Kernel Version >= 5.4 < 5.4.278
LinuxLinux Kernel Version >= 5.10 < 5.10.219
LinuxLinux Kernel Version >= 5.15 < 5.15.161
LinuxLinux Kernel Version >= 6.1 < 6.1.93
LinuxLinux Kernel Version >= 6.6 < 6.6.33
LinuxLinux Kernel Version >= 6.9 < 6.9.4
LinuxLinux Kernel Version6.10.0 Updaterc1
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.23% 0.139
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-415 Double Free

The product calls free() twice on the same memory address.

https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
https://git.kernel.org/stable/c/0c02d425a2fbe52643a5859a779db0329e7dddd4
Patch
Mailing List
https://git.kernel.org/stable/c/31960d991e43c8d6dc07245f19fc13398e90ead2
Patch
Mailing List
https://git.kernel.org/stable/c/351d1a64544944b44732f6a64ed65573b00b9e14
Patch
Mailing List
https://git.kernel.org/stable/c/434a06c38ee1217a8baa0dd7c37cc85d50138fb0
Patch
Mailing List
https://git.kernel.org/stable/c/66ea9a7c6824821476914bed21a476cd20094f33
Patch
Mailing List
https://git.kernel.org/stable/c/73b8e21f76c7dda4905655d2e2c17dc5a73b87f1
Patch
Mailing List
https://git.kernel.org/stable/c/a0fbbd36c156b9f7b2276871d499c9943dfe5101
Patch
Mailing List
https://git.kernel.org/stable/c/dc1ff95602ee908fcd7d8acee7a0dadb61b1a0c0
Patch
Mailing List