{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6c8ad7e8cf29eb55836e7a0215f967746ab2b504"
            },
            {
              "fixed": "3e00737e95485b2a35bf5f515f56a4c416d5971f"
            },
            {
              "fixed": "59eac6863eede5957bfd8872633608431ac42d3c"
            },
            {
              "fixed": "9d9d62dfef3609f664c60f6fe61528a2e876a64b"
            },
            {
              "fixed": "70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "cdcd80292106df5cda325426e96495503e41f947"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "91ba94d3f7afca195b224f77a72044fbde1389ce"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "325ea49fc43cbc03a5e1e37de8f0ca6357ced4b1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0769449b0a5eabc3545337217ae690e46673e73a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "77393806c76b6b44f1c44bd957788c8bd9152c45"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4a46b2f5dce02539e88a300800812bd24a45e097"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "adf098e2a8a1e1fc075d6a5ba2edd13cf7189082"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.4.294"
            },
            {
              "fixed": "4.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.9.292"
            },
            {
              "fixed": "4.10"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.14.257"
            },
            {
              "fixed": "4.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.19.220"
            },
            {
              "fixed": "4.20"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.4.164"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.84"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.7"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99503.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nata: sata_fsl: Fix use-after-free of host_priv on probe() failure\n\nsata_fsl_host_stop() releases hcr_base and host_priv:\n\n\tstatic void sata_fsl_host_stop(struct ata_host *host)\n\t{\n\t\tstruct sata_fsl_host_priv *host_priv = host-\u003eprivate_data;\n\n\t\tiounmap(host_priv-\u003ehcr_base);\n\t\tkfree(host_priv);\n\t}\n\n-\u003ehost_stop() is called by the driver core through the ata_host_stop()\ndevres action which ata_host_start() registers, so it is called both when\nthe device is unbound and when probe() fails after the host has been\nstarted.\n\nThe error_exit_with_cleanup label of sata_fsl_probe() releases hcr_base\nand host_priv as well, and it is reachable from the two\ndevice_create_file() calls which are done after the host has been\nactivated. In that case sata_fsl_host_stop() runs on an already freed\nhost_priv, resulting in a use-after-free and a double iounmap()/kfree().\n\nAdd a separate error label for the failures happening after the host has\nbeen activated, which only detaches the host and leaves hcr_base and\nhost_priv to sata_fsl_host_stop().\n\nNote that ata_host_detach() is dropped from error_exit_with_cleanup, as\nthat label is now only reachable while host is still NULL.",
  "id": "CVE-2026-99503",
  "modified": "2026-11-19T16:46:01.099325548Z",
  "published": "2026-11-19T14:43:52.787Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3e00737e95485b2a35bf5f515f56a4c416d5971f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/59eac6863eede5957bfd8872633608431ac42d3c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d9d62dfef3609f664c60f6fe61528a2e876a64b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99503.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99503"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ata: sata_fsl: Fix use-after-free of host_priv on probe() failure"
}