[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040144-CVE-2025-21957-5d2c@gregkh>
Date: Tue, 1 Apr 2025 16:45:42 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21957: scsi: qla1280: Fix kernel oops when debug level > 2
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: qla1280: Fix kernel oops when debug level > 2
A null dereference or oops exception will eventually occur when qla1280.c
driver is compiled with DEBUG_QLA1280 enabled and ql_debug_level > 2. I
think its clear from the code that the intention here is sg_dma_len(s) not
length of sg_next(s) when printing the debug info.
The Linux kernel CVE team has assigned CVE-2025-21957 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.132 with commit 24602e2664c515a4f2950d7b52c3d5997463418c
Fixed in 6.6.84 with commit ea371d1cdefb0951c7127a33bcd7eb931cf44571
Fixed in 6.12.20 with commit af71ba921d08c241a817010f96458dc5e5e26762
Fixed in 6.13.8 with commit 7ac2473e727d67a38266b2b7e55c752402ab588c
Fixed in 6.14 with commit 5233e3235dec3065ccc632729675575dbe3c6b8a
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-2025-21957
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/qla1280.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/24602e2664c515a4f2950d7b52c3d5997463418c
https://git.kernel.org/stable/c/ea371d1cdefb0951c7127a33bcd7eb931cf44571
https://git.kernel.org/stable/c/af71ba921d08c241a817010f96458dc5e5e26762
https://git.kernel.org/stable/c/7ac2473e727d67a38266b2b7e55c752402ab588c
https://git.kernel.org/stable/c/5233e3235dec3065ccc632729675575dbe3c6b8a
Powered by blists - more mailing lists