{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ecc53b1b46c892d2e3cf3cf4393b6d219dc4ae3f"
            },
            {
              "fixed": "223cfef4812bdfa5ac5c1aa761cdba03cfe2c9cd"
            },
            {
              "fixed": "5f10ab3643c58a22fbaee92c4701b00fcb4a465d"
            },
            {
              "fixed": "ee5492fd88cfc079c19fbeac78e9e53b7f6c04f3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45977.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbnic: close fw_log race between users and teardown\n\nFixes a theoretical race on fw_log between the teardown path and fw_log\nwrite functions.\n\nfw_log is written inside fbnic_fw_log_write() and can be reached from\nthe mailbox handler fbnic_fw_msix_intr(), but fw_log is freed before\nIRQ/MBX teardown during cleanup, resulting in a potential data race of\ndereferencing a freed/null variable.\n\nPossible Interleaving Scenario:\n  CPU0: fbnic_fw_msix_intr() // Entry\n          fbnic_fw_log_write()\n            if (fbnic_fw_log_ready())   // true\n            ... preempt ...\n  CPU1: fbnic_remove() // Entry\n          fbnic_fw_log_free()\n            vfree(log-\u003edata_start);\n            log-\u003edata_start = NULL;\n  CPU0: continues, walks log-\u003eentries or writes to log-\u003edata_start\n\nThe initialization also has an incorrect order problem, as the fw_log\nis currently allocated after MBX setup during initialization.\nFix the problems by adjusting the synchronization order to put\ninitialization in place before the mailbox is enabled, and not cleared\nuntil after the mailbox has been disabled.",
  "id": "CVE-2026-45977",
  "modified": "2026-07-08T05:36:58.219205483Z",
  "published": "2026-05-27T12:18:35.858Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/223cfef4812bdfa5ac5c1aa761cdba03cfe2c9cd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5f10ab3643c58a22fbaee92c4701b00fcb4a465d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ee5492fd88cfc079c19fbeac78e9e53b7f6c04f3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45977.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45977"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "fbnic: close fw_log race between users and teardown"
}