CheckCore 취약점 점검 · 조치

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

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.4.294 이상 4.5 미만
    • 4.9.292 이상 4.10 미만
    • 4.14.257 이상 4.15 미만
    • 4.19.220 이상 4.20 미만
    • 5.4.164 이상 5.5 미만
    • 5.10.84 이상 5.11 미만
    • 5.15.7 이상 5.16 미만
    • 5.16

    해결 버전

    • 4.5 이상
    • 4.10 이상
    • 4.15 이상
    • 4.20 이상
    • 5.5 이상
    • 5.11 이상
    • 5.16 이상
    • 5.16 미만
    외 3개 구간 펼치기
    • 6.12.117 이상
    • 6.18.61 이상
    • 7.3.2 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의