# CVE-2026-46041: linux: In the Linux kernel, the following vulnerability has been resolved:  greybus: gb-beagleplay: fix sleep in atomic cont...

CVE-2026-46041 is fixed in linux on 1 platform, first by DEBIAN-CVE-2026-46041, released May 27, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-46041
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0014
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 27, 2026

## Description

In the Linux kernel, the following vulnerability has been resolved:  greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()  hdlc_append() calls usleep_range() to wait for circular buffer space, but it is called with tx_producer_lock (a spinlock) held via hdlc_tx_frames() -> hdlc_append_tx_frame()/hdlc_append_tx_u8()/etc. Sleeping while holding a spinlock is illegal and can trigger "BUG: scheduling while atomic".  Fix this by moving the buffer-space wait out of hdlc_append() and into hdlc_tx_frames(), before the spinlock is acquired.  The new flow:   1. Pre-calculate the worst-case encoded frame length.  2. Wait (with sleep) outside the lock until enough space is available,     kicking the TX consumer work to drain the buffer.  3. Acquire the spinlock, re-verify space, and write the entire frame     atomically.  This ensures that sleeping only happens without any lock held, and that frames are either fully enqueued or not written at all.  This bug is found by CodeQL static analysis tool (interprocedural sleep-in-atomic query) and my code review.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 13.5 (trixie) | 6.12.86-1 | [DEBIAN-CVE-2026-46041](https://patchblox.com/security/data/fix/linux/debian-cve-2026-46041.md) | May 27, 2026 |
| Linux | linux Debian 14 | 7.0.4-1 | [DEBIAN-CVE-2026-46041](https://patchblox.com/security/data/fix/linux/debian-cve-2026-46041.md) | May 27, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
