[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100433-CVE-2023-53609-1c39@gregkh>
Date: Sat, 4 Oct 2025 17:52:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53609: scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed"
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: Revert "scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed"
The "atomic_inc(&cmd->device->iorequest_cnt)" in scsi_queue_rq() would
cause kernel panic because cmd->device may be freed after returning from
scsi_dispatch_cmd().
This reverts commit cfee29ffb45b1c9798011b19d454637d1b0fe87d.
The Linux kernel CVE team has assigned CVE-2023-53609 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.2 with commit cfee29ffb45b1c9798011b19d454637d1b0fe87d and fixed in 6.3.4 with commit 35fe6fa57b994e7da222893adf0bb748d6055e73
Issue introduced in 6.2 with commit cfee29ffb45b1c9798011b19d454637d1b0fe87d and fixed in 6.4 with commit 6ca9818d1624e136a76ae8faedb6b6c95ca66903
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-2023-53609
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/scsi_lib.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/35fe6fa57b994e7da222893adf0bb748d6055e73
https://git.kernel.org/stable/c/6ca9818d1624e136a76ae8faedb6b6c95ca66903
Powered by blists - more mailing lists