CVE-2025-21957: Linux kernel · scsi: qla1280: Fix kernel oops when debug level > 2
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1147.157~18.04.1 : update Linux kernel when convenient.
Data as of 28 Oct 2026, 11:14 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +87
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-21957 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21957 (opens in a new tab)
- git.kernel.org/linus/5233e3235dec3065ccc632729675575dbe3c6b8a (opens in a new tab)
- git.kernel.org/stable/c/24602e2664c515a4f2950d7b52c3d5997463418c (opens in a new tab)
- git.kernel.org/stable/c/5233e3235dec3065ccc632729675575dbe3c6b8a (opens in a new tab)
- git.kernel.org/stable/c/7ac2473e727d67a38266b2b7e55c752402ab588c (opens in a new tab)
- git.kernel.org/stable/c/af71ba921d08c241a817010f96458dc5e5e26762 (opens in a new tab)
- git.kernel.org/stable/c/ea371d1cdefb0951c7127a33bcd7eb931cf44571 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7585-3 (opens in a new tab)