CVE-2026-46041
CVE.org · Publicado
- Status do registro
- Publicado
- Ano do identificador (não é o ano de publicação)
- 2026
- Publicação na fonte
- Atualização na fonte
- Importado pelo cveboard
- Snapshot da fonte
- cve_2026-10-24_midnight_baseline ·
Texto da CNA em inglês
greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames()
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.
Fatos de produtos e versões por escopo
Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.
Exploração desconhecida; este catálogo não avalia exploração.
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
unaffected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 | affected | git | 9f2b87bcdfed55145acbf932dc12f2c057145cad | Indisponível | Nenhuma listada |
| ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 | affected | git | b2801647c203a38e013802e9e9616b5bfac64968 | Indisponível | Nenhuma listada |
| ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 | affected | git | 51667fe2d9294d66e0228b9f51d1f01b6680a641 | Indisponível | Nenhuma listada |
| ec558bbfea671ac020a6dc6be8bf8f0ee556cce0 | affected | git | 6b526dca0966f2370835765019a54319b78fca8d | Indisponível | Nenhuma listada |
Linux
- Fornecedor
- Linux
- Produto
- Linux
- Plataformas
- Desconhecido
- Status padrão
affected
| Versão (version) | Status (status) | Esquema de versões (versionType) | Fim exclusivo (lessThan) | Fim inclusivo (lessThanOrEqual) | Mudanças de status (at → status) |
|---|---|---|---|---|---|
| 6.7 | affected | Indisponível | Indisponível | Indisponível | Nenhuma listada |
| 0 | unaffected | semver | 6.7 | Indisponível | Nenhuma listada |
| 6.12.86 | unaffected | semver | Indisponível | 6.12.* | Nenhuma listada |
| 6.18.27 | unaffected | semver | Indisponível | 6.18.* | Nenhuma listada |
| 7.0.4 | unaffected | semver | Indisponível | 7.0.* | Nenhuma listada |
| 7.1 | unaffected | original_commit_for_fix | Indisponível | * | Nenhuma listada |