CVE-2024-26942

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
01/05/2024
Last modified:
03/07/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net: phy: qcom: at803x: fix kernel panic with at8031_probe<br /> <br /> On reworking and splitting the at803x driver, in splitting function of<br /> at803x PHYs it was added a NULL dereference bug where priv is referenced<br /> before it&amp;#39;s actually allocated and then is tried to write to for the<br /> is_1000basex and is_fiber variables in the case of at8031, writing on<br /> the wrong address.<br /> <br /> Fix this by correctly setting priv local variable only after<br /> at803x_probe is called and actually allocates priv in the phydev struct.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (excluding) 6.8.3 (excluding)
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*