Linux Kernel up to 6.17.7 nvme-fc port_state state issue

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.
4.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.6
VulDB Meta Temp Score: 4.4

VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: State issue
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 278559
Nessus Name: Debian dla-4404 : ata-modules-5.10.0-35-armmp-di - security update

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

04/16/2025 CVE reserved
12/09/2025 +237 days Advisory disclosed
12/09/2025 +0 days VulDB entry created
12/20/2025 +11 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-40342 (🔒)
GCVE (CVE): GCVE-0-2025-40342
GCVE (VulDB): GCVE-100-334896
EUVD: 🔒

Entryinfo

Created: 12/09/2025 07:37
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!