ghsa-52c3-vccj-p4f5
Vulnerability from github
Published
2025-12-30 15:30
Modified
2025-12-30 15:30
Details

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]

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2023-54310"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-12-30T13:16:20Z",
    "severity": null
  },
  "details": "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]",
  "id": "GHSA-52c3-vccj-p4f5",
  "modified": "2025-12-30T15:30:36Z",
  "published": "2025-12-30T15:30:35Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-54310"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/410e610a96c52a7b41e2ab6c9ca60868d9acecce"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48daa4a3015d859ee424948844ce3c12f2fe44e6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/60c8645ad6f5b722615383d595d63b62b07a13c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/697f92f8317e538d8409a0c95d6370eb40b34c05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92f869693d84e813895ff4d25363744575515423"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c6da3b7f12528cd52c458b33496a098b838fcfc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e84282efc87f2414839f6e15c31b4daa34ebaac1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f486893288f3e9b171b836f43853a6426515d800"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…