CVE-2024-36950

firewire: ohci: mask bus reset interrupts between ISR and bottom half

MEDIUM
4.4
CVSS Score
Published: May 30, 2024 at 03:35 PM UTC
Updated: June 17, 2026 at 07:37 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: firewire: ohci: mask bus reset interrupts between ISR and bottom half In the FireWire OHCI interrupt handler, if a bus reset interrupt has occurred, mask bus reset interrupts until bus_reset_work has serviced and cleared the interrupt. Normally, we always leave bus reset interrupts masked. We infer the bus reset from the self-ID interrupt that happens shortly thereafter. A scenario where we unmask bus reset interrupts was introduced in 2008 in a007bb857e0b26f5d8b73c2ff90782d9c0972620: If OHCI_PARAM_DEBUG_BUSRESETS (8) is set in the debug parameter bitmask, we will unmask bus reset interrupts so we can log them. irq_handler logs the bus reset interrupt. However, we can't clear the bus reset event flag in irq_handler, because we won't service the event until later. irq_handler exits with the event flag still set. If the corresponding interrupt is still unmasked, the first bus reset will usually freeze the system due to irq_handler being called again each time it exits. This freeze can be reproduced by loading firewire_ohci with "modprobe firewire_ohci debug=-1" (to enable all debugging output). Apparently there are also some cases where bus_reset_work will get called soon enough to clear the event, and operation will continue normally. This freeze was first reported a few months after a007bb85 was committed, but until now it was never fixed. The debug level could safely be set to -1 through sysfs after the module was loaded, but this would be ineffectual in logging bus reset interrupts since they were only unmasked during initialization. irq_handler will now leave the event flag set but mask bus reset interrupts, so irq_handler won't be called again and there will be no freeze. If OHCI_PARAM_DEBUG_BUSRESETS is enabled, bus_reset_work will unmask the interrupt after servicing the event, so future interrupts will be caught as desired. As a side effect to this change, OHCI_PARAM_DEBUG_BUSRESETS can now be enabled through sysfs in addition to during initial module loading. However, when enabled through sysfs, logging of bus reset interrupts will be effective only starting with the second bus reset, after bus_reset_work has executed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.3142.6.26 ≤ v < 4.19.3142.6.26 ≤ v < 5.10.2172.6.26 ≤ v < 5.15.1592.6.26 ≤ v < 5.4.2762.6.26 ≤ v < 6.1.912.6.26 ≤ v < 6.6.312.6.26 ≤ v < 6.8.102.6.26 ≤ v < 6.94.20 ≤ v < 5.4.2765.11 ≤ v < 5.15.1595.16 ≤ v < 6.1.915.5 ≤ v < 5.10.2176.2 ≤ v < 6.6.316.7 ≤ v < 6.8.102.6.266.9 rc16.9 rc2a007bb857e0b26f5d8b73c2ff90782d9c0972620
Vendor states this is fixed in 31279bbca40d2f40cb3bbb6d538ec9620a645dec (fixed)
Vendor states this is fixed in 4f9cc355c328fc4f41cbd9c4cd58b235184fa420 (fixed)
Vendor states this is fixed in 5982887de60c1b84f9c0ca07c835814d07fd1da0 (fixed)
Vendor states this is fixed in 6fafe3661712b143d9c69a7322294bd53f559d5d (fixed)
Vendor states this is fixed in 752e3c53de0fa3b7d817a83050b6699b8e9c6ec9 (fixed)
Vendor states this is fixed in 8643332aac0576581cfdf01798ea3e4e0d624b61 (fixed)
Vendor states this is fixed in b3948c69d60279fce5b2eeda92a07d66296c8130 (fixed)
Vendor states this is fixed in fa273f312334246c909475c5868e6daab889cc8c (fixed)
Vendor states this is fixed in 2.6.26 (unaffected)
Vendor states this is fixed in 4.19.314 (unaffected)
Vendor states this is fixed in 5.10.217 (unaffected)
Vendor states this is fixed in 5.15.159 (unaffected)
Vendor states this is fixed in 5.4.276 (unaffected)
Vendor states this is fixed in 6.1.91 (unaffected)
Vendor states this is fixed in 6.6.31 (unaffected)
Vendor states this is fixed in 6.8.10 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31279bbca40d2f40cb3bbb6d538ec9620a645dec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f9cc355c328fc4f41cbd9c4cd58b235184fa420
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5982887de60c1b84f9c0ca07c835814d07fd1da0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fafe3661712b143d9c69a7322294bd53f559d5d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/752e3c53de0fa3b7d817a83050b6699b8e9c6ec9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8643332aac0576581cfdf01798ea3e4e0d624b61
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3948c69d60279fce5b2eeda92a07d66296c8130
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fa273f312334246c909475c5868e6daab889cc8c

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.4MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card