Linux Kernel up to 6.17.7 nvme-fc port_state state issue

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Linux Kernel up to 6.17.7. Affected by this issue is the function port_state of the component nvme-fc. The manipulation results in state issue.
This vulnerability is identified as CVE-2025-40342. There is not any exploit available.
You should upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 6.17.7. It has been classified as critical. Affected is the function port_state of the component nvme-fc. The manipulation with an unknown input leads to a state issue vulnerability. CWE is classifying the issue as CWE-371. The impact remains unknown. CVE summarizes:
In the Linux kernel, the following vulnerability has been resolved: nvme-fc: use lock accessing port_state and rport state nvme_fc_unregister_remote removes the remote port on a lport object at any point in time when there is no active association. This races with with the reconnect logic, because nvme_fc_create_association is not taking a lock to check the port_state and atomically increase the active count on the rport.
The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2025-40342 since 04/16/2025. The exploitability is told to be difficult. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 12/20/2025).
The vulnerability scanner Nessus provides a plugin with the ID 278559 (Debian dla-4404 : ata-modules-5.10.0-35-armmp-di - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.58 or 6.17.8 eliminates this vulnerability. Applying the patch de3d91af47bc015031e7721b100a29989f6498a5/e8cde03de8674b05f2c5e0870729049eba517800/4253e0a4546138a2bf9cb6acf66b32fee677fc7c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446/9950af4303942081dc8c7a5fdc3688c17c7eb6c0/a2f7fa75c4a2a07328fa22ccbef461db76790b55/891cdbb162ccdb079cd5228ae43bdeebce8597ad 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 (278559) and EUVD (EUVD-2025-201860). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
- 5.10.246
- 5.15.196
- 6.1.158
- 6.6.116
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.12.24
- 6.12.25
- 6.12.26
- 6.12.27
- 6.12.28
- 6.12.29
- 6.12.30
- 6.12.31
- 6.12.32
- 6.12.33
- 6.12.34
- 6.12.35
- 6.12.36
- 6.12.37
- 6.12.38
- 6.12.39
- 6.12.40
- 6.12.41
- 6.12.42
- 6.12.43
- 6.12.44
- 6.12.45
- 6.12.46
- 6.12.47
- 6.12.48
- 6.12.49
- 6.12.50
- 6.12.51
- 6.12.52
- 6.12.53
- 6.12.54
- 6.12.55
- 6.12.56
- 6.12.57
- 6.17.0
- 6.17.1
- 6.17.2
- 6.17.3
- 6.17.4
- 6.17.5
- 6.17.6
- 6.17.7
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.6VulDB Meta Temp Score: 4.4
VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: State issueCWE: CWE-371
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 278559
Nessus Name: Debian dla-4404 : ata-modules-5.10.0-35-armmp-di - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 5.10.247/5.15.197/6.1.159/6.6.117/6.12.58/6.17.8
Patch: de3d91af47bc015031e7721b100a29989f6498a5/e8cde03de8674b05f2c5e0870729049eba517800/4253e0a4546138a2bf9cb6acf66b32fee677fc7c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446/9950af4303942081dc8c7a5fdc3688c17c7eb6c0/a2f7fa75c4a2a07328fa22ccbef461db76790b55/891cdbb162ccdb079cd5228ae43bdeebce8597ad
Timeline
04/16/2025 CVE reserved12/09/2025 Advisory disclosed
12/09/2025 VulDB entry created
12/20/2025 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2025-40342 (🔒)
GCVE (CVE): GCVE-0-2025-40342
GCVE (VulDB): GCVE-100-334896
EUVD: 🔒
Entry
Created: 12/09/2025 07:37Updated: 12/20/2025 20:21
Changes: 12/09/2025 07:37 (59), 12/13/2025 16:41 (2), 12/20/2025 20:21 (1)
Complete: 🔍
Cache ID: 216:21C:103
No comments yet. Languages: en.
Please log in to comment.