CVE Catalog

CVE-2024-27047

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

19th percentile - higher than 19% of all known CVEs

Summary

In the Linux kernel, the phy_get_internal_delay function may attempt to access an empty array when a driver calls it without defining delay_values and rx-internal-delay-ps or tx-internal-delay-ps is set to 0 in the device-tree. This leads to a NULL pointer dereference and kernel oops.

Risk Assessment

A kernel oops may occur, causing system unavailability. The risk affects systems with specific PHY driver and device-tree configurations.

Recommendation

Update the Linux kernel to a version containing the fix for the array size check. Verify device-tree configuration for PHY drivers.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: net: phy: fix phy_get_internal_delay accessing an empty array The phy_get_internal_delay function could try to access to an empty array in the case that the driver is calling phy_get_internal_delay without defining delay_values and rx-internal-delay-ps or tx-internal-delay-ps is defined to 0 in the device-tree. This will lead to "unable to handle kernel NULL pointer dereference at virtual address 0". To avoid this kernel oops, the test should be delay >= 0. As there is already delay < 0 test just before, the test could only be size == 0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS