CVE-2022-48972: mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()

Published Oct 21, 2024
·
Updated

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

mac802154: fix missing INITLISTHEAD in ieee802154ifadd()

Kernel fault injection test reports null-ptr-deref as follows:

BUG: kernel NULL pointer dereference, address: 0000000000000008 RIP: 0010:cfg802154netdevnotifiercall+0x120/0x310 include/linux/list.h:114 Call Trace: <TASK> rawnotifiercallchain+0x6d/0xa0 kernel/notifier.c:87 callnetdevicenotifiersinfo+0x6e/0xc0 net/core/dev.c:1944 unregisternetdevicemanynotify+0x60d/0xcb0 net/core/dev.c:1982 unregisternetdevicequeue+0x154/0x1a0 net/core/dev.c:10879 registernetdevice+0x9a8/0xb90 net/core/dev.c:10083 ieee802154ifadd+0x6ed/0x7e0 net/mac802154/iface.c:659 ieee802154registerhw+0x29c/0x330 net/mac802154/main.c:229 mcr20aprobe+0xaaa/0xcb1 drivers/net/ieee802154/mcr20a.c:1316

ieee802154ifadd() allocates wpandev as netdev's private data, but not init the list in struct wpandev. cfg802154netdevnotifiercall() manage the list when device register/unregister, and may lead to null-ptr-deref.

Use INITLISTHEAD() on it to initialize it correctly.

Affected Software

15 affected components
Linux Linux kernel>=3.19<4.9.336
Linux Linux kernel>=4.10<4.14.302
Linux Linux kernel>=4.15<4.19.269
Linux Linux kernel>=4.20<5.4.227
Linux Linux kernel>=5.5<5.10.159
Linux Linux kernel>=5.11<5.15.83
Linux Linux kernel>=5.16<6.0.13
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Linux Linux kernel=6.1-rc5
Linux Linux kernel=6.1-rc6
Linux Linux kernel=6.1-rc7
Linux Linux kernel=6.1-rc8

Event History

Oct 21, 2024
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
Description
Data Sourced
via NVD·08:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2022-48972?

CVE-2022-48972 is classified as a medium severity vulnerability in the Linux kernel that can lead to kernel NULL pointer dereference.

2

How do I fix CVE-2022-48972?

To fix CVE-2022-48972, upgrade your Linux kernel to a version that addresses the vulnerability, as specified in security advisories.

3

What versions of the Linux kernel are affected by CVE-2022-48972?

CVE-2022-48972 affects various versions of the Linux kernel, specifically those from 3.19 to 6.1-rc8.

4

Is CVE-2022-48972 exploitable in production environments?

Yes, CVE-2022-48972 can be exploitable in production environments, potentially leading to system instability.

5

What components are primarily impacted by CVE-2022-48972?

CVE-2022-48972 primarily impacts the mac802154 subsystem in the Linux kernel.

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