Linux Kernel up to 6.17-rc4 scsi use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 6.17-rc4. It has been rated as critical. This vulnerability affects unknown code of the component scsi. The manipulation leads to use after free. This vulnerability is documented as CVE-2025-39841. There is not any exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.17-rc4 and classified as critical. This issue affects an unknown function of the component scsi. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. The identification of this vulnerability is CVE-2025-39841 since 04/16/2025. The exploitation is known to be easy. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 06/24/2026).

The vulnerability scanner Nessus provides a plugin with the ID 265474 (Linux Distros Unpatched Vulnerability : CVE-2025-39841), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.4.299, 5.10.243, 5.15.192, 6.1.151, 6.6.105, 6.12.46, 6.16.6 or 6.17-rc5 eliminates this vulnerability. Applying the patch ab34084f42ee06a9028d67c78feafb911d33d111/baa39f6ad79d372a6ce0aa639fbb2f1578479f57/95b63d15fce5c54a73bbf195e1aacb5a75b128e2/55658c7501467ca9ef3bd4453dd920010db8bc13/d96cc9a1b57725930c60b607423759d563b4d900/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11/897f64b01c1249ac730329b83f4f40bab71e86c7/9dba9a45c348e8460da97c450cddf70b2056deb3 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (265474) and CERT Bund (WID-SEC-2025-2099). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • IBM QRadar SIEM
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source Linux Kernel
  • Dell Secure Connect Gateway
  • Dell NetWorker
  • Dell ECS

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265474
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39841

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.4.299/5.10.243/5.15.192/6.1.151/6.6.105/6.12.46/6.16.6/6.17-rc5
Patch: ab34084f42ee06a9028d67c78feafb911d33d111/baa39f6ad79d372a6ce0aa639fbb2f1578479f57/95b63d15fce5c54a73bbf195e1aacb5a75b128e2/55658c7501467ca9ef3bd4453dd920010db8bc13/d96cc9a1b57725930c60b607423759d563b4d900/367cb5ffd8a8a4c85dc89f55e7fa7cc191425b11/897f64b01c1249ac730329b83f4f40bab71e86c7/9dba9a45c348e8460da97c450cddf70b2056deb3

Timelineinfo

04/16/2025 CVE reserved
09/19/2025 +156 days Advisory disclosed
09/19/2025 +0 days VulDB entry created
06/24/2026 +278 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-39841 (🔒)
GCVE (CVE): GCVE-0-2025-39841
GCVE (VulDB): GCVE-100-325031
CERT Bund: WID-SEC-2025-2099 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 09/19/2025 18:10
Updated: 06/24/2026 09:39
Changes: 09/19/2025 18:10 (58), 09/22/2025 23:45 (2), 10/20/2025 20:11 (7), 11/03/2025 12:45 (1), 11/11/2025 22:33 (1), 11/29/2025 06:03 (1), 12/22/2025 10:25 (1), 01/20/2026 16:55 (11), 06/24/2026 09:39 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!