CVE-2022-50473

Source
https://cve.org/CVERecord?id=CVE-2022-50473
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50473.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50473
Downstream
DEBIAN (1)
RHSA (3)
UBUNTU (1)
Published
2025-10-04T15:16:34Z
Modified
2026-10-08T02:47:50Z
Summary
cpufreq: Init completion before kobject_init_and_add()
Details

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

cpufreq: Init completion before kobject_init_and_add()

In cpufreq_policy_alloc(), it will call uninitialed completion in cpufreq_sysfs_release() when kobject_init_and_add() fails. And that will cause a crash such as the following page fault in complete:

BUG: unable to handle page fault for address: fffffffffffffff8 [..] RIP: 0010:complete+0x98/0x1f0 [..] Call Trace: kobject_put+0x1be/0x4c0 cpufreq_online.cold+0xee/0x1fd cpufreq_add_dev+0x183/0x1e0 subsys_interface_register+0x3f5/0x4e0 cpufreq_register_driver+0x3b7/0x670 acpi_cpufreq_init+0x56c/0x1000 [acpi_cpufreq] do_one_initcall+0x13d/0x780 do_init_module+0x1c3/0x630 load_module+0x6e67/0x73b0 __do_sys_finit_module+0x181/0x240 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50473.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4ebe36c94aed95de71a8ce6a6762226d31c938ee
Fixed
3cdd91a9163248935720927531066b74f57aa43b
Fixed
e379b88a8f8cffc99b318e028705ed9e3da0e1e0
Fixed
8fb4c98f20dfca1237de2e3dfdbe78d156784fd3
Fixed
d88540acfc7a17079021d866de914112c396edb1
Fixed
e7c0c943ed675b66d4bbb16c51c6a3bb58da047e
Fixed
5c51054896bcce1d33d39fead2af73fec24f40b6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.1.6
Fixed
5.2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e977b1477a6725868302957e6b5c330220391797

Affected versions

v5.*
v5.1.10
v5.1.11
v5.1.12
v5.1.13
v5.1.14
v5.1.15
v5.1.16
v5.1.17
v5.1.18
v5.1.19
v5.1.20
v5.1.21
v5.1.6
v5.1.7
v5.1.8
v5.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50473.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.87
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.18
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50473.json"