CVE-2026-46041greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Analyzed
- Record last updated
- Jun 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 before 9f2b87bcdfed55145acbf932dc12f2c057145cad; from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 before b2801647c203a38e013802e9e9616b5bfac64968; from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 before 51667fe2d9294d66e0228b9f51d1f01b6680a641; from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 before 6b526dca0966f2370835765019a54319b78fca8d | CNA record |
linux linux_kernel linux:linux_kernel | from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4 | NVD |
References
- https://git.kernel.org/stable/c/9f2b87bcdfed55145acbf932dc12f2c057145cadpatch
- https://git.kernel.org/stable/c/b2801647c203a38e013802e9e9616b5bfac64968patch
- https://git.kernel.org/stable/c/51667fe2d9294d66e0228b9f51d1f01b6680a641patch
- https://git.kernel.org/stable/c/6b526dca0966f2370835765019a54319b78fca8dpatch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.