---
id: CVE-2025-39676
title: 'scsi: qla4xxx: Prevent a potential error pointer dereference'
summary: |-
  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 e…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    d0225f41ee70611ca88ccb22c8542ecdfa7faea8
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    ad8a9d38d30c691a77c456e72b78f7932d4f234d
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    325bf7d57c4e2a341e381c5805e454fb69dd78c3
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    46288d12d1c30d08fbeffd05abc079f57a43a2d4
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    f5ad0819f902b4b33591791b92a0350fb3692a6b
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    f1424c830d6ce840341aac33fe99c8ac45447ac1
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    f4bc3cdfe95115191e24592bbfc15f1d4a705a75
  - >-
    Linux >= 13483730a13bef372894aefcf73760f5c6c297be <
    9dcf111dd3e7ed5fce82bb108e3a3fc001c07225
  - Linux 3.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:08:25.971307Z'
published: '2025-09-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:12:54.856Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-39676'
references:
  - url: 'https://git.kernel.org/stable/c/d0225f41ee70611ca88ccb22c8542ecdfa7faea8'
  - url: 'https://git.kernel.org/stable/c/ad8a9d38d30c691a77c456e72b78f7932d4f234d'
  - url: 'https://git.kernel.org/stable/c/325bf7d57c4e2a341e381c5805e454fb69dd78c3'
  - url: 'https://git.kernel.org/stable/c/46288d12d1c30d08fbeffd05abc079f57a43a2d4'
  - url: 'https://git.kernel.org/stable/c/f5ad0819f902b4b33591791b92a0350fb3692a6b'
  - url: 'https://git.kernel.org/stable/c/f1424c830d6ce840341aac33fe99c8ac45447ac1'
  - url: 'https://git.kernel.org/stable/c/f4bc3cdfe95115191e24592bbfc15f1d4a705a75'
  - url: 'https://git.kernel.org/stable/c/9dcf111dd3e7ed5fce82bb108e3a3fc001c07225'
tags:
  - cve.org
epss: 0.00183
epssPercentile: 0.07932
ingestedAt: '2026-11-05T22:38:32.017Z'
---

## Overview

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

- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < d0225f41ee70611ca88ccb22c8542ecdfa7faea8`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < ad8a9d38d30c691a77c456e72b78f7932d4f234d`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < 325bf7d57c4e2a341e381c5805e454fb69dd78c3`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < 46288d12d1c30d08fbeffd05abc079f57a43a2d4`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < f5ad0819f902b4b33591791b92a0350fb3692a6b`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < f1424c830d6ce840341aac33fe99c8ac45447ac1`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < f4bc3cdfe95115191e24592bbfc15f1d4a705a75`
- `Linux >= 13483730a13bef372894aefcf73760f5c6c297be < 9dcf111dd3e7ed5fce82bb108e3a3fc001c07225`
- `Linux 3.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
