All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-cve-announce@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@kernel.org>
Subject: CVE-2026-45857: scsi: csiostor: Fix dereference of null pointer rn
Date: Wed, 27 May 2026 14:18:19 +0200	[thread overview]
Message-ID: <2026052709-CVE-2026-45857-0a4f@gregkh> (raw)

From: Greg Kroah-Hartman <gregkh@kernel.org>

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

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

scsi: csiostor: Fix dereference of null pointer rn

The error exit path when rn is NULL ends up deferencing the null pointer rn
via the use of the macro CSIO_INC_STATS. Fix this by adding a new error
return path label after the use of the macro to avoid the deference.

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


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

	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 5.10.252 with commit 16ccbfddcb32365138c806cf572e69b42a193c5c
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 5.15.202 with commit 44ef9f81392de885883f73b9f5c43936a82ae9d7
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 6.1.165 with commit 526ea3c0ccd495b0079db3e28fdddd51c1bf01f7
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 6.6.128 with commit 25d623f0d77c11a256a54e860d00c239aa9a2583
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 6.12.75 with commit 6037124dbf675fbd0a6248aaf04cf07387b8c323
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 6.18.14 with commit 25ab5e97d3c5f3ed594b4a65d1cc99dc24756681
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 6.19.4 with commit 3bbbab7b6949c76df64210348adbefedaabbf549
	Issue introduced in 3.8 with commit a3667aaed5698b84bad2f1b3f71adc86499f4bc6 and fixed in 7.0 with commit 1982257570b84dc33753d536dd969fd357a014e9

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-45857
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/csiostor/csio_scsi.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/16ccbfddcb32365138c806cf572e69b42a193c5c
	https://git.kernel.org/stable/c/44ef9f81392de885883f73b9f5c43936a82ae9d7
	https://git.kernel.org/stable/c/526ea3c0ccd495b0079db3e28fdddd51c1bf01f7
	https://git.kernel.org/stable/c/25d623f0d77c11a256a54e860d00c239aa9a2583
	https://git.kernel.org/stable/c/6037124dbf675fbd0a6248aaf04cf07387b8c323
	https://git.kernel.org/stable/c/25ab5e97d3c5f3ed594b4a65d1cc99dc24756681
	https://git.kernel.org/stable/c/3bbbab7b6949c76df64210348adbefedaabbf549
	https://git.kernel.org/stable/c/1982257570b84dc33753d536dd969fd357a014e9

                 reply	other threads:[~2026-05-27 12:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026052709-CVE-2026-45857-0a4f@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=cve@kernel.org \
    --cc=gregkh@kernel.org \
    --cc=linux-cve-announce@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.