# CVE-2022-49460: PM / devfreq: rk3399\_dmc: Disable edev on remove()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T02:13:07.635Z
- **Modified:** 2026-06-17T05:18:06.897Z

## Who should check

- Anyone running Linux \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 664736e2cc09e504ce58ec61164d029d1f2651bb; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a0180e324a9a63de8f770da300477b48cb4a53f1; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 86b091b6894c449d2734de7aa7d79ccb33ffd97d; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< cb1be1d4be18fe286ba5a67d928598378fd7fbe5; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< fb089b6f21de03a685dd31df3789bbb01c59f8e3; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804
- Anyone running Linux 4.9

## 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 \]---

## Affected and fixed versions

- Linux: \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 664736e2cc09e504ce58ec61164d029d1f2651bb; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a0180e324a9a63de8f770da300477b48cb4a53f1; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 86b091b6894c449d2734de7aa7d79ccb33ffd97d; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< cb1be1d4be18fe286ba5a67d928598378fd7fbe5; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< fb089b6f21de03a685dd31df3789bbb01c59f8e3; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49460. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49460.md
Affected: Linux >= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, < 664736e2cc09e504ce58ec61164d029d1f2651bb; >= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, < a0180e324a9a63de8f770da300477b48cb4a53f1; >= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, < 86b091b6894c449d2734de7aa7d79ccb33ffd97d; >= 5a893e31a636cca3798af2d…
Fixed in: Linux 664736e2cc09e504ce58ec61164d029d1f2651bb, Linux 86b091b6894c449d2734de7aa7d79ccb33ffd97d, Linux 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49460 being exploited?

There is no confirmed exploitation: CVE-2022-49460 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49460?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49460?

Linux \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 664736e2cc09e504ce58ec61164d029d1f2651bb; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a0180e324a9a63de8f770da300477b48cb4a53f1; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 86b091b6894c449d2734de7aa7d79ccb33ffd97d; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< cb1be1d4be18fe286ba5a67d928598378fd7fbe5; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< fb089b6f21de03a685dd31df3789bbb01c59f8e3; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef; \>= 5a893e31a636cca3798af2db5aee8d3d144b1e1e, \< 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804; Linux 4.9.

### Is there a fix for CVE-2022-49460?

Yes. Fixed in Linux 664736e2cc09e504ce58ec61164d029d1f2651bb, Linux 86b091b6894c449d2734de7aa7d79ccb33ffd97d, Linux 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804. Upgrade Linux to 2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804 or later.

### How do I check if I'm affected by CVE-2022-49460?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/664736e2cc09e504ce58ec61164d029d1f2651bb>
- patch: <https://git.kernel.org/stable/c/a0180e324a9a63de8f770da300477b48cb4a53f1>
- patch: <https://git.kernel.org/stable/c/86b091b6894c449d2734de7aa7d79ccb33ffd97d>
- patch: <https://git.kernel.org/stable/c/cb1be1d4be18fe286ba5a67d928598378fd7fbe5>
- patch: <https://git.kernel.org/stable/c/fb089b6f21de03a685dd31df3789bbb01c59f8e3>
- patch: <https://git.kernel.org/stable/c/a9c2b23a7ac6ab19214cad8cac8af8608a4d9cef>
- patch: <https://git.kernel.org/stable/c/2fccf9e6050e0e3b8b4cd275d41daf7f7fa22804>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49460>

HTML: <https://flawdb.com/CVE-2022-49460> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49460>
