# CVE-2022-49513: cpufreq: governor: Use kobject release() method to free dbs\_data

> 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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-26T02:13:42.759Z
- **Modified:** 2026-06-17T05:18:17.480Z

## Who should check

- Anyone running Linux \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a1964688582d26af1328e19b658933659fb54337; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< 1e32083f327184b6226ce320ef30085ce785ea4e; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a85ee6401a47ae3fc64ba506cacb3e7873823c65
- Anyone running Linux 4.6

## Description

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

cpufreq: governor: Use kobject release() method to free dbs\_data

The struct dbs\_data embeds a struct gov\_attr\_set and
the struct gov\_attr\_set embeds a kobject. Since every kobject must have
a release() method and we can't use kfree() to free it directly,
so introduce cpufreq\_dbs\_data\_release() to release the dbs\_data via
the kobject::release() method. This fixes the calltrace like below:

  ODEBUG: free active (active state 0) object type: timer\_list hint: delayed\_work\_timer\_fn+0x0/0x34
  WARNING: CPU: 12 PID: 810 at lib/debugobjects.c:505 debug\_print\_object+0xb8/0x100
  Modules linked in:
  CPU: 12 PID: 810 Comm: sh Not tainted 5.16.0-next-20220120-yocto-standard+ \#536
  Hardware name: Marvell OcteonTX CN96XX board (DT)
  pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  pc : debug\_print\_object+0xb8/0x100
  lr : debug\_print\_object+0xb8/0x100
  sp : ffff80001dfcf9a0
  x29: ffff80001dfcf9a0 x28: 0000000000000001 x27: ffff0001464f0000
  x26: 0000000000000000 x25: ffff8000090e3f00 x24: ffff80000af60210
  x23: ffff8000094dfb78 x22: ffff8000090e3f00 x21: ffff0001080b7118
  x20: ffff80000aeb2430 x19: ffff800009e8f5e0 x18: 0000000000000000
  x17: 0000000000000002 x16: 00004d62e58be040 x15: 013590470523aff8
  x14: ffff8000090e1828 x13: 0000000001359047 x12: 00000000f5257d14
  x11: 0000000000040591 x10: 0000000066c1ffea x9 : ffff8000080d15e0
  x8 : ffff80000a1765a8 x7 : 0000000000000000 x6 : 0000000000000001
  x5 : ffff800009e8c000 x4 : ffff800009e8c760 x3 : 0000000000000000
  x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0001474ed040
  Call trace:
   debug\_print\_object+0xb8/0x100
   \_\_debug\_check\_no\_obj\_freed+0x1d0/0x25c
   debug\_check\_no\_obj\_freed+0x24/0xa0
   kfree+0x11c/0x440
   cpufreq\_dbs\_governor\_exit+0xa8/0xac
   cpufreq\_exit\_governor+0x44/0x90
   cpufreq\_set\_policy+0x29c/0x570
   store\_scaling\_governor+0x110/0x154
   store+0xb0/0xe0
   sysfs\_kf\_write+0x58/0x84
   kernfs\_fop\_write\_iter+0x12c/0x1c0
   new\_sync\_write+0xf0/0x18c
   vfs\_write+0x1cc/0x220
   ksys\_write+0x74/0x100
   \_\_arm64\_sys\_write+0x28/0x3c
   invoke\_syscall.constprop.0+0x58/0xf0
   do\_el0\_svc+0x70/0x170
   el0\_svc+0x54/0x190
   el0t\_64\_sync\_handler+0xa4/0x130
   el0t\_64\_sync+0x1a0/0x1a4
  irq event stamp: 189006
  hardirqs last  enabled at (189005): \[\<ffff8000080849d0\>\] finish\_task\_switch.isra.0+0xe0/0x2c0
  hardirqs last disabled at (189006): \[\<ffff8000090667a4\>\] el1\_dbg+0x24/0xa0
  softirqs last  enabled at (188966): \[\<ffff8000080106d0\>\] \_\_do\_softirq+0x4b0/0x6a0
  softirqs last disabled at (188957): \[\<ffff80000804a618\>\] \_\_irq\_exit\_rcu+0x108/0x1a4

\[ rjw: Because can be freed by the gov\_attr\_set\_put() in
  cpufreq\_dbs\_governor\_exit() now, it is also necessary to put the
  invocation of the governor -\>exit() callback into the new
  cpufreq\_dbs\_data\_release() function. \]

## Affected and fixed versions

- Linux: \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a1964688582d26af1328e19b658933659fb54337; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< 1e32083f327184b6226ce320ef30085ce785ea4e; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a85ee6401a47ae3fc64ba506cacb3e7873823c65 (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49513.md
Affected: Linux >= c4435630361d9bebf7154a0c842dc1fb7ae39c99, < a1964688582d26af1328e19b658933659fb54337; >= c4435630361d9bebf7154a0c842dc1fb7ae39c99, < 1e32083f327184b6226ce320ef30085ce785ea4e; >= c4435630361d9bebf7154a0c842dc1fb7ae39c99, < a85ee6401a47ae3fc64ba506cacb3e7873823c65; Linux 4.6
Fixed in: Linux 1e32083f327184b6226ce320ef30085ce785ea4e

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-49513 being exploited?

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

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

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

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

Linux \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a1964688582d26af1328e19b658933659fb54337; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< 1e32083f327184b6226ce320ef30085ce785ea4e; \>= c4435630361d9bebf7154a0c842dc1fb7ae39c99, \< a85ee6401a47ae3fc64ba506cacb3e7873823c65; Linux 4.6.

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

Yes. Fixed in Linux 1e32083f327184b6226ce320ef30085ce785ea4e. No fix listed yet: follow the vendor advisory.

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

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/a1964688582d26af1328e19b658933659fb54337>
- patch: <https://git.kernel.org/stable/c/1e32083f327184b6226ce320ef30085ce785ea4e>
- patch: <https://git.kernel.org/stable/c/a85ee6401a47ae3fc64ba506cacb3e7873823c65>

## 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-49513>

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