Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98587 Overview
CVE-2026-98587 is a race condition in the Linux kernel FireWire character device (cdev) subsystem. The flaw affects the iso_resource_auto client resource state machine. Concurrent access from a scheduled work item and the file descriptor release function can drive the todo state member backwards from ISO_RES_AUTO_DEALLOC to ISO_RES_AUTO_REALLOC. The expected forward transition order is ISO_RES_AUTO_ALLOC → ISO_RES_AUTO_REALLOC → ISO_RES_AUTO_DEALLOC. The upstream fix verifies the current state before updating it inside the work item, blocking the illegal back-transition.
Critical Impact
Local processes with access to the FireWire cdev interface can trigger inconsistent isochronous resource state, risking resource leaks or kernel misbehavior when releasing file descriptors concurrently with pending work items.
Affected Products
- Linux kernel FireWire subsystem (drivers/firewire/core-cdev.c)
- Distributions shipping affected stable kernel branches prior to the referenced fix commits
- Systems exposing /dev/fw* character devices to userspace
Discovery Timeline
- 2026-10-18 - CVE-2026-98587 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98587
Vulnerability Analysis
The FireWire cdev driver manages isochronous resources through an iso_resource_auto structure. Its todo member tracks the lifecycle state of each client-owned resource. Under normal operation, the state advances monotonically through allocation, reallocation, and deallocation phases.
The defect appears when the deferred work item executes concurrently with the file descriptor release path. Both code paths write to todo without a strict ordering guarantee. The release path can set the state to ISO_RES_AUTO_DEALLOC, after which a still-pending work item overwrites it with ISO_RES_AUTO_REALLOC. This back-transition causes the driver to act on a stale state, potentially re-registering a resource that should be torn down.
The upstream patches, referenced by commits c6b51091cafff9ce6c03c1416aa13864d17ab97c and ee1df60a0d0e8ab4b00137135733bdadd6d33dab, add a current-state check inside the work item before any update.
Root Cause
The root cause is a race condition between the asynchronous work item and the synchronous file descriptor release handler. Neither path validated that the resource was still in a state eligible for transition before mutating todo.
Attack Vector
Exploitation requires local access to the FireWire character device. An attacker needs the ability to open /dev/fw*, allocate isochronous resources, and close the descriptor while scheduled work remains pending. The vulnerability is not reachable from the network. See the kernel commit references for the exact patched source paths and reproduction context.
Detection Methods for CVE-2026-98587
Indicators of Compromise
- Unexpected kernel warnings or WARN_ON traces originating from the FireWire core-cdev module
- Isochronous channel or bandwidth allocations that persist after the owning process has terminated
- Repeated open and close cycles of /dev/fw* devices from unprivileged processes
Detection Strategies
- Inspect kernel version against the fixed commits in the stable tree to confirm patch status
- Audit which users and container workloads can access FireWire character devices
- Monitor dmesg for FireWire isochronous resource errors following process termination
Monitoring Recommendations
- Collect kernel logs centrally and alert on FireWire subsystem warnings
- Track process access to /dev/fw* nodes using Linux audit rules
- Review loaded kernel modules on systems that do not require FireWire and remove firewire-core where unused
How to Mitigate CVE-2026-98587
Immediate Actions Required
- Apply the stable kernel update that includes commits c6b51091 and ee1df60a
- Restrict access to FireWire character devices to trusted users only
- Unload or blacklist the firewire-core module on systems that do not use FireWire hardware
Patch Information
The fix adds a state check inside the work item so it does not overwrite ISO_RES_AUTO_DEALLOC with ISO_RES_AUTO_REALLOC. Rebuild or install a distribution kernel that incorporates the referenced stable commits. Consult your distribution's security tracker for the exact package version containing the backport.
Workarounds
- Blacklist the FireWire modules (firewire_core, firewire_ohci) via /etc/modprobe.d/ on systems without FireWire hardware
- Tighten permissions on /dev/fw* so only required service accounts can open the devices
- Remove physical FireWire controllers or disable them in firmware where feasible
# Blacklist FireWire modules until a patched kernel is deployed
echo 'blacklist firewire_core' | sudo tee /etc/modprobe.d/blacklist-firewire.conf
echo 'blacklist firewire_ohci' | sudo tee -a /etc/modprobe.d/blacklist-firewire.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

