CVE-2024-26942

net: phy: qcom: at803x: fix kernel panic with at8031_probe

Medium · published May 1, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
3.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: phy: qcom: at803x: fix kernel panic with at8031_probe

On reworking and splitting the at803x driver, in splitting function of

at803x PHYs it was added a NULL dereference bug where priv is referenced

before it's actually allocated and then is tried to write to for the

is_1000basex and is_fiber variables in the case of at8031, writing on

the wrong address.

Fix this by correctly setting priv local variable only after

at803x_probe is called and actually allocates priv in the phydev struct.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00147 · 3.6th percentile
Published
2024-05-01T05:17Z
EPSS history
Timeline
  • 01 MAY 05:17Z
    net: phy: qcom: at803x: fix kernel panic with at8031_probe
    cvelistv5