Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39841— scsi: lpfc: Fix buffer free/clear order in deferred receive path

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于缓冲区释放顺序不当,可能导致释放后重用。

CVSS 9.8 · Critical EPSS 0.48% · P40

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 472e146d1cf3410a898b49834500fa9e33ac41a2< ab34084f42ee06a9028d67c78feafb911d33d111 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< baa39f6ad79d372a6ce0aa639fbb2f1578479f57 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< 95b63d15fce5c54a73bbf195e1aacb5a75b128e2 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< 55658c7501467ca9ef3bd4453dd920010db8bc13 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< d96cc9a1b57725930c60b607423759d563b4d900 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< 367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< 897f64b01c1249ac730329b83f4f40bab71e86c7 affected
472e146d1cf3410a898b49834500fa9e33ac41a2< 9dba9a45c348e8460da97c450cddf70b2056deb3 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39841

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: lpfc: Fix buffer free/clear order in deferred receive path
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于缓冲区释放顺序不当,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 472e146d1cf3410a898b49834500fa9e33ac41a2 ~ ab34084f42ee06a9028d67c78feafb911d33d111 -
Linux Linux 5.1 -

II. Public POCs for CVE-2025-39841

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39841

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-19 · 30 CVEs total

CVE-2025-39864 8.8 HIGH wifi: cfg80211: fix use-after-free in cmp_bss()
CVE-2025-39862 8.8 HIGH wifi: mt76: mt7915: fix list corruption after hardware restart
CVE-2025-39839 8.8 HIGH batman-adv: fix OOB read/write in network-coding decode
CVE-2025-39848 8.8 HIGH ax25: properly unshare skbs in ax25_kiss_rcv()
CVE-2025-39849 8.8 HIGH wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
CVE-2025-39860 8.0 HIGH Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
CVE-2025-39837 7.8 HIGH platform/x86: asus-wmi: Fix racy registrations
CVE-2025-39863 7.8 HIGH wifi: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work
CVE-2025-39866 7.8 HIGH fs: writeback: fix use-after-free in __mark_inode_dirty()
CVE-2025-39854 7.8 HIGH ice: fix NULL access of tx->in_use in ice_ll_ts_intr
CVE-2025-39851 7.5 HIGH vxlan: Fix NPD when refreshing an FDB entry with a nexthop object
CVE-2025-39857 7.5 HIGH net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()
CVE-2025-39840 7.1 HIGH audit: fix out-of-bounds read in audit_compare_dname_path()
CVE-2025-39846 pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
CVE-2025-39865 tee: fix NULL pointer dereference in tee_shm_put
CVE-2025-39838 cifs: prevent NULL pointer dereference in UTF16 conversion
CVE-2025-39861 Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
CVE-2025-39842 ocfs2: prevent release journal inode after journal shutdown
CVE-2025-39844 mm: move page table sync declarations to linux/pgtable.h
CVE-2025-39843 mm: slub: avoid wake up kswapd in set_track_prepare

Showing top 20 of 30 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39841

No comments yet


Leave a comment