Skip to contentSkip to conversation

CVE-2026-89514: scsi: fnic: Use GFP_ATOMIC for VLAN alloc under spinlock

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11

lore
Share & tools
lore
#0 lore raw

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

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

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

scsi: fnic: Use GFP_ATOMIC for VLAN alloc under spinlock

fnic_fcoe_process_vlan_resp() allocates a VLAN descriptor with kzalloc_obj() (default GFP_KERNEL) while holding vlans_lock via spin_lock_irqsave(). GFP_KERNEL may sleep, which is not allowed in this atomic context and can trigger a sleeping-from-invalid-context warning or deadlock.

Pass GFP_ATOMIC so the allocation is safe under the IRQ-safe spinlock.

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

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

	Issue introduced in 6.14 with commit 098585aa8acab3fcd46ce908af84ef168f5ccab6 and fixed in 6.18.51 with commit c4ade059aaeb51fdb3f4ae71e1ea3e2019b85178
	Issue introduced in 6.14 with commit 098585aa8acab3fcd46ce908af84ef168f5ccab6 and fixed in 7.2.4 with commit d86f65aed01408613607f8fc31493f07554788f2
	Issue introduced in 6.14 with commit 098585aa8acab3fcd46ce908af84ef168f5ccab6 and fixed in 7.3-rc1 with commit 9639c6324524ea3f934908bd51f02430000954ab

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-89514

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/scsi/fnic/fip.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/c4ade059aaeb51fdb3f4ae71e1ea3e2019b85178
	https://git.kernel.org/stable/c/d86f65aed01408613607f8fc31493f07554788f2
	https://git.kernel.org/stable/c/9639c6324524ea3f934908bd51f02430000954ab