CVE-2023-52670 json
rpmsg: virtio: Free driver_override when rpmsg_remove()
published 2024-05-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57294
- cvss
- 6.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- Linux Linux 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.76, 6.6.15, 6.7.3, 6.8
- linux linux_kernel 2d27a7b19cb3, 4e6cef3fae5c, 9a416d624e5f, 69ca89d80f2c, 229ce47cbfdc, d5362c37e1f8, dd50fe18c234, f4bb1d5daf77
- linux Debian 12 6.1.76-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52670
- linux Ubuntu 20.04 LTS 5.4.0-181.201
- linux Ubuntu 22.04 LTS 5.15.0-106.116
- linux-aws Ubuntu 20.04 LTS 5.4.0-1124.134
- linux-aws Ubuntu 22.04 LTS 5.15.0-1061.67
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1128.137
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1059.67
- linux-gke Ubuntu 22.04 LTS 5.15.0-1058.63
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1071.76
ubuntu advisories UBUNTU-CVE-2023-52670
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-livepatch-MICRO-6-0-RT_Update_5 Linux Micro 6.1, Linux Micro 6.0 1-1.1
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
suse advisories SUSE-SU-2025:20166-1SUSE-SU-2025:20249-1SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2973-1SUSE-SU-2024:2939-1
- git.kernel.org/stable/c/229ce47cbfdc7d3a9415eb676abbfb77d676cb08 commit
- git.kernel.org/stable/c/dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d commit
- git.kernel.org/stable/c/69ca89d80f2c8a1f5af429b955637beea7eead30 commit
- git.kernel.org/stable/c/2d27a7b19cb354c6d04bcdc9239e261ff29858d6 commit
- git.kernel.org/stable/c/f4bb1d5daf77b1a95a43277268adf0d1430c2346 commit
- git.kernel.org/stable/c/4e6cef3fae5c164968118a13f3fe293700adc81a commit
- git.kernel.org/stable/c/9a416d624e5fb7246ea97c11fbfea7e0e27abf43 commit
- git.kernel.org/stable/c/d5362c37e1f8a40096452fc201c30e705750e687 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52670 updated cvss 5.5
kernel: rpmsg: virtio: Free driver_override when rpmsg_remove()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-15 updated
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
- linux linux_kernel
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/229ce47cbfdc7d3a9415eb676abbfb77d676cb08
patch
-
git.kernel.org
/stable/c/dd50fe18c234bd5ff22f658f4d414e8fa8cd6a5d
patch
-
git.kernel.org
/stable/c/69ca89d80f2c8a1f5af429b955637beea7eead30
patch
-
git.kernel.org
/stable/c/2d27a7b19cb354c6d04bcdc9239e261ff29858d6
patch
-
git.kernel.org
/stable/c/f4bb1d5daf77b1a95a43277268adf0d1430c2346
patch
-
git.kernel.org
/stable/c/4e6cef3fae5c164968118a13f3fe293700adc81a
patch
-
git.kernel.org
/stable/c/9a416d624e5fb7246ea97c11fbfea7e0e27abf43
patch
-
git.kernel.org
/stable/c/d5362c37e1f8a40096452fc201c30e705750e687
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
third-party-advisory
Sources
- CVE List CVE-2023-52670
- NVD CVE-2023-52670
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.