CVE-2025-21957
JSON

5.5medium

scsi: qla1280: Fix kernel oops when debug level > 2

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a0441891373fe2db582075a4639fdfcccea470c1 before afa27b7c17a48e01546ccaad0ab017ad0496a522, from a0441891373fe2db582075a4639fdfcccea470c1 before 11a8dac1177a596648a020a7f3708257a2f95fee, from a0441891373fe2db582075a4639fdfcccea470c1 before c737e2a5fb7f90b96a96121da1b50a9c74ae9b8c, from a0441891373fe2db582075a4639fdfcccea470c1 before 24602e2664c515a4f2950d7b52c3d5997463418c, from a0441891373fe2db582075a4639fdfcccea470c1 before ea371d1cdefb0951c7127a33bcd7eb931cf44571, from a0441891373fe2db582075a4639fdfcccea470c1 before af71ba921d08c241a817010f96458dc5e5e26762, from a0441891373fe2db582075a4639fdfcccea470c1 before 7ac2473e727d67a38266b2b7e55c752402ab588c, from a0441891373fe2db582075a4639fdfcccea470c1 before 5233e3235dec3065ccc632729675575dbe3c6b8a and 1 more
Not affected: before 2.6.24, from 5.4.292 up to 5.4.*, from 5.10.236 up to 5.10.*, from 5.15.180 up to 5.15.*, from 6.1.132 up to 6.1.*, from 6.6.84 up to 6.6.*
CVE List
linux linux_kernelbefore 5.4.292, from 5.5 before 5.10.236, from 5.11 before 5.15.180, from 5.16 before 6.1.132, from 6.2 before 6.6.84, from 6.7 before 6.12.20, from 6.13 before 6.13.8, 6.14NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: qla1280: Se corrige el error del kernel cuando el nivel de depuración > 2. Eventualmente, se producirá una desreferencia nula o una excepción de error cuando el controlador qla1280.c se compila con DEBUG_QLA1280 habilitado y ql_debug_level > 2. Creo que del código se desprende claramente que la intención aquí es sg_dma_len(s), no la longitud de sg_next(s) al imprimir la información de depuración.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21957 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21957 changed 2026-06-17Public domain