{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99854","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.438Z","datePublished":"2026-11-30T13:17:40.833Z","dateUpdated":"2026-12-01T05:43:48.714Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:43:48.714Z"},"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":{"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"},"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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fc.c"],"versions":[{"version":"5ca46a04a5c30c498f696b0403adf59b2c1cec61","lessThan":"468925371a236d82a483e8fb04e1a17a81ec5036","status":"affected","versionType":"git"},{"version":"fd646ac5403f9a6d693065edeb21fec2a8b19727","lessThan":"6c7de9561ef6e229456e7a9ba0b6964588372197","status":"affected","versionType":"git"},{"version":"0cab4404874f2de52617de8400c844891c6ea1ce","lessThan":"f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd","status":"affected","versionType":"git"},{"version":"0cab4404874f2de52617de8400c844891c6ea1ce","lessThan":"1754fc977a3d4674a6bb875cfcfb4d0ff9009b54","status":"affected","versionType":"git"},{"version":"0cab4404874f2de52617de8400c844891c6ea1ce","lessThan":"5e4325c515dc5719d2dab3520327d1f04c661596","status":"affected","versionType":"git"},{"version":"0cab4404874f2de52617de8400c844891c6ea1ce","lessThan":"142aff2ead903d437650b938d9eb0c8c1a19e175","status":"affected","versionType":"git"},{"version":"0cab4404874f2de52617de8400c844891c6ea1ce","lessThan":"11db8ab55e1a7533e9cfe57687ab142ba67d3c84","status":"affected","versionType":"git"},{"version":"dc62f8f2cd9ad13d527d7178b05b4fa3bd2f68f6","status":"affected","versionType":"git"},{"version":"8b226a02d18685a5ba2534bb33e7398bd5f5eac7","status":"affected","versionType":"git"},{"version":"62b19b9f3a0dc3135df3ea4f11f14beafd34c5f9","status":"affected","versionType":"git"},{"version":"ecf5b49df38fa26e5039894e247fa12a8b796799","status":"affected","versionType":"git"},{"version":"5.15.95","lessThan":"5.15.226","status":"affected","versionType":"semver"},{"version":"6.1.13","lessThan":"6.1.193","status":"affected","versionType":"semver"},{"version":"4.14.306","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.273","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.232","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.169","lessThan":"5.11","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fc.c"],"versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.95","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.13","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.4-rc1"},{"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"}]}]}],"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"}}}}