NULL pointer dereference in Linux kernel hwmon driver



| Updated: 2025-05-12
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-48942
CWE-ID CWE-476
Exploitation vector Local
Public exploit N/A
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) NULL pointer dereference

EUVDB-ID: #VU96418

Risk: Low

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-48942

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer dereference within the hwmon_thermal_add_sensor() function in drivers/hwmon/hwmon.c. A local user can perform a denial of service (DoS) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: 5.10 - 5.17 rc12

CPE2.3 External links

https://git.kernel.org/stable/c/962b2a3188bfa5388756ffbc47dfa5ff59cb8011
https://git.kernel.org/stable/c/7efe8499cb90651c540753f4269d2d43ede14223
https://git.kernel.org/stable/c/8a1969e14ad93663f9a3ed02ccc2138da9956a0e
https://git.kernel.org/stable/c/1b5f517cca36292076d9e38fa6e33a257703e62e
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.103
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.26
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.12
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###