CVE-2025-39676

scsi: qla4xxx: Prevent a potential error pointer dereference

MEDIUM
5.5
CVSS Score
Published: September 5, 2025 at 05:20 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC CN 4100

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%

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: qla4xxx: Prevent a potential error pointer dereference The qla4xxx_get_ep_fwdb() function is supposed to return NULL on error, but qla4xxx_ep_connect() returns error pointers. Propagating the error pointers will lead to an Oops in the caller, so change the error pointers to NULL.

Affected

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

3.2.1 ≤ v < 5.4.2975.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1495.5 ≤ v < 5.10.2416.13 ≤ v < 6.16.46.2 ≤ v < 6.6.1036.7 ≤ v < 6.12.4413483730a13bef372894aefcf73760f5c6c297be3.23.2 rc76.176.17 rc16.17 rc2
Vendor states this is fixed in 325bf7d57c4e2a341e381c5805e454fb69dd78c3 (fixed)
Vendor states this is fixed in 46288d12d1c30d08fbeffd05abc079f57a43a2d4 (fixed)
Vendor states this is fixed in 9dcf111dd3e7ed5fce82bb108e3a3fc001c07225 (fixed)
Vendor states this is fixed in ad8a9d38d30c691a77c456e72b78f7932d4f234d (fixed)
Vendor states this is fixed in d0225f41ee70611ca88ccb22c8542ecdfa7faea8 (fixed)
Vendor states this is fixed in f1424c830d6ce840341aac33fe99c8ac45447ac1 (fixed)
Vendor states this is fixed in f4bc3cdfe95115191e24592bbfc15f1d4a705a75 (fixed)
Vendor states this is fixed in f5ad0819f902b4b33591791b92a0350fb3692a6b (fixed)
Vendor states this is fixed in 3.2 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.149 (unaffected)
Vendor states this is fixed in 6.12.44 (unaffected)
Vendor states this is fixed in 6.16.4 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.103 (unaffected)
v < V5.0
Affected range stops below V5.0, so it looks safe — our inference, not a vendor statement

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/325bf7d57c4e2a341e381c5805e454fb69dd78c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46288d12d1c30d08fbeffd05abc079f57a43a2d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9dcf111dd3e7ed5fce82bb108e3a3fc001c07225
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad8a9d38d30c691a77c456e72b78f7932d4f234d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0225f41ee70611ca88ccb22c8542ecdfa7faea8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1424c830d6ce840341aac33fe99c8ac45447ac1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4bc3cdfe95115191e24592bbfc15f1d4a705a75
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f5ad0819f902b4b33591791b92a0350fb3692a6b

CVSS

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