1. Accueil
  2. Vulnérabilités
  3. CVE-2026-99503

CVE-2026-99503

ata: sata_fsl: Fix use-after-free of host_priv on probe() failure

Publiée le 19 nov. 2026 · modifiée le 23 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 13/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.10.84 (inclus) à 5.10.275 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.7 (inclus) à 5.15.226 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.4.294 (inclus) à 4.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.9.292 (inclus) à 4.10 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.14.257 (inclus) à 4.15 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.19.220 (inclus) à 4.20 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.164 (inclus) à 5.5 (exclu) — CNA (éditeur ou attributeur)
Linux 5.16 — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1639)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1676)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données