CVE-2023-52670
rpmsg: virtio: Free driver_override when rpmsg_remove()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 229ce47cbfdc7d3a9415eb676abbfb77d676cb08; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 69ca89d80f2c8a1f5af429b955637beea7eead30; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 2d27a7b19cb354c6d04bcdc9239e261ff29858d6; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < f4bb1d5daf77b1a95a43277268adf0d1430c2346; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 4e6cef3fae5c164968118a13f3fe293700adc81a; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 9a416d624e5fb7246ea97c11fbfea7e0e27abf43; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < d5362c37e1f8a40096452fc201c30e705750e687
- Anyone running Linux 4.13
Vulnerability facts
- Affected
- Linux >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 229ce47cbfdc7d3a9415eb676abbfb77d676cb08; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 69ca89d80f2c8a1f5af429b955637beea7eead30; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 2d27a7b19cb354c6d04bcdc9239e261ff29858d6; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < f4bb1d5daf77b1a95a43277268adf0d1430c2346; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 4e6cef3fae5c164968118a13f3fe293700adc81a; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 9a416d624e5fb7246ea97c11fbfea7e0e27abf43; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < d5362c37e1f8a40096452fc201c30e705750e687; Linux 4.13
- Fixed in
- Linux 229ce47cbfdc7d3a9415eb676abbfb77d676cb08, Linux 69ca89d80f2c8a1f5af429b955637beea7eead30, Linux 2d27a7b19cb354c6d04bcdc9239e261ff29858d6, Linux 4e6cef3fae5c164968118a13f3fe293700adc81a, Linux 9a416d624e5fb7246ea97c11fbfea7e0e27abf43
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.6 (v3.1, CNA)CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Physical
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rpmsg: virtio: Free driver_override when rpmsg_remove() Free driver_override when rpmsg_remove(), otherwise the following memory leak will occur: unreferenced object 0xffff0000d55d7080 (size 128): comm "kworker/u8:2", pid 56, jiffies 4294893188 (age 214.272s) hex dump (first 32 bytes): 72 70 6d 73 67 5f 6e 73 00 00 00 00 00 00 00 00 rpmsg_ns........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000009c94c9c1>] __kmem_cache_alloc_node+0x1f8/0x320 [<000000002300d89b>] __kmalloc_node_track_caller+0x44/0x70 [<00000000228a60c3>] kstrndup+0x4c/0x90 [<0000000077158695>] driver_set_override+0xd0/0x164 [<000000003e9c4ea5>] rpmsg_register_device_override+0x98/0x170 [<000000001c0c89a8>] rpmsg_ns_register_device+0x24/0x30 [<000000008bbf8fa2>] rpmsg_probe+0x2e0/0x3ec [<00000000e65a68df>] virtio_dev_probe+0x1c0/0x280 [<00000000443331cc>] really_probe+0xbc/0x2dc [<00000000391064b1>] __driver_probe_device+0x78/0xe0 [<00000000a41c9a5b>] driver_probe_device+0xd8/0x160 [<000000009c3bd5df>] __device_attach_driver+0xb8/0x140 [<0000000043cd7614>] bus_for_each_drv+0x7c/0xd4 [<000000003b929a36>] __device_attach+0x9c/0x19c [<00000000a94e0ba8>] device_initial_probe+0x14/0x20 [<000000003c999637>] bus_probe_device+0xa0/0xac
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 229ce47cbfdc7d3a9415eb676abbfb77d676cb08; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 69ca89d80f2c8a1f5af429b955637beea7eead30; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 2d27a7b19cb354c6d04bcdc9239e261ff29858d6; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < f4bb1d5daf77b1a95a43277268adf0d1430c2346; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 4e6cef3fae5c164968118a13f3fe293700adc81a; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 9a416d624e5fb7246ea97c11fbfea7e0e27abf43; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < d5362c37e1f8a40096452fc201c30e705750e687 | — | cvelist |
| Linux | 4.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52670. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52670.md Affected: Linux >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 229ce47cbfdc7d3a9415eb676abbfb77d676cb08; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 69ca89d80f2c8a1f5af429b955637beea7eead30; >= b0b03b8119633de0649da9b… Fixed in: Linux 229ce47cbfdc7d3a9415eb676abbfb77d676cb08, Linux 69ca89d80f2c8a1f5af429b955637beea7eead30, Linux 2d27a7b19cb354c6d04bcdc9239e261ff29858d6, Linux 4e6cef3fae5c164968118a13f3fe293700adc81a, Linux 9a416d624e5fb7246ea97c11fbfea7e0e27abf43 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.
References
Patches
- https://git.kernel.org/stable/c/229ce47cbfdc7d3a9415eb676abbfb77d676cb08
- https://git.kernel.org/stable/c/dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d
- https://git.kernel.org/stable/c/69ca89d80f2c8a1f5af429b955637beea7eead30
- https://git.kernel.org/stable/c/2d27a7b19cb354c6d04bcdc9239e261ff29858d6
- https://git.kernel.org/stable/c/f4bb1d5daf77b1a95a43277268adf0d1430c2346
- https://git.kernel.org/stable/c/4e6cef3fae5c164968118a13f3fe293700adc81a
- https://git.kernel.org/stable/c/9a416d624e5fb7246ea97c11fbfea7e0e27abf43
- https://git.kernel.org/stable/c/d5362c37e1f8a40096452fc201c30e705750e687
FAQ
Is CVE-2023-52670 being exploited?
There is no confirmed exploitation: CVE-2023-52670 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52670?
Medium: CVSS 6.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-52670?
Linux >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 229ce47cbfdc7d3a9415eb676abbfb77d676cb08; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 69ca89d80f2c8a1f5af429b955637beea7eead30; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 2d27a7b19cb354c6d04bcdc9239e261ff29858d6; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < f4bb1d5daf77b1a95a43277268adf0d1430c2346; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 4e6cef3fae5c164968118a13f3fe293700adc81a; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < 9a416d624e5fb7246ea97c11fbfea7e0e27abf43; >= b0b03b8119633de0649da9bd506e4850c401ff2b, < d5362c37e1f8a40096452fc201c30e705750e687; Linux 4.13.
Is there a fix for CVE-2023-52670?
Yes. Fixed in Linux 229ce47cbfdc7d3a9415eb676abbfb77d676cb08, Linux 69ca89d80f2c8a1f5af429b955637beea7eead30, Linux 2d27a7b19cb354c6d04bcdc9239e261ff29858d6, Linux 4e6cef3fae5c164968118a13f3fe293700adc81a, Linux 9a416d624e5fb7246ea97c11fbfea7e0e27abf43. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-52670?
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.