CVE-2025-21957

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

State
Published
Severity
5.5 Medium
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • a0441891373fe2db582075a4639fdfcccea470c1 to before afa27b7c17a48e01546ccaad0ab017ad0496a522Affected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before 11a8dac1177a596648a020a7f3708257a2f95feeAffected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before c737e2a5fb7f90b96a96121da1b50a9c74ae9b8cAffected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before 24602e2664c515a4f2950d7b52c3d5997463418cAffected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before ea371d1cdefb0951c7127a33bcd7eb931cf44571Affected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before af71ba921d08c241a817010f96458dc5e5e26762Affected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before 7ac2473e727d67a38266b2b7e55c752402ab588cAffected
  • a0441891373fe2db582075a4639fdfcccea470c1 to before 5233e3235dec3065ccc632729675575dbe3c6b8aAffected
LinuxLinux
  • 2.6.24Affected
  • before 2.6.24Not affected
  • 5.4.292 through 5.4.*Not affected
  • 5.10.236 through 5.10.*Not affected
  • 5.15.180 through 5.15.*Not affected
  • 6.1.132 through 6.1.*Not affected
  • 6.6.84 through 6.6.*Not affected
  • 6.12.20 through 6.12.*Not affected
  • 6.13.8 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.