CVE-2022-49692: net: phy: at803x: fix NULL pointer dereference on AR9331 PHY

Published Feb 26, 2025
·
Updated

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

net: phy: at803x: fix NULL pointer dereference on AR9331 PHY

Latest kernel will explode on the PHY interrupt config, since it depends now on allocated priv. So, run probe to allocate priv to fix it.

ar9331switch ethernet.1:10 lan0 (uninitialized): PHY [!ahb!ethernet@1a000000!mdio!switch@10:00] driver [Qualcomm Atheros AR9331 built-in PHY] (irq=13) CPU 0 Unable to handle kernel paging request at virtual address 0000000a, epc == 8050e8a8, ra == 80504b34 ... Call Trace: [<8050e8a8>] at803xconfigintr+0x5c/0xd0 [<80504b34>] phyrequestinterrupt+0xa8/0xd0 [<8050289c>] phylinkbringupphy+0x2d8/0x3ac [<80502b68>] phylinkfwnodephyconnect+0x118/0x130 [<8074d8ec>] dsaslavecreate+0x270/0x420 [<80743b04>] dsaportsetup+0x12c/0x148 [<8074580c>] dsaregisterswitch+0xaf0/0xcc0 [<80511344>] ar9331swprobe+0x370/0x388 [<8050cb78>] mdioprobe+0x44/0x70 [<804df300>] reallyprobe+0x200/0x424 [<804df7b4>] driverprobedevice+0x290/0x298 [<804df810>] driverprobedevice+0x54/0xe4 [<804dfd50>] deviceattachdriver+0xe4/0x130 [<804dcb00>] busforeachdrv+0xb4/0xd8 [<804dfac4>] deviceattach+0x104/0x1a4 [<804ddd24>] busprobedevice+0x48/0xc4 [<804deb44>] deferredprobeworkfunc+0xf0/0x10c [<800a0ffc>] processonework+0x314/0x4d4 [<800a17fc>] workerthread+0x2a4/0x354 [<800a9a54>] kthread+0x134/0x13c [<8006306c>] retfromkernelthread+0x14/0x1c

Same Issue would affect some other PHYs (QCA8081, QCA9561), so fix it too.

Affected Software

5 affected components
Linux Foundation Linux Kernel
Linux Linux kernel>=5.18<5.18.8
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Linux kernel=5.19-rc3

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49692?

CVE-2022-49692 has a severity level that is typically classified as medium due to the potential for a NULL pointer dereference leading to instability.

2

How do I fix CVE-2022-49692?

To fix CVE-2022-49692, ensure you update to a patched version of the Linux kernel that resolves the NULL pointer dereference issue.

3

Which versions of the Linux kernel are affected by CVE-2022-49692?

CVE-2022-49692 affects Linux kernel versions prior to 5.19-rc1, including those in the 5.18.x range.

4

What does CVE-2022-49692 affect specifically within the Linux kernel?

CVE-2022-49692 specifically affects the PHY interrupt configuration in the Linux kernel's handling of the at803x driver.

5

Has CVE-2022-49692 been resolved in recent updates?

Yes, CVE-2022-49692 has been resolved in the latest versions of the Linux kernel following releases that address the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203