# CVE-2026-46123: Bluetooth: virtio\_bt: clamp rx length before skb\_put

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; 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.19% (percentile 5, 2026-11-29)
- **CWE:** CWE-787
- **Published:** 2026-05-28T09:35:38.003Z
- **Modified:** 2026-08-05T12:29:52.762Z

## Who should check

- Anyone running Linux \>= cf2719a21fdb9d4c8e9c834d279163609bef575d, \< 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< fd91fa2678ab603dfb285416c1cf3843d7be1e41; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< ed41c81d30b211a671667259c3b5feeba0e062d5; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 6c1730099a6fc18b183bd6c1adad3b54adcaeda9; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< b40cdd1b1370d76e9e760af4490cb4a351cceead; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< e6b4296f170d949ebba937cf6a3f247ec9550d2c; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 21bd244b6de5d2fe1063c23acc93fbdd2b20d112; 9b67438e315b925a699f0178f4a48baf3d2d6ef4; \>= 5.15.78, \< 5.15.209; \>= 6.0.8, \< 6.1
- Anyone running Linux 6.1

## Description

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

Bluetooth: virtio\_bt: clamp rx length before skb\_put

virtbt\_rx\_work() calls skb\_put(skb, len) where len comes directly
from virtqueue\_get\_buf() with no validation against the buffer we
posted to the device. The RX skb is allocated in virtbt\_add\_inbuf()
and exposed to virtio as exactly 1000 bytes via sg\_init\_one().

Checking len against skb\_tailroom(skb) is not sufficient because
alloc\_skb() can leave more tailroom than the 1000 bytes actually
handed to the device. A malicious or buggy backend can therefore
report used.len between 1001 and skb\_tailroom(skb), causing skb\_put()
to include uninitialized kernel heap bytes that were never written by
the device.

The same path also accepts len == 0, in which case skb\_put(skb, 0)
leaves the skb empty but virtbt\_rx\_handle() still reads the pkt\_type
byte from skb-\>data, consuming uninitialized memory.

Define VIRTBT\_RX\_BUF\_SIZE once and reuse it in alloc\_skb() and
sg\_init\_one(), and gate virtbt\_rx\_work() on that same constant so
the bound checked matches the buffer actually exposed to the device.
Reject used.len == 0 in the same gate so an empty completion can
no longer reach virtbt\_rx\_handle().

Use bt\_dev\_err\_ratelimited() because the length value comes from an
untrusted backend that can otherwise flood the kernel log.

Same class of bug as commit c04db81cd028 ("net/9p: Fix buffer
overflow in USB transport layer"), which hardened the USB 9p
transport against unchecked device-reported length.

## Affected and fixed versions

- Linux: \>= cf2719a21fdb9d4c8e9c834d279163609bef575d, \< 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< fd91fa2678ab603dfb285416c1cf3843d7be1e41; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< ed41c81d30b211a671667259c3b5feeba0e062d5; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 6c1730099a6fc18b183bd6c1adad3b54adcaeda9; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< b40cdd1b1370d76e9e760af4490cb4a351cceead; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< e6b4296f170d949ebba937cf6a3f247ec9550d2c; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 21bd244b6de5d2fe1063c23acc93fbdd2b20d112; 9b67438e315b925a699f0178f4a48baf3d2d6ef4; \>= 5.15.78, \< 5.15.209; \>= 6.0.8, \< 6.1 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46123. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46123.md
Affected: Linux >= cf2719a21fdb9d4c8e9c834d279163609bef575d, < 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a; >= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, < fd91fa2678ab603dfb285416c1cf3843d7be1e41; >= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, < ed41c81d30b211a671667259c3b5feeba0e062d5; >= 160fbcf3bfb93c3c086427f…
Fixed in: Linux 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a, Linux 6c1730099a6fc18b183bd6c1adad3b54adcaeda9, Linux 21bd244b6de5d2fe1063c23acc93fbdd2b20d112, Linux 5.15.209, Linux 6.1

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

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

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

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

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

Linux \>= cf2719a21fdb9d4c8e9c834d279163609bef575d, \< 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< fd91fa2678ab603dfb285416c1cf3843d7be1e41; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< ed41c81d30b211a671667259c3b5feeba0e062d5; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 6c1730099a6fc18b183bd6c1adad3b54adcaeda9; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< b40cdd1b1370d76e9e760af4490cb4a351cceead; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< e6b4296f170d949ebba937cf6a3f247ec9550d2c; \>= 160fbcf3bfb93c3c086427f9f4c8bc70f217e9be, \< 21bd244b6de5d2fe1063c23acc93fbdd2b20d112; 9b67438e315b925a699f0178f4a48baf3d2d6ef4; \>= 5.15.78, \< 5.15.209; \>= 6.0.8, \< 6.1; Linux 6.1.

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

Yes. Fixed in Linux 4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a, Linux 6c1730099a6fc18b183bd6c1adad3b54adcaeda9, Linux 21bd244b6de5d2fe1063c23acc93fbdd2b20d112, Linux 5.15.209, Linux 6.1. Upgrade Linux to 6.1 or later.

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

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/4236e55b2d9d1ffd3b4bdf8ebbb86e5a0a526b4a>
- patch: <https://git.kernel.org/stable/c/fd91fa2678ab603dfb285416c1cf3843d7be1e41>
- patch: <https://git.kernel.org/stable/c/ed41c81d30b211a671667259c3b5feeba0e062d5>
- patch: <https://git.kernel.org/stable/c/6c1730099a6fc18b183bd6c1adad3b54adcaeda9>
- patch: <https://git.kernel.org/stable/c/b40cdd1b1370d76e9e760af4490cb4a351cceead>
- patch: <https://git.kernel.org/stable/c/e6b4296f170d949ebba937cf6a3f247ec9550d2c>
- patch: <https://git.kernel.org/stable/c/21bd244b6de5d2fe1063c23acc93fbdd2b20d112>

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

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