VDB

DEBIAN-CVE-2025-39841

DEBIAN-CVE-2025-39841 PUBLISHED CVSS 7.800000190734863 HIGH

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix buffer free/clear order in deferred receive path Fix a use-after-free window by correcting the buffer release sequence in the deferred receive path. The code freed the RQ buffer first and only then cleared the context pointer under the lock. Concurrent paths (e.g., ABTS and the repost path) also inspect and release the same pointer under the lock, so the old order could lead to double-free/UAF. Note that the repost path already uses the correct pattern: detach the pointer under the lock, then free it after dropping the lock. The deferred path should do the same.

Risk Scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Debian:12linux6.1.115-1, 6.1.38-4~bpo11+1, 6.1.38-3
Debian:11linux-6.16.1.148-1, 6.1.147-1, 6.1.140-1
Debian:11linux5.10.226-1, 5.10.158-1, 0
Debian:14linux6.12.43-1~bpo12+1, 6.12.41-1, 6.12.38-1
Debian:13linux0, 6.12.38-1, 6.12.43-1

Timeline

  • Sep 19, 2025 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›