NULL pointer dereference in Linux
CVE-2024-26942
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.001 · 4.0th percentile
- Published
- 2024-05-01
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.001, 4.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 25d2ba94005fac18fe68878cddff59a67e115554, 6.8, 0
- Linux Kernel — versions 6.9