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)
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.
AI Analysis
Technical Summary
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.
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)
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.