Skip to contentSkip to conversation

CVE-2026-80691: scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

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: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE

In the iblock_execute_pr_out() function, PRO_PREEMPT, PRO_PREEMPT_AND_ABORT, and PRO_RELEASE all perform callback capability checks through ops->pr_clear. The error check allows unimplemented hooks to pass through the gate, resulting dereferencing a NULL function pointer.

Check whether the hooks that need to be called are supported.

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

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

	Issue introduced in 6.5 with commit 394f811848827ad23d2b43e94e5d72a24cfbc39f and fixed in 6.6.151 with commit 3c60a8b4037dc35e365658fcbcb349a5d742ff49
	Issue introduced in 6.5 with commit 394f811848827ad23d2b43e94e5d72a24cfbc39f and fixed in 6.12.103 with commit a326b19cfb7775378b50acaa8d836ba44e29b4c2
	Issue introduced in 6.5 with commit 394f811848827ad23d2b43e94e5d72a24cfbc39f and fixed in 6.18.44 with commit bdd8a1297ef101bb5ac57e53b4fbe5e364afd8b1
	Issue introduced in 6.5 with commit 394f811848827ad23d2b43e94e5d72a24cfbc39f and fixed in 7.1.8 with commit f15bcf9a99b1b2683fcfa005b9b3680b5600581f
	Issue introduced in 6.5 with commit 394f811848827ad23d2b43e94e5d72a24cfbc39f and fixed in 7.2 with commit 9c33222bd387312874fbe36ca8002e5c945b9653

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

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/target/target_core_iblock.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/3c60a8b4037dc35e365658fcbcb349a5d742ff49
	https://git.kernel.org/stable/c/a326b19cfb7775378b50acaa8d836ba44e29b4c2
	https://git.kernel.org/stable/c/bdd8a1297ef101bb5ac57e53b4fbe5e364afd8b1
	https://git.kernel.org/stable/c/f15bcf9a99b1b2683fcfa005b9b3680b5600581f
	https://git.kernel.org/stable/c/9c33222bd387312874fbe36ca8002e5c945b9653