{"id":"CVE-2026-99503","aliases":[],"title":"ata: sata_fsl: Fix use-after-free of host_priv on probe() failure","originalDescription":"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->private_data;\n\n\t\tiounmap(host_priv->hcr_base);\n\t\tkfree(host_priv);\n\t}\n\n->host_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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00218,"percentile":0.13121},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=4.14.257, <4.15","fixed":"4.15"},{"ecosystem":"vendor","name":"Linux","range":">=4.19.220, <4.20","fixed":"4.20"},{"ecosystem":"vendor","name":"Linux","range":">=4.4.294, <4.5","fixed":"4.5"},{"ecosystem":"vendor","name":"Linux","range":">=4.9.292, <4.10","fixed":"4.10"},{"ecosystem":"vendor","name":"Linux","range":">=4a46b2f5dce02539e88a300800812bd24a45e097, <1d90d6d679cefe20d223c2f196ffd9fea297be1f","fixed":"1d90d6d679cefe20d223c2f196ffd9fea297be1f"},{"ecosystem":"vendor","name":"Linux","range":">=5.10.84, <5.10.275","fixed":"5.10.275"},{"ecosystem":"vendor","name":"Linux","range":">=5.10.84, <5.11","fixed":"5.11"},{"ecosystem":"vendor","name":"Linux","range":">=5.15.7, <5.15.226","fixed":"5.15.226"},{"ecosystem":"vendor","name":"Linux","range":">=5.15.7, <5.16","fixed":"5.16"},{"ecosystem":"vendor","name":"Linux","range":">=5.4.164, <5.5","fixed":"5.5"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <3e00737e95485b2a35bf5f515f56a4c416d5971f","fixed":"3e00737e95485b2a35bf5f515f56a4c416d5971f"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <57f0d1fcfd1eb4c05f8edb883ed34914a77a02d5","fixed":"57f0d1fcfd1eb4c05f8edb883ed34914a77a02d5"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <59eac6863eede5957bfd8872633608431ac42d3c","fixed":"59eac6863eede5957bfd8872633608431ac42d3c"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <6c69c0754f9052a9369c154530ca4855f9bcdca9","fixed":"6c69c0754f9052a9369c154530ca4855f9bcdca9"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3","fixed":"70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3"},{"ecosystem":"vendor","name":"Linux","range":">=6c8ad7e8cf29eb55836e7a0215f967746ab2b504, <9d9d62dfef3609f664c60f6fe61528a2e876a64b","fixed":"9d9d62dfef3609f664c60f6fe61528a2e876a64b"},{"ecosystem":"vendor","name":"Linux","range":">=adf098e2a8a1e1fc075d6a5ba2edd13cf7189082, <4ef0a14d952dd4475e2016475b1dda73f63c5dae","fixed":"4ef0a14d952dd4475e2016475b1dda73f63c5dae"}],"references":[{"url":"https://git.kernel.org/stable/c/3e00737e95485b2a35bf5f515f56a4c416d5971f","type":"other"},{"url":"https://git.kernel.org/stable/c/59eac6863eede5957bfd8872633608431ac42d3c","type":"other"},{"url":"https://git.kernel.org/stable/c/9d9d62dfef3609f664c60f6fe61528a2e876a64b","type":"other"},{"url":"https://git.kernel.org/stable/c/70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3","type":"other"},{"url":"https://git.kernel.org/stable/c/1d90d6d679cefe20d223c2f196ffd9fea297be1f","type":"other"},{"url":"https://git.kernel.org/stable/c/4ef0a14d952dd4475e2016475b1dda73f63c5dae","type":"other"},{"url":"https://git.kernel.org/stable/c/6c69c0754f9052a9369c154530ca4855f9bcdca9","type":"other"},{"url":"https://git.kernel.org/stable/c/57f0d1fcfd1eb4c05f8edb883ed34914a77a02d5","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.281Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99503","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:48.177Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:54.917Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99503","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:33.996Z"}],"firstSeenAt":"2026-11-19T15:00:33.996Z","publishedAt":"2026-11-19T14:43:52.787Z","modifiedAt":"2026-11-23T08:17:52.727Z"}