{"api_version":"1","generated_at":"2026-12-01T06:50:21+00:00","cve":"CVE-2026-99854","urls":{"html":"https://cve.report/CVE-2026-99854","api":"https://cve.report/api/cve/CVE-2026-99854.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99854","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99854"},"summary":{"title":"nvmet-fc: Tear down the association when the admin queue allocation fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: Tear down the association when the admin queue allocation fails\n\nWhen the initial admin queue allocation fails after a new association\nwas created, nvmet_fc_ls_create_association() only drops the\nassociation reference, which frees the association.  By then the\nassociation is already on the target port's assoc_list, though, and\nremoval from that list only happens in nvmet_fc_delete_target_assoc(),\nwhich this error path never calls.  The freed association stays on the\nlist, where later lookups and the port teardown can access it, and the\ntarget port reference taken at allocation time leaks.\n\nA remote host can trigger this reliably with a Create Association LS\nrequesting a queue too large to allocate.\n\nSchedule the regular association teardown instead of dropping the\nreference directly.  The teardown removes the association from the\nlist and releases the target port reference before the final reference\ndrop frees it.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:19","updated_at":"2026-12-01 06:17:53"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd","name":"https://git.kernel.org/stable/c/f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/142aff2ead903d437650b938d9eb0c8c1a19e175","name":"https://git.kernel.org/stable/c/142aff2ead903d437650b938d9eb0c8c1a19e175","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6c7de9561ef6e229456e7a9ba0b6964588372197","name":"https://git.kernel.org/stable/c/6c7de9561ef6e229456e7a9ba0b6964588372197","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/468925371a236d82a483e8fb04e1a17a81ec5036","name":"https://git.kernel.org/stable/c/468925371a236d82a483e8fb04e1a17a81ec5036","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5e4325c515dc5719d2dab3520327d1f04c661596","name":"https://git.kernel.org/stable/c/5e4325c515dc5719d2dab3520327d1f04c661596","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11db8ab55e1a7533e9cfe57687ab142ba67d3c84","name":"https://git.kernel.org/stable/c/11db8ab55e1a7533e9cfe57687ab142ba67d3c84","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1754fc977a3d4674a6bb875cfcfb4d0ff9009b54","name":"https://git.kernel.org/stable/c/1754fc977a3d4674a6bb875cfcfb4d0ff9009b54","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99854","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99854","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5ca46a04a5c30c498f696b0403adf59b2c1cec61 468925371a236d82a483e8fb04e1a17a81ec5036 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fd646ac5403f9a6d693065edeb21fec2a8b19727 6c7de9561ef6e229456e7a9ba0b6964588372197 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cab4404874f2de52617de8400c844891c6ea1ce f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cab4404874f2de52617de8400c844891c6ea1ce 1754fc977a3d4674a6bb875cfcfb4d0ff9009b54 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cab4404874f2de52617de8400c844891c6ea1ce 5e4325c515dc5719d2dab3520327d1f04c661596 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cab4404874f2de52617de8400c844891c6ea1ce 142aff2ead903d437650b938d9eb0c8c1a19e175 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0cab4404874f2de52617de8400c844891c6ea1ce 11db8ab55e1a7533e9cfe57687ab142ba67d3c84 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected dc62f8f2cd9ad13d527d7178b05b4fa3bd2f68f6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b226a02d18685a5ba2534bb33e7398bd5f5eac7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 62b19b9f3a0dc3135df3ea4f11f14beafd34c5f9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ecf5b49df38fa26e5039894e247fa12a8b796799 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.95 5.15.226 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.13 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14.306 4.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19.273 4.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.232 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.169 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/target/fc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"468925371a236d82a483e8fb04e1a17a81ec5036","status":"affected","version":"5ca46a04a5c30c498f696b0403adf59b2c1cec61","versionType":"git"},{"lessThan":"6c7de9561ef6e229456e7a9ba0b6964588372197","status":"affected","version":"fd646ac5403f9a6d693065edeb21fec2a8b19727","versionType":"git"},{"lessThan":"f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd","status":"affected","version":"0cab4404874f2de52617de8400c844891c6ea1ce","versionType":"git"},{"lessThan":"1754fc977a3d4674a6bb875cfcfb4d0ff9009b54","status":"affected","version":"0cab4404874f2de52617de8400c844891c6ea1ce","versionType":"git"},{"lessThan":"5e4325c515dc5719d2dab3520327d1f04c661596","status":"affected","version":"0cab4404874f2de52617de8400c844891c6ea1ce","versionType":"git"},{"lessThan":"142aff2ead903d437650b938d9eb0c8c1a19e175","status":"affected","version":"0cab4404874f2de52617de8400c844891c6ea1ce","versionType":"git"},{"lessThan":"11db8ab55e1a7533e9cfe57687ab142ba67d3c84","status":"affected","version":"0cab4404874f2de52617de8400c844891c6ea1ce","versionType":"git"},{"status":"affected","version":"dc62f8f2cd9ad13d527d7178b05b4fa3bd2f68f6","versionType":"git"},{"status":"affected","version":"8b226a02d18685a5ba2534bb33e7398bd5f5eac7","versionType":"git"},{"status":"affected","version":"62b19b9f3a0dc3135df3ea4f11f14beafd34c5f9","versionType":"git"},{"status":"affected","version":"ecf5b49df38fa26e5039894e247fa12a8b796799","versionType":"git"},{"lessThan":"5.15.226","status":"affected","version":"5.15.95","versionType":"semver"},{"lessThan":"6.1.193","status":"affected","version":"6.1.13","versionType":"semver"},{"lessThan":"4.15","status":"affected","version":"4.14.306","versionType":"semver"},{"lessThan":"4.20","status":"affected","version":"4.19.273","versionType":"semver"},{"lessThan":"5.5","status":"affected","version":"5.4.232","versionType":"semver"},{"lessThan":"5.11","status":"affected","version":"5.10.169","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/target/fc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.15.95","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.1.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.306","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.273","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.232","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.169","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: Tear down the association when the admin queue allocation fails\n\nWhen the initial admin queue allocation fails after a new association\nwas created, nvmet_fc_ls_create_association() only drops the\nassociation reference, which frees the association.  By then the\nassociation is already on the target port's assoc_list, though, and\nremoval from that list only happens in nvmet_fc_delete_target_assoc(),\nwhich this error path never calls.  The freed association stays on the\nlist, where later lookups and the port teardown can access it, and the\ntarget port reference taken at allocation time leaks.\n\nA remote host can trigger this reliably with a Create Association LS\nrequesting a queue too large to allocate.\n\nSchedule the regular association teardown instead of dropping the\nreference directly.  The teardown removes the association from the\nlist and releases the target port reference before the final reference\ndrop frees it."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:A - The bad sqsize arrives in an FC-NVMe Create Association LS: lpfc_nvme_unsol_ls_handler -> nvmet_fc_rcv_ls_req -> nvmet_fc_handle_ls_rqst -> nvmet_fc_ls_create_association. A remote initiator sends it, but over a Fibre Channel/FCoE fabric. That is not routable IP, so the attacker has to be an N_Port on the same fabric.\nAC:L - The peer sets be16 assoc_cmd.sqsize, which is checked only against ersp_ratio. With sqsize=0xFFFF, kzalloc_flex(queue, fod, sqsize) needs far more than the largest page order, so nvmet_fc_alloc_target_queue fails every time without any memory pressure. The attacker repeats the LS and then sends a normal Create Association that reuses the dangling list entry.\nPR:N - lpfc only checks that the source ndlp is in UNMAPPED/MAPPED state, which a plain FC PLOGI/PRLI login provides. Create Association is handled before any NVMe Connect, so the allowed_hosts and DH-HMAC-CHAP checks have not run yet.\nUI:N - Nothing is required from the target administrator beyond having an nvmet-fc port enabled. The peer's own LS and FCP frames do everything.\nS:U - The memory corruption stays inside the target kernel's nvmet-fc state (tgtport->assoc_list and kmalloc-2k objects). It does not cross a VM, IOMMU or sandbox boundary.\nC:H - The freed nvmet_fc_tgt_assoc stays on tgtport->assoc_list. Every FCP command walk (nvmet_fc_find_target_queue) and nvmet_fc_invalidate_host reads its a_list, association_id, queues[] and hostport from freed memory. If that memory is reallocated, the target follows a pointer the attacker can shape.\nI:H - The next Create Association's list_add_tail_rcu in nvmet_fc_alloc_target_assoc writes a kernel pointer into a_list of the freed (possibly reallocated) kmalloc-2k slot, and later list_del_rcu writes into it again. A reallocated nonzero ref also lets queue_work run the attacker-controlled del_work.\nA:H - If the new association reuses the freed slot, INIT_LIST_HEAD makes its list entry point to itself, and nvmet_fc_assoc_exists spins forever under tgtport->lock with IRQs off (hard lockup). With init_on_free or KASAN the next list walk oops. The leaked tgtport reference also blocks port teardown."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:43:48.714Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/468925371a236d82a483e8fb04e1a17a81ec5036"},{"url":"https://git.kernel.org/stable/c/6c7de9561ef6e229456e7a9ba0b6964588372197"},{"url":"https://git.kernel.org/stable/c/f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd"},{"url":"https://git.kernel.org/stable/c/1754fc977a3d4674a6bb875cfcfb4d0ff9009b54"},{"url":"https://git.kernel.org/stable/c/5e4325c515dc5719d2dab3520327d1f04c661596"},{"url":"https://git.kernel.org/stable/c/142aff2ead903d437650b938d9eb0c8c1a19e175"},{"url":"https://git.kernel.org/stable/c/11db8ab55e1a7533e9cfe57687ab142ba67d3c84"}],"title":"nvmet-fc: Tear down the association when the admin queue allocation fails","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99854","datePublished":"2026-11-30T13:17:40.833Z","dateReserved":"2026-09-25T10:25:14.438Z","dateUpdated":"2026-12-01T05:43:48.714Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:19","lastModifiedDate":"2026-12-01 06:17:53","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99854","Ordinal":"1","Title":"nvmet-fc: Tear down the association when the admin queue allocat","CVE":"CVE-2026-99854","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99854","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: Tear down the association when the admin queue allocation fails\n\nWhen the initial admin queue allocation fails after a new association\nwas created, nvmet_fc_ls_create_association() only drops the\nassociation reference, which frees the association.  By then the\nassociation is already on the target port's assoc_list, though, and\nremoval from that list only happens in nvmet_fc_delete_target_assoc(),\nwhich this error path never calls.  The freed association stays on the\nlist, where later lookups and the port teardown can access it, and the\ntarget port reference taken at allocation time leaks.\n\nA remote host can trigger this reliably with a Create Association LS\nrequesting a queue too large to allocate.\n\nSchedule the regular association teardown instead of dropping the\nreference directly.  The teardown removes the association from the\nlist and releases the target port reference before the final reference\ndrop frees it.","Type":"Description","Title":"nvmet-fc: Tear down the association when the admin queue allocat"}]}}}