firewire: core: fix race condition against transaction list
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firewire: core: fix race condition against transaction list
The list of transaction is enumerated without acquiring card lock when processing AR response event. This causes a race condition bug when processing AT request completion event concurrently.
This commit fixes the bug by put timer start for split transaction expiration into the scope of lock. The value of jiffies in card structure is referred before acquiring the lock.
From the CVE record · Linux
The Linux kernel FireWire core enumerates a transaction list without holding the card lock while processing an AR response event. Concurrent AT request completion can trigger a race condition; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the FireWire core should check their versions; affected versions are not specified.