CVE-2023-54310 (GCVE-0-2023-54310)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2025-12-30 12:23
VLAI?
Title
scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
Summary
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]
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 92f869693d84e813895ff4d25363744575515423
(git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 60c8645ad6f5b722615383d595d63b62b07a13c3 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 410e610a96c52a7b41e2ab6c9ca60868d9acecce (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 697f92f8317e538d8409a0c95d6370eb40b34c05 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < e84282efc87f2414839f6e15c31b4daa34ebaac1 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 9c6da3b7f12528cd52c458b33496a098b838fcfc (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 48daa4a3015d859ee424948844ce3c12f2fe44e6 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < f486893288f3e9b171b836f43853a6426515d800 (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/message/fusion/mptlan.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "92f869693d84e813895ff4d25363744575515423",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "60c8645ad6f5b722615383d595d63b62b07a13c3",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "410e610a96c52a7b41e2ab6c9ca60868d9acecce",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "697f92f8317e538d8409a0c95d6370eb40b34c05",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "e84282efc87f2414839f6e15c31b4daa34ebaac1",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "9c6da3b7f12528cd52c458b33496a098b838fcfc",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "48daa4a3015d859ee424948844ce3c12f2fe44e6",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "f486893288f3e9b171b836f43853a6426515d800",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/message/fusion/mptlan.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.316",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.284",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.244",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.181",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.113",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.30",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.3.*",
"status": "unaffected",
"version": "6.3.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.4",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.316",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.284",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.244",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.181",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.113",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.30",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.3.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition\n\nmptlan_probe() calls mpt_register_lan_device() which initializes the\n\u0026priv-\u003epost_buckets_task workqueue. A call to\nmpt_lan_wake_post_buckets_task() will subsequently start the work.\n\nDuring driver unload in mptlan_remove() the following race may occur:\n\nCPU0 CPU1\n\n |mpt_lan_post_receive_buckets_work()\nmptlan_remove() |\n free_netdev() |\n kfree(dev); |\n |\n | dev-\u003emtu\n | //use\n\nFix this by finishing the work prior to cleaning up in mptlan_remove().\n\n[mkp: we really should remove mptlan instead of attempting to fix it]"
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:23:42.509Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/92f869693d84e813895ff4d25363744575515423"
},
{
"url": "https://git.kernel.org/stable/c/60c8645ad6f5b722615383d595d63b62b07a13c3"
},
{
"url": "https://git.kernel.org/stable/c/410e610a96c52a7b41e2ab6c9ca60868d9acecce"
},
{
"url": "https://git.kernel.org/stable/c/697f92f8317e538d8409a0c95d6370eb40b34c05"
},
{
"url": "https://git.kernel.org/stable/c/e84282efc87f2414839f6e15c31b4daa34ebaac1"
},
{
"url": "https://git.kernel.org/stable/c/9c6da3b7f12528cd52c458b33496a098b838fcfc"
},
{
"url": "https://git.kernel.org/stable/c/48daa4a3015d859ee424948844ce3c12f2fe44e6"
},
{
"url": "https://git.kernel.org/stable/c/f486893288f3e9b171b836f43853a6426515d800"
}
],
"title": "scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-54310",
"datePublished": "2025-12-30T12:23:42.509Z",
"dateReserved": "2025-12-30T12:06:44.530Z",
"dateUpdated": "2025-12-30T12:23:42.509Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2023-54310\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:20.200\",\"lastModified\":\"2025-12-30T13:16:20.200\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition\\n\\nmptlan_probe() calls mpt_register_lan_device() which initializes the\\n\u0026priv-\u003epost_buckets_task workqueue. A call to\\nmpt_lan_wake_post_buckets_task() will subsequently start the work.\\n\\nDuring driver unload in mptlan_remove() the following race may occur:\\n\\nCPU0 CPU1\\n\\n |mpt_lan_post_receive_buckets_work()\\nmptlan_remove() |\\n free_netdev() |\\n kfree(dev); |\\n |\\n | dev-\u003emtu\\n | //use\\n\\nFix this by finishing the work prior to cleaning up in mptlan_remove().\\n\\n[mkp: we really should remove mptlan instead of attempting to fix it]\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/410e610a96c52a7b41e2ab6c9ca60868d9acecce\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48daa4a3015d859ee424948844ce3c12f2fe44e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/60c8645ad6f5b722615383d595d63b62b07a13c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/697f92f8317e538d8409a0c95d6370eb40b34c05\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/92f869693d84e813895ff4d25363744575515423\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9c6da3b7f12528cd52c458b33496a098b838fcfc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e84282efc87f2414839f6e15c31b4daa34ebaac1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f486893288f3e9b171b836f43853a6426515d800\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…