Skip to main content
EPSS 0.5%top 61%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix buffer free/clear order in deferred receive path Fix a… (CVE-2025-39841)

0
High
Published: 09/19/2025 (09/19/2025, 16:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

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.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

redhat/kernel
pkg:rpm/redhat/kernel
Affected versions
=9.4.*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/25/2026, 22:20:01 UTC

Technical Analysis

This Red Hat security advisory addresses two vulnerabilities in the Linux kernel packages for Red Hat Enterprise Linux 9.4 Extended Update Support. CVE-2025-39841 fixes a buffer free/clear order issue in the deferred receive path of the SCSI lpfc driver, which could lead to memory management problems. CVE-2025-39883 fixes a kernel memory management bug where VM_BUG_ON_PAGE(PagePoisoned(page)) triggers incorrectly when unpoisoning memory. The advisory provides updated kernel packages to resolve these issues. The update is rated as having moderate security impact by Red Hat Product Security. Systems must be rebooted after applying the update for the fixes to take effect.

Potential Impact

The vulnerabilities affect the Linux kernel core in Red Hat Enterprise Linux 9.4 Extended Update Support. They involve memory management bugs that could potentially lead to system instability or memory corruption. The advisory rates the security impact as moderate. There are no known exploits in the wild reported at this time.

Mitigation Recommendations

Red Hat has released updated kernel packages that fix these vulnerabilities. Users of Red Hat Enterprise Linux 9.4 Extended Update Support should apply the kernel update as described in the Red Hat advisory (RHSA-2025:22661) and reboot their systems to activate the fixes. This is the official and recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2025:22661
Cve Count
2
Additional Cves
["CVE-2025-39883"]

Threat ID: 6a3da1da4853345fc1828c7e

Added to database: 06/25/2026, 21:47:06 UTC

Last enriched: 06/25/2026, 22:20:01 UTC

Last updated: 09/10/2026, 19:24:56 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses