Bug 2420413 (CVE-2025-40342) - CVE-2025-40342 kernel: nvme-fc: use lock accessing port_state and rport state
Summary: CVE-2025-40342 kernel: nvme-fc: use lock accessing port_state and rport state
Keywords:
Status: NEW
Alias: CVE-2025-40342
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-09 05:01 UTC by OSIDB Bzimport
Modified: 2025-12-16 15:25 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-09 05:01:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.