# CVE-2022-48759: rpmsg: char: Fix race between the release of rpmsg\_ctrldev and cdev

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-362, CWE-416
- **Published:** 2024-06-20T11:13:37.872Z
- **Modified:** 2026-08-05T08:52:09.934Z

## Who should check

- Anyone running Linux \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 74d85e9fbc7022a4011102c7474a9c7aeb704a35; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 70cb4295ec806b663665e1d2ed15caab6159880e; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< da27b834c1e0222e149e06caddf7718478086d1b; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 1dbb206730f3e5ce90014ad569ddf8167ec4124a; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 85aba11a8ea92a8eef2de95ebbe063086fd62d9c; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< d6cdc6ae542845d4d0ac8b6d99362bde7042a3c7; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< b7fb2dad571d1e21173c06cef0bced77b323990a
- Anyone running Linux 4.11

## Description

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

rpmsg: char: Fix race between the release of rpmsg\_ctrldev and cdev

struct rpmsg\_ctrldev contains a struct cdev. The current code frees
the rpmsg\_ctrldev struct in rpmsg\_ctrldev\_release\_device(), but the
cdev is a managed object, therefore its release is not predictable
and the rpmsg\_ctrldev could be freed before the cdev is entirely
released, as in the backtrace below.

\[   93.625603\] ODEBUG: free active (active state 0) object type: timer\_list hint: delayed\_work\_timer\_fn+0x0/0x7c
\[   93.636115\] WARNING: CPU: 0 PID: 12 at lib/debugobjects.c:488 debug\_print\_object+0x13c/0x1b0
\[   93.644799\] Modules linked in: veth xt\_cgroup xt\_MASQUERADE rfcomm algif\_hash algif\_skcipher af\_alg uinput ip6table\_nat fuse uvcvideo videobuf2\_vmalloc venus\_enc venus\_dec videobuf2\_dma\_contig hci\_uart btandroid btqca snd\_soc\_rt5682\_i2c bluetooth qcom\_spmi\_temp\_alarm snd\_soc\_rt5682v
\[   93.715175\] CPU: 0 PID: 12 Comm: kworker/0:1 Tainted: G    B             5.4.163-lockdep \#26
\[   93.723855\] Hardware name: Google Lazor (rev3 - 8) with LTE (DT)
\[   93.730055\] Workqueue: events kobject\_delayed\_cleanup
\[   93.735271\] pstate: 60c00009 (nZCv daif +PAN +UAO)
\[   93.740216\] pc : debug\_print\_object+0x13c/0x1b0
\[   93.744890\] lr : debug\_print\_object+0x13c/0x1b0
\[   93.749555\] sp : ffffffacf5bc7940
\[   93.752978\] x29: ffffffacf5bc7940 x28: dfffffd000000000
\[   93.758448\] x27: ffffffacdb11a800 x26: dfffffd000000000
\[   93.763916\] x25: ffffffd0734f856c x24: dfffffd000000000
\[   93.769389\] x23: 0000000000000000 x22: ffffffd0733c35b0
\[   93.774860\] x21: ffffffd0751994a0 x20: ffffffd075ec27c0
\[   93.780338\] x19: ffffffd075199100 x18: 00000000000276e0
\[   93.785814\] x17: 0000000000000000 x16: dfffffd000000000
\[   93.791291\] x15: ffffffffffffffff x14: 6e6968207473696c
\[   93.796768\] x13: 0000000000000000 x12: ffffffd075e2b000
\[   93.802244\] x11: 0000000000000001 x10: 0000000000000000
\[   93.807723\] x9 : d13400dff1921900 x8 : d13400dff1921900
\[   93.813200\] x7 : 0000000000000000 x6 : 0000000000000000
\[   93.818676\] x5 : 0000000000000080 x4 : 0000000000000000
\[   93.824152\] x3 : ffffffd0732a0fa4 x2 : 0000000000000001
\[   93.829628\] x1 : ffffffacf5bc7580 x0 : 0000000000000061
\[   93.835104\] Call trace:
\[   93.837644\]  debug\_print\_object+0x13c/0x1b0
\[   93.841963\]  \_\_debug\_check\_no\_obj\_freed+0x25c/0x3c0
\[   93.846987\]  debug\_check\_no\_obj\_freed+0x18/0x20
\[   93.851669\]  slab\_free\_freelist\_hook+0xbc/0x1e4
\[   93.856346\]  kfree+0xfc/0x2f4
\[   93.859416\]  rpmsg\_ctrldev\_release\_device+0x78/0xb8
\[   93.864445\]  device\_release+0x84/0x168
\[   93.868310\]  kobject\_cleanup+0x12c/0x298
\[   93.872356\]  kobject\_delayed\_cleanup+0x10/0x18
\[   93.876948\]  process\_one\_work+0x578/0x92c
\[   93.881086\]  worker\_thread+0x804/0xcf8
\[   93.884963\]  kthread+0x2a8/0x314
\[   93.888303\]  ret\_from\_fork+0x10/0x18

The cdev\_device\_add/del() API was created to address this issue (see
commit '233ed09d7fda ("chardev: add helper function to register char
devs with a struct device")'), use it instead of cdev add/del().

## Affected and fixed versions

- Linux: \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 74d85e9fbc7022a4011102c7474a9c7aeb704a35; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 70cb4295ec806b663665e1d2ed15caab6159880e; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< da27b834c1e0222e149e06caddf7718478086d1b; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 1dbb206730f3e5ce90014ad569ddf8167ec4124a; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 85aba11a8ea92a8eef2de95ebbe063086fd62d9c; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< d6cdc6ae542845d4d0ac8b6d99362bde7042a3c7; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< b7fb2dad571d1e21173c06cef0bced77b323990a (cvelist)
- Linux: 4.11 (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-48759. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48759.md
Affected: Linux >= c0cdc19f84a4712cf74888f83af286e3c2e14efd, < 74d85e9fbc7022a4011102c7474a9c7aeb704a35; >= c0cdc19f84a4712cf74888f83af286e3c2e14efd, < 70cb4295ec806b663665e1d2ed15caab6159880e; >= c0cdc19f84a4712cf74888f83af286e3c2e14efd, < da27b834c1e0222e149e06caddf7718478086d1b; >= c0cdc19f84a4712cf74888f…
Fixed in: Linux 74d85e9fbc7022a4011102c7474a9c7aeb704a35, Linux 70cb4295ec806b663665e1d2ed15caab6159880e, Linux 1dbb206730f3e5ce90014ad569ddf8167ec4124a, Linux 85aba11a8ea92a8eef2de95ebbe063086fd62d9c

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 74d85e9fbc7022a4011102c7474a9c7aeb704a35; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 70cb4295ec806b663665e1d2ed15caab6159880e; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< da27b834c1e0222e149e06caddf7718478086d1b; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 1dbb206730f3e5ce90014ad569ddf8167ec4124a; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< 85aba11a8ea92a8eef2de95ebbe063086fd62d9c; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< d6cdc6ae542845d4d0ac8b6d99362bde7042a3c7; \>= c0cdc19f84a4712cf74888f83af286e3c2e14efd, \< b7fb2dad571d1e21173c06cef0bced77b323990a; Linux 4.11.

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

Yes. Fixed in Linux 74d85e9fbc7022a4011102c7474a9c7aeb704a35, Linux 70cb4295ec806b663665e1d2ed15caab6159880e, Linux 1dbb206730f3e5ce90014ad569ddf8167ec4124a, Linux 85aba11a8ea92a8eef2de95ebbe063086fd62d9c. No fix listed yet: follow the vendor advisory.

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

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/74d85e9fbc7022a4011102c7474a9c7aeb704a35>
- patch: <https://git.kernel.org/stable/c/70cb4295ec806b663665e1d2ed15caab6159880e>
- patch: <https://git.kernel.org/stable/c/da27b834c1e0222e149e06caddf7718478086d1b>
- patch: <https://git.kernel.org/stable/c/1dbb206730f3e5ce90014ad569ddf8167ec4124a>
- patch: <https://git.kernel.org/stable/c/85aba11a8ea92a8eef2de95ebbe063086fd62d9c>
- patch: <https://git.kernel.org/stable/c/d6cdc6ae542845d4d0ac8b6d99362bde7042a3c7>
- patch: <https://git.kernel.org/stable/c/b7fb2dad571d1e21173c06cef0bced77b323990a>

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

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