9.8

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

Modified
AliasesUBUNTU-CVE-2025-39841DEBIAN-CVE-2025-39841
Published 19-09-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-39841 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in debian debian_linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.48%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 55 · Related 35

Timeline

  1. 19-09-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.47% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu144 products
  • linuxAll versions (No fix recorded) | < 5.15.0-163.173 | < 6.8.0-106.106
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1097.104 | < 6.8.0-1050.53
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linux< 6.1.153-1 | < 6.12.48-1 | < 6.16.6-1
  • debian_linuxEOL11.0
Linux2 products
  • linux≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < ab34084f42ee06a9028d67c78feafb911d33d111 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < baa39f6ad79d372a6ce0aa639fbb2f1578479f57 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 95b63d15fce5c54a73bbf195e1aacb5a75b128e2 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 55658c7501467ca9ef3bd4453dd920010db8bc13 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < d96cc9a1b57725930c60b607423759d563b4d900 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 897f64b01c1249ac730329b83f4f40bab71e86c7 | ≥ 472e146d1cf3410a898b49834500fa9e33ac41a2, < 9dba9a45c348e8460da97c450cddf70b2056deb3 | 5.1
  • linux_kernel≥ 5.1, < 5.4.299 | ≥ 5.5, < 5.10.243 | ≥ 5.11, < 5.15.192 | ≥ 5.16, < 6.1.151 | ≥ 6.2, < 6.6.105 | ≥ 6.7, < 6.12.46 | ≥ 6.13, < 6.16.6 | 6.17:rc1 | 6.17:rc2 | 6.17:rc3 | 6.17:rc4

3 vendors · 148 products

References

36 links
Show all 36 references