CVE-2022-49460
PM / devfreq: rk3399_dmc: Disable edev on remove()
Check your servers for CVE-2022-49460
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-49460 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:
PM / devfreq: rk3399_dmc: Disable edev on remove()
Otherwise we hit an unablanced enable-count when unbinding the DFI device:
[ 1279.659119] ------------[ cut here ]------------ [ 1279.659179] WARNING: CPU: 2 PID: 5638 at drivers/devfreq/devfreq-event.c:360 devfreq_event_remove_edev+0x84/0x8c ... [ 1279.659352] Hardware name: Google Kevin (DT) [ 1279.659363] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO BTYPE=--) [ 1279.659371] pc : devfreq_event_remove_edev+0x84/0x8c [ 1279.659380] lr : devm_devfreq_event_release+0x1c/0x28 ... [ 1279.659571] Call trace: [ 1279.659582] devfreq_event_remove_edev+0x84/0x8c [ 1279.659590] devm_devfreq_event_release+0x1c/0x28 [ 1279.659602] release_nodes+0x1cc/0x244 [ 1279.659611] devres_release_all+0x44/0x60 [ 1279.659621] device_release_driver_internal+0x11c/0x1ac [ 1279.659629] device_driver_detach+0x20/0x2c [ 1279.659641] unbind_store+0x7c/0xb0 [ 1279.659650] drv_attr_store+0x2c/0x40 [ 1279.659663] sysfs_kf_write+0x44/0x58 [ 1279.659672] kernfs_fop_write_iter+0xf4/0x190 [ 1279.659684] vfs_write+0x2b0/0x2e4 [ 1279.659693] ksys_write+0x80/0xec [ 1279.659701] __arm64_sys_write+0x24/0x30 [ 1279.659714] el0_svc_common+0xf0/0x1d8 [ 1279.659724] do_el0_svc_compat+0x28/0x3c [ 1279.659738] el0_svc_compat+0x10/0x1c [ 1279.659746] el0_sync_compat_handler+0xa8/0xcc [ 1279.659758] el0_sync_compat+0x188/0x1c0 [ 1279.659768] ---[ end trace cec200e5094155b4 ]---
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before 664736e2cc09e504ce58ec61164d029d1f2651bb affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before a0180e324a9a63de8f770da300477b48cb4a53f1 affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before 86b091b6894c449d2734de7aa7d79ccb33ffd97d affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before cb1be1d4be18fe286ba5a67d928598378fd7fbe5 affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before fb089b6f21de03a685dd31df3789bbb01c59f8e3 affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef affected from 5a893e31a636cca3798af2db5aee8d3d144b1e1e, before 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 4.19.247 up to and including 4.19.* unaffected from 5.4.198 up to and including 5.4.* unaffected from 5.10.121 up to and including 5.10.* unaffected from 5.15.46 up to and including 5.15.* unaffected from 5.17.14 up to and including 5.17.* unaffected from 5.18.3 up to and including 5.18.* unaffected 5.19 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-49460 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49460
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-49460
trivy image --scanners vuln IMAGE | grep CVE-2022-49460
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/664736e2cc09e504ce58ec61164d029d1f2651bb git.kernel.org
- https://git.kernel.org/stable/c/a0180e324a9a63de8f770da300477b48cb4a53f1 git.kernel.org
- https://git.kernel.org/stable/c/86b091b6894c449d2734de7aa7d79ccb33ffd97d git.kernel.org
- https://git.kernel.org/stable/c/cb1be1d4be18fe286ba5a67d928598378fd7fbe5 git.kernel.org
- https://git.kernel.org/stable/c/fb089b6f21de03a685dd31df3789bbb01c59f8e3 git.kernel.org
- https://git.kernel.org/stable/c/a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef git.kernel.org
- https://git.kernel.org/stable/c/2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804 git.kernel.org
Source: the record CVE-2022-49460 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse