CVE-2024-27047

net: phy: fix phy_get_internal_delay accessing an empty array

State
Published
Severity
Not scored
Published
May 1, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 06dd21045a7e8bc8701b0ebedcd9a30a6325878bAffected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 0e939a002c8a7d66e60bd0ea6b281fb39d713c1aAffected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 2a2ff709511617de9c6c072eeee82bcbbdfecaf8Affected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 589ec16174dd9378953b8232ae76fad0a96e1563Affected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before c0691de7df1d51482a52cac93b7fe82fd9dd296bAffected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 0307cf443308ecc6be9b2ca312bb31bae5e5a7adAffected
  • 92252eec913b2dd5e7b5de11ea3efa2e64d65cf4 to before 4469c0c5b14a0919f5965c7ceac96b523eb57b79Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.