CVE-2026-99503
What it is
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.
At a glance
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: not scored yet.
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Record status
- Received
Affected
- Linux < 3e00737e95485b2a35bf5f515f56a4c416d5971f
- Linux < 59eac6863eede5957bfd8872633608431ac42d3c
- Linux < 9d9d62dfef3609f664c60f6fe61528a2e876a64b
- Linux < 70b1196740d61aabda13b2ad0e9c1dfa2ef9cfa3
- Linux cdcd80292106df5cda325426e96495503e41f947
- Linux 91ba94d3f7afca195b224f77a72044fbde1389ce
- Linux 325ea49fc43cbc03a5e1e37de8f0ca6357ced4b1
- Linux 0769449b0a5eabc3545337217ae690e46673e73a
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-99503.md and follow it. Check whether this project is affected by CVE-2026-99503. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.