CVE-2025-21957

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

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:46 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2922.6.24 ≤ v < 5.10.2362.6.24 ≤ v < 5.15.1802.6.24 ≤ v < 5.4.2922.6.24 ≤ v < 6.1.1322.6.24 ≤ v < 6.12.202.6.24 ≤ v < 6.13.82.6.24 ≤ v < 6.142.6.24 ≤ v < 6.6.845.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1325.5 ≤ v < 5.10.2366.13 ≤ v < 6.13.86.2 ≤ v < 6.6.846.7 ≤ v < 6.12.206.14 rc1a0441891373fe2db582075a4639fdfcccea470c1
Vendor states this is fixed in 11a8dac1177a596648a020a7f3708257a2f95fee (fixed)
Vendor states this is fixed in 24602e2664c515a4f2950d7b52c3d5997463418c (fixed)
Vendor states this is fixed in 5233e3235dec3065ccc632729675575dbe3c6b8a (fixed)
Vendor states this is fixed in 7ac2473e727d67a38266b2b7e55c752402ab588c (fixed)
Vendor states this is fixed in af71ba921d08c241a817010f96458dc5e5e26762 (fixed)
Vendor states this is fixed in afa27b7c17a48e01546ccaad0ab017ad0496a522 (fixed)
Vendor states this is fixed in c737e2a5fb7f90b96a96121da1b50a9c74ae9b8c (fixed)
Vendor states this is fixed in ea371d1cdefb0951c7127a33bcd7eb931cf44571 (fixed)
Vendor states this is fixed in 2.6.24 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.4.292 (unaffected)
Vendor states this is fixed in 6.1.132 (unaffected)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/11a8dac1177a596648a020a7f3708257a2f95fee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24602e2664c515a4f2950d7b52c3d5997463418c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5233e3235dec3065ccc632729675575dbe3c6b8a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ac2473e727d67a38266b2b7e55c752402ab588c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/af71ba921d08c241a817010f96458dc5e5e26762
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/afa27b7c17a48e01546ccaad0ab017ad0496a522
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c737e2a5fb7f90b96a96121da1b50a9c74ae9b8c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea371d1cdefb0951c7127a33bcd7eb931cf44571

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card