CVE-2026-139777
publishedremoteproc: xlnx: Initialize mailbox work before requesting channels
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5dfb28c257b7c515624ba6b163410ceada451bf2 to < af43b5d8e66bc465a980edc298a375acada14213 · 5dfb28c257b7c515624ba6b163410ceada451bf2 to < 68e1f11ee053146baf62bfa8891ad4fe17717ff4 · 5dfb28c257b7c515624ba6b163410ceada451bf2 to < 878a95a023735eb9555e71379b27c11c34e06ecf · 5dfb28c257b7c515624ba6b163410ceada451bf2 to < 206fabdec2299f3f5d5109fec7cc9584c14673d5 · 5dfb28c257b7c515624ba6b163410ceada451bf2 to < 5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: remoteproc: xlnx: Initialize mailbox work before requesting channels zynqmp_r5_setup_mbox() installs zynqmp_r5_mb_rx_cb() as the mailbox RX callback before requesting the mailbox channels, but initializes ipi->mbox_work only after both channels have been requested. Once the RX channel is active, a notification delivered before the late INIT_WORK() would make the callback queue an uninitialized work item. Initialize the work item before requesting channels. Also drain the work before freeing the mailbox state, after the channels have been released so no new callbacks can queue it. Use the same drain before freeing ipi from the channel request error paths, since the callback is already published there as well. This issue was found by our static analysis tool and then confirmed by manual review of the mailbox setup sequence. The callback is published before the channel requests complete, so the work item should be ready before the mailbox provider can invoke it. A QEMU PoC modeled a mailbox notification delivered after the RX callback became reachable but before the delayed INIT_WORK(). DEBUG_OBJECTS reported queueing an uninitialized work item from the zynqmp_r5_setup_mbox() path. This is sent as an RFC because the practical trigger depends on the ZynqMP IPI mailbox provider and firmware delivery timing. If the provider cannot invoke the RX callback until after setup returns, this is a defensive lifecycle cleanup rather than a reachable race on current systems.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5dfb28c257b7c515624ba6b163410ceada451bf2 to < af43b5d8e66bc465a980edc298a375acada14213 (affected · git)5dfb28c257b7c515624ba6b163410ceada451bf2 to < 68e1f11ee053146baf62bfa8891ad4fe17717ff4 (affected · git)5dfb28c257b7c515624ba6b163410ceada451bf2 to < 878a95a023735eb9555e71379b27c11c34e06ecf (affected · git)5dfb28c257b7c515624ba6b163410ceada451bf2 to < 206fabdec2299f3f5d5109fec7cc9584c14673d5 (affected · git)5dfb28c257b7c515624ba6b163410ceada451bf2 to < 5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/206fabdec2299f3f5d5109fec7cc9584c14673d5
- https://git.kernel.org/stable/c/5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d
- https://git.kernel.org/stable/c/68e1f11ee053146baf62bfa8891ad4fe17717ff4
- https://git.kernel.org/stable/c/878a95a023735eb9555e71379b27c11c34e06ecf
- https://git.kernel.org/stable/c/af43b5d8e66bc465a980edc298a375acada14213
Provider assertions
1Linux · cna
remoteproc: xlnx: Initialize mailbox work before requesting channels
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d0bef1ca81e046c48bb74f87ee1d335acd3435493bbedca08322190f8fbc23a
- Ingested
- 30 Nov 2026, 13:43:50 UTC
- Source record
- Official CVE record