CVE-2025-21957

Source
https://cve.org/CVERecord?id=CVE-2025-21957
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21957.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21957
Downstream
Related
Published
2025-04-01T15:46:56.733Z
Modified
2026-03-20T12:41:15.369975Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
scsi: qla1280: Fix kernel oops when debug level > 2
Details

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 DEBUGQLA1280 enabled and qldebuglevel > 2. I think its clear from the code that the intention here is sgdmalen(s) not length of sgnext(s) when printing the debug info.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21957.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a0441891373fe2db582075a4639fdfcccea470c1
Fixed
afa27b7c17a48e01546ccaad0ab017ad0496a522
Fixed
11a8dac1177a596648a020a7f3708257a2f95fee
Fixed
c737e2a5fb7f90b96a96121da1b50a9c74ae9b8c
Fixed
24602e2664c515a4f2950d7b52c3d5997463418c
Fixed
ea371d1cdefb0951c7127a33bcd7eb931cf44571
Fixed
af71ba921d08c241a817010f96458dc5e5e26762
Fixed
7ac2473e727d67a38266b2b7e55c752402ab588c
Fixed
5233e3235dec3065ccc632729675575dbe3c6b8a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21957.json"