virtio-mmio: don't break lifecycle of vm_dev
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio-mmio: don't break lifecycle of vm_dev vm_dev has a separate lifecycle because it has a 'struct device' embedded. Thus, having a release callback for it is correct. Allocating the vm_dev struct with devres totally breaks this protection, though. Instead of waiting for the vm_dev release callback, the memory is freed when the platform_device is removed. Resulting in a use-after-free when finally the callback is to be called. To easily see the problem, compile the kernel with CONFIG_DEBUG_KOBJECT_RELEASE and unbind with sysfs. The fix is easy, don't use devres in this case. Found during my research about object lifetime problems.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.15 and later | 4.19.293, 5.4.255, 5.10.192, 5.15.128, 6.1.47, 6.4.12, 6.5 | Patch available | CNA |
- Linux VendorLinux Affected 4.15 and later Fixed in 4.19.293, 5.4.255, 5.10.192, 5.15.128, 6.1.47, 6.4.12, 6.5 Patch available CNA
CPE configurations NVD · 15
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15.1 to before 4.19.293; 4.20 to before 5.4.255; 5.5 to before 5.10.192; 5.11 to before 5.15.128; 5.16 to before 6.1.47; 6.2 to before 6.4.12 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:* | 4.15 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:* | 4.15 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:* | 4.15 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc5:*:*:*:*:*:* | 4.15 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc6:*:*:*:*:*:* | 4.15 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:* | 4.15 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc8:*:*:*:*:*:* | 4.15 rc8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc9:*:*:*:*:*:* | 4.15 rc9 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* | 6.5 rc1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.15.1 to before 4.19.293; 4.20 to before 5.4.255; 5.5 to before 5.10.192; 5.11 to before 5.15.128; 5.16 to before 6.1.47; 6.2 to before 6.4.12 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:* Versions 4.15 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:* Versions 4.15 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:* Versions 4.15 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc5:*:*:*:*:*:* Versions 4.15 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc6:*:*:*:*:*:* Versions 4.15 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:* Versions 4.15 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc8:*:*:*:*:*:* Versions 4.15 rc8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc9:*:*:*:*:*:* Versions 4.15 rc9 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* Versions 6.5 rc1 Vulnerable ·Linux
Show 5 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* | 6.5 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* | 6.5 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:* | 6.5 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:* | 6.5 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc6:*:*:*:*:*:* | 6.5 rc6 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* Versions 6.5 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* Versions 6.5 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:* Versions 6.5 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:* Versions 6.5 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc6:*:*:*:*:*:* Versions 6.5 rc6 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.293, 5.4.255, 5.10.192, 5.15.128, 6.1.47, 6.4.12, 6.5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 3 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2023-53515
- 2026-10-03 Alias added: GHSA-h7xx-83rf-fcj5
- 2026-11-05 CISA SSVC decision points changed
References
Patch 7
- https://git.kernel.org/stable/c/97a2d55ead76358245b446efd87818e919196d7a
- https://git.kernel.org/stable/c/b788ad3b2468512339c05f23692e36860264e674
- https://git.kernel.org/stable/c/3ff54d904fafabd0912796785e53cce4e69ca123
- https://git.kernel.org/stable/c/5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e
- https://git.kernel.org/stable/c/af5818c35173e096085c6ae2e3aac605d3d15e41
- https://git.kernel.org/stable/c/2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e
- https://git.kernel.org/stable/c/55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-53515 · CVE Program
- CVE-2023-53515 · NVD
- FIRST EPSS
- GHSA-h7xx-83rf-fcj5 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-53515 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences