CVE-2026-99503
Severity unknownNo known exploitationFix availableata: sata_fsl: Fix use-after-free of host_priv on probe() failure
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: ata: sata_fsl: Fix use-after-free of host_priv on probe() failure sata_fsl_host_stop() releases hcr_base and host_priv: static void sata_fsl_host_stop(struct ata_host *host) { struct sata_fsl_host_priv *host_priv = host->private_data; iounmap(host_priv->hcr_base); kfree(host_priv); } ->host_stop() is called by the driver core through the ata_host_stop() devres action which ata_host_start() registers, so it is called both when the device is unbound and when probe() fails after the host has been started. The error_exit_with_cleanup label of sata_fsl_probe() releases hcr_base and host_priv as well, and it is reachable from the two device_create_file() calls which are done after the host has been activated. In that case sata_fsl_host_stop() runs on an already freed host_priv, resulting in a use-after-free and a double iounmap()/kfree(). Add a separate error label for the failures happening after the host has been activated, which only detaches the host and leaves hcr_base and host_priv to sata_fsl_host_stop(). Note that ata_host_detach() is dropped from error_exit_with_cleanup, as that label is now only reachable while host is still NULL.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 4.14.257 before 4.15 | 4.15 | CVE Program |
| Linux | Linux | from 4.19.220 before 4.20 | 4.20 | CVE Program |
| Linux | Linux | from 4.4.294 before 4.5 | 4.5 | CVE Program |
| Linux | Linux | from 4.9.292 before 4.10 | 4.10 | CVE Program |
| Linux | Linux | from 5.10.84 before 5.11 | 5.11 | CVE Program |
| Linux | Linux | from 5.15.7 before 5.16 | 5.16 | CVE Program |
| Linux | Linux | from 5.4.164 before 5.5 | 5.5 | CVE Program |
| Linux | Linux | from 6c8ad7e8cf29eb55836e7a0215f967746ab2b504 before 3e00737e95485b2a35bf5f515f56a4c416d5971f | 3e00737e95485b2a35bf5f515f56a4c416d5971f | CVE Program |
| Linux | Linux | from 6c8ad7e8cf29eb55836e7a0215f967746ab2b504 before 59eac6863eede5957bfd8872633608431ac42d3c | 59eac6863eede5957bfd8872633608431ac42d3c | CVE Program |
| Linux | Linux | from 6c8ad7e8cf29eb55836e7a0215f967746ab2b504 before 9d9d62dfef3609f664c60f6fe61528a2e876a64b | 9d9d62dfef3609f664c60f6fe61528a2e876a64b | CVE Program |
| Linux | Linux | from 6c8ad7e8cf29eb55836e7a0215f967746ab2b504 before 70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3 | 70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3 | CVE Program |
| Linux | Linux | 0769449b0a5eabc3545337217ae690e46673e73a | Not documented | CVE Program |
| Linux | Linux | 325ea49fc43cbc03a5e1e37de8f0ca6357ced4b1 | Not documented | CVE Program |
| Linux | Linux | 4a46b2f5dce02539e88a300800812bd24a45e097 | Not documented | CVE Program |
| Linux | Linux | 5.16 | Not documented | CVE Program |
| Linux | Linux | 77393806c76b6b44f1c44bd957788c8bd9152c45 | Not documented | CVE Program |
| Linux | Linux | 91ba94d3f7afca195b224f77a72044fbde1389ce | Not documented | CVE Program |
| Linux | Linux | adf098e2a8a1e1fc075d6a5ba2edd13cf7189082 | Not documented | CVE Program |
| Linux | Linux | cdcd80292106df5cda325426e96495503e41f947 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.16 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/3e00737e95485b2a35bf5f515f56a4c416d5971f (opens in a new tab)
- https://git.kernel.org/stable/c/59eac6863eede5957bfd8872633608431ac42d3c (opens in a new tab)
- https://git.kernel.org/stable/c/70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3 (opens in a new tab)
- https://git.kernel.org/stable/c/9d9d62dfef3609f664c60f6fe61528a2e876a64b (opens in a new tab)