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

Medium 5.5 Published Updated

A null pointer dereference in the qla1280 SCSI driver causes a kernel oops when debug level exceeds 2, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-21957?

CVE-2025-21957 is a medium-severity vulnerability in Linux kernel, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2025-21957?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21957?

Apply the vendor's patch.

Is CVE-2025-21957 being exploited?

There is no known exploitation of CVE-2025-21957 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-59949, AZL-59957, BELL-CVE-2025-21957, DEBIAN-CVE-2025-21957, GHSA-6xj5-r9h7-wphq, ROOT-OS-UBUNTU-2404-CVE-2025-21957 and 1 more.

Is CVE-2025-21957 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free