CVE-2026-72082: scsi: elx: efct: Fix refcount leak in efct_hw_io_abort()

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081521-CVE-2026-72082-f0be@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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

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

scsi: elx: efct: Fix refcount leak in efct_hw_io_abort()

When efct_hw_reqtag_alloc() fails in efct_hw_io_abort(), the error path
returns -ENOSPC without releasing the reference obtained via
kref_get_unless_zero() earlier in the function. All other error paths
correctly drop the reference. This causes a permanent reference leak on the
io_to_abort object.

Additionally, the abort_in_progress flag is left set to true on this path,
which means future abort attempts for the same I/O will immediately return
-EINPROGRESS even though the abort was never submitted, effectively
blocking recovery.

Fix this by adding the missing kref_put() call and reset abort_in_progress
to false, matching the cleanup done in the efct_hw_wq_write() failure path
below.

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


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

	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 5.15.212 with commit cf97ea7b164a1881c7219f5222219c9d0fac4204
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 6.1.178 with commit 1c6e186c722cfa9a58ebe841f91ab2ddf8570cc7
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 6.6.145 with commit 62cf39a9770a6f29df59fd0edb0a05234a8b07f2
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 6.12.97 with commit faa59add4808fbf92e7d15bfd8770d2682c2b953
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 6.18.40 with commit 9b871369cbb4532f6715e044d6b9c4ceb036e5b6
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 7.1.5 with commit 747eaead2db298abfda2aa505f6d03775b40fe5f
	Issue introduced in 5.14 with commit 63de51327a64c74e85611a0161eaae71256a3b6d and fixed in 7.2-rc4 with commit 2c007acf7b31c39c08ce4959451ad00b19be4c1f

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-72082
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/elx/efct/efct_hw.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/cf97ea7b164a1881c7219f5222219c9d0fac4204
	https://git.kernel.org/stable/c/1c6e186c722cfa9a58ebe841f91ab2ddf8570cc7
	https://git.kernel.org/stable/c/62cf39a9770a6f29df59fd0edb0a05234a8b07f2
	https://git.kernel.org/stable/c/faa59add4808fbf92e7d15bfd8770d2682c2b953
	https://git.kernel.org/stable/c/9b871369cbb4532f6715e044d6b9c4ceb036e5b6
	https://git.kernel.org/stable/c/747eaead2db298abfda2aa505f6d03775b40fe5f
	https://git.kernel.org/stable/c/2c007acf7b31c39c08ce4959451ad00b19be4c1f
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.