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-2023-54310

published high CVSS 3.1 · 7.8

scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition

Published
30 Dec 2025, 12:23:42 UTC
Updated
05 Aug 2026, 09:19:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 92f869693d84e813895ff4d25363744575515423 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 60c8645ad6f5b722615383d595d63b62b07a13c3 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 410e610a96c52a7b41e2ab6c9ca60868d9acecce · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 697f92f8317e538d8409a0c95d6370eb40b34c05 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e84282efc87f2414839f6e15c31b4daa34ebaac1 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9c6da3b7f12528cd52c458b33496a098b838fcfc · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 48daa4a3015d859ee424948844ce3c12f2fe44e6 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f486893288f3e9b171b836f43853a6426515d800 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.14.316 through 4.14.* (unaffected · semver) · 4.19.284 through 4.19.* (unaffected · semver) · 5.4.244 through 5.4.* (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 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: scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition mptlan_probe() calls mpt_register_lan_device() which initializes the &priv->post_buckets_task workqueue. A call to mpt_lan_wake_post_buckets_task() will subsequently start the work. During driver unload in mptlan_remove() the following race may occur: CPU0 CPU1 |mpt_lan_post_receive_buckets_work() mptlan_remove() | free_netdev() | kfree(dev); | | | dev->mtu | //use Fix this by finishing the work prior to cleaning up in mptlan_remove(). [mkp: we really should remove mptlan instead of attempting to fix 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
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The freeing side of the race is only reachable through local actions — module unload of mptlan/mptfc, or a sysfs PCI remove/unbind on the Fusion adapter — so the attacker must have local system access. A remote Fibre Channel peer can keep the post_buckets work armed but cannot itself trigger free_netdev(). AC:L - The attacker controls both sides of the race: driving traffic on the fc0 IP-over-FC interface keeps priv->post_buckets_task continuously scheduled (rearmed on every receive once buckets fall below priv->bucketthresh), while the attacker separately chooses the moment of driver removal, and the attempt is freely repeatable across probe/remove cycles. PR:L - Consistent with how this subsystem class is scored, a local user account is treated as sufficient to reach the driver teardown path and to generate the interface traffic that arms the work item; no separately-authenticated or hardware-privileged role is needed to influence the racing side. UI:N - No victim action is required — the attacker performs both the traffic generation that schedules the work and the driver-removal that frees the net_device. S:U - The use-after-free corrupts kernel heap memory and is exploited within the kernel's own security authority; there is no crossing of a VM, IOMMU, or sandbox boundary. C:H - The work function dereferences the freed allocation extensively (priv->dev, dev->mtu, dev->hard_header_len, priv->mpt_dev, priv->RcvCtl[], priv->mpt_rxfidx[]), so an attacker who reclaims the slab controls what is read and can leak kernel memory contents, including DMA addresses and skb pointers. I:H - Beyond reading, mpt_lan_post_receive_buckets() writes into the freed object (priv->RcvCtl[ctx].skb/dma/len, priv->mpt_rxfidx[], the buckets_out atomic) and programs attacker-influenced addresses and lengths into HBA DMA scatter-gather entries, giving a controlled write primitive suitable for control-flow hijacking. A:H - The use-after-free reliably oopses or panics the kernel when the freed net_device slab has been reused, and the bogus dma_map_single()/DMA descriptor programming can additionally wedge the storage adapter.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 92f869693d84e813895ff4d25363744575515423 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 60c8645ad6f5b722615383d595d63b62b07a13c3 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 410e610a96c52a7b41e2ab6c9ca60868d9acecce (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 697f92f8317e538d8409a0c95d6370eb40b34c05 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e84282efc87f2414839f6e15c31b4daa34ebaac1 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 9c6da3b7f12528cd52c458b33496a098b838fcfc (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 48daa4a3015d859ee424948844ce3c12f2fe44e6 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f486893288f3e9b171b836f43853a6426515d800 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.14.316 through 4.14.* (unaffected · semver)4.19.284 through 4.19.* (unaffected · semver)5.4.244 through 5.4.* (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition

Provenance

Schema
5.2
Searchable
yes
Content hash
6ad576ac197c1361589b1f5c3a592d79348d149b29d9f5e3f118cdffeea3e334
Ingested
23 Sep 2026, 08:15:07 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