# CVE-2025-21957: scsi: qla1280: Fix kernel oops when debug level > 2

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-04-01T15:46:56.733Z
- Modified: 2026-06-17T08:44:42.367Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 2.6.24 (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.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: before 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.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/afa27b7c17a48e01546ccaad0ab017ad0496a522> (patch)
- <https://git.kernel.org/stable/c/11a8dac1177a596648a020a7f3708257a2f95fee> (patch)
- <https://git.kernel.org/stable/c/c737e2a5fb7f90b96a96121da1b50a9c74ae9b8c> (patch)
- <https://git.kernel.org/stable/c/24602e2664c515a4f2950d7b52c3d5997463418c> (patch)
- <https://git.kernel.org/stable/c/ea371d1cdefb0951c7127a33bcd7eb931cf44571> (patch)
- <https://git.kernel.org/stable/c/af71ba921d08c241a817010f96458dc5e5e26762> (patch)
- <https://git.kernel.org/stable/c/7ac2473e727d67a38266b2b7e55c752402ab588c> (patch)
- <https://git.kernel.org/stable/c/5233e3235dec3065ccc632729675575dbe3c6b8a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2025-21957](https://www.cve.org/CVERecord?id=CVE-2025-21957), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21957](https://nvd.nist.gov/vuln/detail/CVE-2025-21957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21957 · Whole record: https://cve.day/CVE-2025-21957.json · Rebuilt by cve.day 2026-11-25T22:58:55.908Z
