UBUNTU-CVE-2024-58093

    Dashboard / Vulnerabilities / UBUNTU-CVE-2024-58093

    UBUNTU-CVE-2024-58093

    Published: 16 Apr 2025Last Modified: 3 Sept 2026
    Upstream:
    Aliases:

    Summary:

    Details: In the Linux kernel, the following vulnerability has been resolved: PCI/ASPM: Fix link state exit during switch upstream function removal Before 456d8aa37d0f ("PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free"), we would free the ASPM link only after the last function on the bus pertaining to the given link was removed. That was too late. If function 0 is removed before sibling function, link->downstream would point to free'd memory after. After above change, we freed the ASPM parent link state upon any function removal on the bus pertaining to a given link. That is too early. If the link is to a PCIe switch with MFD on the upstream port, then removing functions other than 0 first would free a link which still remains parent_link to the remaining downstream ports. The resulting GPFs are especially frequent during hot-unplug, because pciehp removes devices on the link bus in reverse order. On that switch, function 0 is the virtual P2P bridge to the internal bus. Free exactly when function 0 is removed -- before the parent link is obsolete, but after all subordinate links are gone. [kwilczynski: commit log]

    References: https://ubuntu.com/security/CVE-2024-58093, https://www.cve.org/CVERecord?id=CVE-2024-58093, https://git.kernel.org/linus/cbf937dcadfd571a434f8074d057b32cd14fbea5, https://git.kernel.org/stable/c/cbf937dcadfd571a434f8074d057b32cd14fbea5, https://ubuntu.com/security/notices/USN-7585-1, https://ubuntu.com/security/notices/USN-7585-2, https://ubuntu.com/security/notices/USN-7591-1, https://ubuntu.com/security/notices/USN-7591-2, https://ubuntu.com/security/notices/USN-7591-3, https://ubuntu.com/security/notices/USN-7592-1, https://ubuntu.com/security/notices/USN-7593-1, https://ubuntu.com/security/notices/USN-7594-1, https://ubuntu.com/security/notices/USN-7591-4, https://ubuntu.com/security/notices/USN-7597-1, https://ubuntu.com/security/notices/USN-7597-2, https://ubuntu.com/security/notices/USN-7598-1, https://ubuntu.com/security/notices/USN-7585-3, https://ubuntu.com/security/notices/USN-7585-4, https://ubuntu.com/security/notices/USN-7594-2, https://ubuntu.com/security/notices/USN-7602-1, https://ubuntu.com/security/notices/USN-7585-5, https://ubuntu.com/security/notices/USN-7605-1, https://ubuntu.com/security/notices/USN-7606-1, https://ubuntu.com/security/notices/USN-7585-6, https://ubuntu.com/security/notices/USN-7591-5, https://ubuntu.com/security/notices/USN-7605-2, https://ubuntu.com/security/notices/USN-7594-3, https://ubuntu.com/security/notices/USN-7628-1, https://ubuntu.com/security/notices/USN-7585-7, https://ubuntu.com/security/notices/USN-7640-1, https://ubuntu.com/security/notices/USN-7591-6, https://ubuntu.com/security/notices/USN-7655-1, https://ubuntu.com/security/notices/USN-7703-1, https://ubuntu.com/security/notices/USN-7703-2, https://ubuntu.com/security/notices/USN-7703-3, https://ubuntu.com/security/notices/USN-7719-1, https://ubuntu.com/security/notices/USN-7703-4, https://ubuntu.com/security/notices/USN-7737-1

    Affected packages

    Package

    Name: linux-hwe-edge

    Purl: pkg:deb/ubuntu/linux-hwe-edge?arch=source&distro=xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    4.8.0-28.30~16.04.1
    4.8.0-30.32~16.04.1
    4.8.0-32.34~16.04.1
    4.8.0-34.36~16.04.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High