CVE-2026-46041
greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()
Check your servers for CVE-2026-46041
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46041 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.86% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0, before 9f2b87bcdfed55145acbf932dc12f2c057145cad affected from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0, before b2801647c203a38e013802e9e9616b5bfac64968 affected from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0, before 51667fe2d9294d66e0228b9f51d1f01b6680a641 affected from ec558bbfea671ac020a6dc6be8bf8f0ee556cce0, before 6b526dca0966f2370835765019a54319b78fca8d
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.12.86 up to and including 6.12.* unaffected from 6.18.27 up to and including 6.18.* unaffected from 7.0.4 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46041 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46041
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-46041
trivy image --scanners vuln IMAGE | grep CVE-2026-46041
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9f2b87bcdfed55145acbf932dc12f2c057145cad git.kernel.org
- https://git.kernel.org/stable/c/b2801647c203a38e013802e9e9616b5bfac64968 git.kernel.org
- https://git.kernel.org/stable/c/51667fe2d9294d66e0228b9f51d1f01b6680a641 git.kernel.org
- https://git.kernel.org/stable/c/6b526dca0966f2370835765019a54319b78fca8d git.kernel.org
Source: the record CVE-2026-46041 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse