{"id":"CVE-2025-38238","revision":"c34628ca067b4993be43e4c86cc81666","records":[{"revision":"c34628ca067b4993be43e4c86cc81666","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-38238","aliases":[],"title":"scsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: fnic: Fix crash in fnic_wq_cmpl_handler when FDMI times out\n\nWhen both the RHBA and RPA FDMI requests time out, fnic reuses a frame to\nsend ABTS for each of them. On send completion, this causes an attempt to\nfree the same frame twice that leads to a crash.\n\nFix crash by allocating separate frames for RHBA and RPA, and modify ABTS\nlogic accordingly.\n\nTested by checking MDS for FDMI information.\n\nTested by using instrumented driver to:\n\n - Drop PLOGI response\n - Drop RHBA response\n - Drop RPA response\n - Drop RHBA and RPA response\n - Drop PLOGI response + ABTS response\n - Drop RHBA response + ABTS response\n - Drop RPA response + ABTS response\n - Drop RHBA and RPA response + ABTS response for both of them","state":0,"publishedAt":"2025-07-09T10:42:23.538+00:00","modifiedAt":"2026-10-15T21:52:12.048+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/scsi/fnic/fdls_disc.c\",\n                        \"drivers/scsi/fnic/fnic.h\",\n                        \"drivers/scsi/fnic/fnic_fdls.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"09c1e6ab4ab2a107d96f119950dc330e446dc2b0\",\n                            \"lessThan\": \"09679e9abedfbc5a2590759a1a7893c1c26e6044\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"09c1e6ab4ab2a107d96f119950dc330e446dc2b0\",\n                            \"lessThan\": \"a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/scsi/fnic/fdls_disc.c\",\n                        \"drivers/scsi/fnic/fnic.h\",\n                        \"drivers/scsi/fnic/fnic_fdls.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.15.5\",\n                            \"lessThanOrEqual\": \"6.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.16\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/09679e9abedfbc5a2590759a1a7893c1c26e6044","https://git.kernel.org/stable/c/a35b29bdedb4d2ae3160d4d6684a6f1ecd9ca7c2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38238","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-38238","identifiers":["CVE-2025-38238"]},"retained":false,"historicalAffected":[]}],"coverage":[]}