# CVE-2026-23046: virtio\_net: fix device mismatch in devm\_kzalloc/devm\_kfree

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-02-04T16:00:28.772Z
- **Modified:** 2026-06-17T10:20:46.073Z

## Who should check

- Anyone running Linux \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< a5e2d902f64c76169c771f584559c82b588090e3; \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< acb4bc6e1ba34ae1a34a9334a1ce8474c909466e
- Anyone running Linux 6.15

## Description

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

virtio\_net: fix device mismatch in devm\_kzalloc/devm\_kfree

Initial rss\_hdr allocation uses virtio\_device-\>device,
but virtnet\_set\_queues() frees using net\_device-\>device.
This device mismatch causing below devres warning

\[ 3788.514041\] ------------\[ cut here \]------------
\[ 3788.514044\] WARNING: drivers/base/devres.c:1095 at devm\_kfree+0x84/0x98, CPU\#16: vdpa/1463
\[ 3788.514054\] Modules linked in: octep\_vdpa virtio\_net virtio\_vdpa \[last unloaded: virtio\_vdpa\]
\[ 3788.514064\] CPU: 16 UID: 0 PID: 1463 Comm: vdpa Tainted: G        W           6.18.0 \#10 PREEMPT
\[ 3788.514067\] Tainted: \[W\]=WARN
\[ 3788.514069\] Hardware name: Marvell CN106XX board (DT)
\[ 3788.514071\] pstate: 63400009 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
\[ 3788.514074\] pc : devm\_kfree+0x84/0x98
\[ 3788.514076\] lr : devm\_kfree+0x54/0x98
\[ 3788.514079\] sp : ffff800084e2f220
\[ 3788.514080\] x29: ffff800084e2f220 x28: ffff0003b2366000 x27: 000000000000003f
\[ 3788.514085\] x26: 000000000000003f x25: ffff000106f17c10 x24: 0000000000000080
\[ 3788.514089\] x23: ffff00045bb8ab08 x22: ffff00045bb8a000 x21: 0000000000000018
\[ 3788.514093\] x20: ffff0004355c3080 x19: ffff00045bb8aa00 x18: 0000000000080000
\[ 3788.514098\] x17: 0000000000000040 x16: 000000000000001f x15: 000000000007ffff
\[ 3788.514102\] x14: 0000000000000488 x13: 0000000000000005 x12: 00000000000fffff
\[ 3788.514106\] x11: ffffffffffffffff x10: 0000000000000005 x9 : ffff800080c8c05c
\[ 3788.514110\] x8 : ffff800084e2eeb8 x7 : 0000000000000000 x6 : 000000000000003f
\[ 3788.514115\] x5 : ffff8000831bafe0 x4 : ffff800080c8b010 x3 : ffff0004355c3080
\[ 3788.514119\] x2 : ffff0004355c3080 x1 : 0000000000000000 x0 : 0000000000000000
\[ 3788.514123\] Call trace:
\[ 3788.514125\]  devm\_kfree+0x84/0x98 (P)
\[ 3788.514129\]  virtnet\_set\_queues+0x134/0x2e8 \[virtio\_net\]
\[ 3788.514135\]  virtnet\_probe+0x9c0/0xe00 \[virtio\_net\]
\[ 3788.514139\]  virtio\_dev\_probe+0x1e0/0x338
\[ 3788.514144\]  really\_probe+0xc8/0x3a0
\[ 3788.514149\]  \_\_driver\_probe\_device+0x84/0x170
\[ 3788.514152\]  driver\_probe\_device+0x44/0x120
\[ 3788.514155\]  \_\_device\_attach\_driver+0xc4/0x168
\[ 3788.514158\]  bus\_for\_each\_drv+0x8c/0xf0
\[ 3788.514161\]  \_\_device\_attach+0xa4/0x1c0
\[ 3788.514164\]  device\_initial\_probe+0x1c/0x30
\[ 3788.514168\]  bus\_probe\_device+0xb4/0xc0
\[ 3788.514170\]  device\_add+0x614/0x828
\[ 3788.514173\]  register\_virtio\_device+0x214/0x258
\[ 3788.514175\]  virtio\_vdpa\_probe+0xa0/0x110 \[virtio\_vdpa\]
\[ 3788.514179\]  vdpa\_dev\_probe+0xa8/0xd8
\[ 3788.514183\]  really\_probe+0xc8/0x3a0
\[ 3788.514186\]  \_\_driver\_probe\_device+0x84/0x170
\[ 3788.514189\]  driver\_probe\_device+0x44/0x120
\[ 3788.514192\]  \_\_device\_attach\_driver+0xc4/0x168
\[ 3788.514195\]  bus\_for\_each\_drv+0x8c/0xf0
\[ 3788.514197\]  \_\_device\_attach+0xa4/0x1c0
\[ 3788.514200\]  device\_initial\_probe+0x1c/0x30
\[ 3788.514203\]  bus\_probe\_device+0xb4/0xc0
\[ 3788.514206\]  device\_add+0x614/0x828
\[ 3788.514209\]  \_vdpa\_register\_device+0x58/0x88
\[ 3788.514211\]  octep\_vdpa\_dev\_add+0x104/0x228 \[octep\_vdpa\]
\[ 3788.514215\]  vdpa\_nl\_cmd\_dev\_add\_set\_doit+0x2d0/0x3c0
\[ 3788.514218\]  genl\_family\_rcv\_msg\_doit+0xe4/0x158
\[ 3788.514222\]  genl\_rcv\_msg+0x218/0x298
\[ 3788.514225\]  netlink\_rcv\_skb+0x64/0x138
\[ 3788.514229\]  genl\_rcv+0x40/0x60
\[ 3788.514233\]  netlink\_unicast+0x32c/0x3b0
\[ 3788.514237\]  netlink\_sendmsg+0x170/0x3b8
\[ 3788.514241\]  \_\_sys\_sendto+0x12c/0x1c0
\[ 3788.514246\]  \_\_arm64\_sys\_sendto+0x30/0x48
\[ 3788.514249\]  invoke\_syscall.constprop.0+0x58/0xf8
\[ 3788.514255\]  do\_el0\_svc+0x48/0xd0
\[ 3788.514259\]  el0\_svc+0x48/0x210
\[ 3788.514264\]  el0t\_64\_sync\_handler+0xa0/0xe8
\[ 3788.514268\]  el0t\_64\_sync+0x198/0x1a0
\[ 3788.514271\] ---\[ end trace 0000000000000000 \]---

Fix by using virtio\_device-\>device consistently for
allocation and deallocation

## Affected and fixed versions

- Linux: \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< a5e2d902f64c76169c771f584559c82b588090e3; \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< acb4bc6e1ba34ae1a34a9334a1ce8474c909466e (cvelist)
- Linux: 6.15 (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-2026-23046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23046.md
Affected: Linux >= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, < a5e2d902f64c76169c771f584559c82b588090e3; >= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, < acb4bc6e1ba34ae1a34a9334a1ce8474c909466e; Linux 6.15
Fixed in: no fixed version listed yet

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-2026-23046 being exploited?

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

### How serious is CVE-2026-23046?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-23046?

Linux \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< a5e2d902f64c76169c771f584559c82b588090e3; \>= 4944be2f5ad8c74b93e4e272f3a0f1a136bbc438, \< acb4bc6e1ba34ae1a34a9334a1ce8474c909466e; Linux 6.15.

### Is there a fix for CVE-2026-23046?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23046?

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

- other: <https://git.kernel.org/stable/c/a5e2d902f64c76169c771f584559c82b588090e3>
- other: <https://git.kernel.org/stable/c/acb4bc6e1ba34ae1a34a9334a1ce8474c909466e>

## 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-2026-23046>

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