Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99854

published high CVSS 3.1 · 8.8

nvmet-fc: Tear down the association when the admin queue allocation fails

Published
30 Nov 2026, 13:17:40 UTC
Updated
01 Dec 2026, 05:43:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5ca46a04a5c30c498f696b0403adf59b2c1cec61 to < 468925371a236d82a483e8fb04e1a17a81ec5036 · fd646ac5403f9a6d693065edeb21fec2a8b19727 to < 6c7de9561ef6e229456e7a9ba0b6964588372197 · 0cab4404874f2de52617de8400c844891c6ea1ce to < f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd · 0cab4404874f2de52617de8400c844891c6ea1ce to < 1754fc977a3d4674a6bb875cfcfb4d0ff9009b54 · 0cab4404874f2de52617de8400c844891c6ea1ce to < 5e4325c515dc5719d2dab3520327d1f04c661596 · 0cab4404874f2de52617de8400c844891c6ea1ce to < 142aff2ead903d437650b938d9eb0c8c1a19e175 · 0cab4404874f2de52617de8400c844891c6ea1ce to < 11db8ab55e1a7533e9cfe57687ab142ba67d3c84 · dc62f8f2cd9ad13d527d7178b05b4fa3bd2f68f6 · 8b226a02d18685a5ba2534bb33e7398bd5f5eac7 · 62b19b9f3a0dc3135df3ea4f11f14beafd34c5f9 · ecf5b49df38fa26e5039894e247fa12a8b796799 · 5.15.95 to < 5.15.226 · 6.1.13 to < 6.1.193 · 4.14.306 to < 4.15 · 4.19.273 to < 4.20 · 5.4.232 to < 5.5 · 5.10.169 to < 5.11 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: Tear down the association when the admin queue allocation fails When the initial admin queue allocation fails after a new association was created, nvmet_fc_ls_create_association() only drops the association reference, which frees the association. By then the association is already on the target port's assoc_list, though, and removal from that list only happens in nvmet_fc_delete_target_assoc(), which this error path never calls. The freed association stays on the list, where later lookups and the port teardown can access it, and the target port reference taken at allocation time leaks. A remote host can trigger this reliably with a Create Association LS requesting a queue too large to allocate. Schedule the regular association teardown instead of dropping the reference directly. The teardown removes the association from the list and releases the target port reference before the final reference drop frees it.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5ca46a04a5c30c498f696b0403adf59b2c1cec61 to < 468925371a236d82a483e8fb04e1a17a81ec5036 (affected · git)fd646ac5403f9a6d693065edeb21fec2a8b19727 to < 6c7de9561ef6e229456e7a9ba0b6964588372197 (affected · git)0cab4404874f2de52617de8400c844891c6ea1ce to < f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd (affected · git)0cab4404874f2de52617de8400c844891c6ea1ce to < 1754fc977a3d4674a6bb875cfcfb4d0ff9009b54 (affected · git)0cab4404874f2de52617de8400c844891c6ea1ce to < 5e4325c515dc5719d2dab3520327d1f04c661596 (affected · git)0cab4404874f2de52617de8400c844891c6ea1ce to < 142aff2ead903d437650b938d9eb0c8c1a19e175 (affected · git)0cab4404874f2de52617de8400c844891c6ea1ce to < 11db8ab55e1a7533e9cfe57687ab142ba67d3c84 (affected · git)dc62f8f2cd9ad13d527d7178b05b4fa3bd2f68f6 (affected · git)8b226a02d18685a5ba2534bb33e7398bd5f5eac7 (affected · git)62b19b9f3a0dc3135df3ea4f11f14beafd34c5f9 (affected · git)ecf5b49df38fa26e5039894e247fa12a8b796799 (affected · git)5.15.95 to < 5.15.226 (affected · semver)6.1.13 to < 6.1.193 (affected · semver)4.14.306 to < 4.15 (affected · semver)4.19.273 to < 4.20 (affected · semver)5.4.232 to < 5.5 (affected · semver)5.10.169 to < 5.11 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

nvmet-fc: Tear down the association when the admin queue allocation fails

Provenance

Schema
5.2
Searchable
yes
Content hash
dc979c53a00aa85fb127f4c8496c1aee61b98b26482eae603d056d6f8f2f5981
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected