KernelScan.io

HIGH Introduced in 6.19

firewire SplitTransaction UAF

CVE-2026-99185

CVSS 8.8 / 10.0 NVD

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

KernelScan AI8.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: firewire: core: fix race condition in split transaction handling For a split transaction, either fw_core_handle_response() or split_transaction_timeout_callback() may manipulate the same transaction entry in the pending transaction list. The return value of timer_delete() is used to determine which function handles the entry. If the transaction is a split transaction and timer_delete() returns zero, the timeout callback may already be running. In this case, the response handler must leave the entry in the list for the timeout callback to remove. A previous code refactoring broke this behavior, introducing a race condition in which both functions could process the same transaction. This could lead to a use-after-free on the transaction initiator side. Fix the regression by ensuring that the response handler does not process the transaction when timer_delete() returns zero. The timeout callback is responsible for removing the entry from the pending transaction list.

02

Engine v0.10.0

Risk summary

Systems with exposed FireWire (IEEE-1394) ports are at risk. A physically proximate attacker who can connect a malicious FireWire device can trigger a race condition between response handling and timeout processing, leading to a use-after-free that enables arbitrary kernel memory read/write and privilege escalation. The vulnerability requires no authentication or local credentials — only access to the FireWire bus.

Affecteddrivers/firewire/core-transaction.c (firewire core)

Vulnerability analysis

A race condition exists in the FireWire core's split transaction handling where both the response handler (fw_core_handle_response) and the timeout callback (split_transaction_timeout_callback) can concurrently process the same transaction entry. The return value of timer_delete() is meant to arbitrate ownership: a return of zero indicates the timeout callback is already running and should handle cleanup. A prior refactoring broke this arbitration, allowing both paths to manipulate the transaction simultaneously. This results in a use-after-free when one path frees the transaction object while the other still accesses its fields. The fix restores the correct behavior by making the response handler abandon the transaction when timer_delete() returns zero, leaving cleanup to the timeout callback. The bug is reachable by any device on the FireWire bus — the kernel automatically initiates configuration-ROM read transactions when a new node appears, and a malicious peer can craft responses that win the race window repeatedly.

03

BranchIntroducedFixed inPatch commit
7.26.197.2.13a8caee0e623c
mainline6.197.37f9f2d6abc40