{"id":"AZL-114986","summary":"CVE-2026-99503 affecting package kernel 6.6.161.1-1","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.","modified":"2026-11-20T14:17:30.796230528Z","published":"2026-11-19T15:18:05Z","upstream":["CVE-2026-99503"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99503"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114986.json"}}],"schema_version":"1.9.2"}