Skip to contentSkip to conversation

CVE-2026-98587: firewire: cdev: fix back-transition for iso_resource_auto client resource

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

firewire: cdev: fix back-transition for iso_resource_auto client resource

The todo member of iso_resource_auto structure represents the state of the client resource and normally transitions in the following order:

    ISO_RES_AUTO_ALLOC -> ISO_RES_AUTO_REALLOC -> ISO_RES_AUTO_DEALLOC

However, concurrent access from the work item and the file descriptor release function can cause the state to transition backwards from ISO_RES_AUTO_DEALLOC to ISO_RES_AUTO_REALLOC.

Prevent the back-transition by checking the current state before updating it in the work item.

The Linux kernel CVE team has assigned CVE-2026-98587 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.2 with commit fcabbf40fae501379b4f3a057febe92d4b0ebdd8 and fixed in 7.2.9 with commit ee1df60a0d0e8ab4b00137135733bdadd6d33dab
	Issue introduced in 7.2 with commit fcabbf40fae501379b4f3a057febe92d4b0ebdd8 and fixed in 7.3-rc5 with commit c6b51091cafff9ce6c03c1416aa13864d17ab97c

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98587

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/firewire/core-cdev.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/ee1df60a0d0e8ab4b00137135733bdadd6d33dab
	https://git.kernel.org/stable/c/c6b51091cafff9ce6c03c1416aa13864d17ab97c