CVE-2022-50473
cpufreq: Init completion before kobject_init_and_add()
Check your servers for CVE-2022-50473
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50473 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.43% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before 3cdd91a9163248935720927531066b74f57aa43b affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before e379b88a8f8cffc99b318e028705ed9e3da0e1e0 affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before 8fb4c98f20dfca1237de2e3dfdbe78d156784fd3 affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before d88540acfc7a17079021d866de914112c396edb1 affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before e7c0c943ed675b66d4bbb16c51c6a3bb58da047e affected from 4ebe36c94aed95de71a8ce6a6762226d31c938ee, before 5c51054896bcce1d33d39fead2af73fec24f40b6 affected e977b1477a6725868302957e6b5c330220391797 affected from 5.1.6, before 5.2
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.87 up to and including 5.15.* unaffected from 6.0.18 up to and including 6.0.* unaffected from 6.1.4 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50473 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50473
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50473
trivy image --scanners vuln IMAGE | grep CVE-2022-50473
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3cdd91a9163248935720927531066b74f57aa43b git.kernel.org
- https://git.kernel.org/stable/c/e379b88a8f8cffc99b318e028705ed9e3da0e1e0 git.kernel.org
- https://git.kernel.org/stable/c/8fb4c98f20dfca1237de2e3dfdbe78d156784fd3 git.kernel.org
- https://git.kernel.org/stable/c/d88540acfc7a17079021d866de914112c396edb1 git.kernel.org
- https://git.kernel.org/stable/c/e7c0c943ed675b66d4bbb16c51c6a3bb58da047e git.kernel.org
- https://git.kernel.org/stable/c/5c51054896bcce1d33d39fead2af73fec24f40b6 git.kernel.org
Source: the record CVE-2022-50473 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse