{"api_version":"1","generated_at":"2026-11-30T16:19:46+00:00","cve":"CVE-2026-139777","urls":{"html":"https://cve.report/CVE-2026-139777","api":"https://cve.report/api/cve/CVE-2026-139777.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139777","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139777"},"summary":{"title":"remoteproc: xlnx: Initialize mailbox work before requesting channels","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: xlnx: Initialize mailbox work before requesting channels\n\nzynqmp_r5_setup_mbox() installs zynqmp_r5_mb_rx_cb() as the mailbox RX\ncallback before requesting the mailbox channels, but initializes\nipi->mbox_work only after both channels have been requested. Once the RX\nchannel is active, a notification delivered before the late INIT_WORK()\nwould make the callback queue an uninitialized work item.\n\nInitialize the work item before requesting channels. Also drain the work\nbefore freeing the mailbox state, after the channels have been released so\nno new callbacks can queue it. Use the same drain before freeing ipi from\nthe channel request error paths, since the callback is already published\nthere as well.\n\nThis issue was found by our static analysis tool and then confirmed by\nmanual review of the mailbox setup sequence. The callback is published\nbefore the channel requests complete, so the work item should be ready\nbefore the mailbox provider can invoke it.\n\nA QEMU PoC modeled a mailbox notification delivered after the RX callback\nbecame reachable but before the delayed INIT_WORK(). DEBUG_OBJECTS reported\nqueueing an uninitialized work item from the zynqmp_r5_setup_mbox() path.\n\nThis is sent as an RFC because the practical trigger depends on the ZynqMP\nIPI mailbox provider and firmware delivery timing. If the provider cannot\ninvoke the RX callback until after setup returns, this is a defensive\nlifecycle cleanup rather than a reachable race on current systems.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:10","updated_at":"2026-11-30 14:20:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/68e1f11ee053146baf62bfa8891ad4fe17717ff4","name":"https://git.kernel.org/stable/c/68e1f11ee053146baf62bfa8891ad4fe17717ff4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d","name":"https://git.kernel.org/stable/c/5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/206fabdec2299f3f5d5109fec7cc9584c14673d5","name":"https://git.kernel.org/stable/c/206fabdec2299f3f5d5109fec7cc9584c14673d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/878a95a023735eb9555e71379b27c11c34e06ecf","name":"https://git.kernel.org/stable/c/878a95a023735eb9555e71379b27c11c34e06ecf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/af43b5d8e66bc465a980edc298a375acada14213","name":"https://git.kernel.org/stable/c/af43b5d8e66bc465a980edc298a375acada14213","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139777","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139777","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfb28c257b7c515624ba6b163410ceada451bf2 af43b5d8e66bc465a980edc298a375acada14213 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfb28c257b7c515624ba6b163410ceada451bf2 68e1f11ee053146baf62bfa8891ad4fe17717ff4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfb28c257b7c515624ba6b163410ceada451bf2 878a95a023735eb9555e71379b27c11c34e06ecf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfb28c257b7c515624ba6b163410ceada451bf2 206fabdec2299f3f5d5109fec7cc9584c14673d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfb28c257b7c515624ba6b163410ceada451bf2 5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/remoteproc/xlnx_r5_remoteproc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"af43b5d8e66bc465a980edc298a375acada14213","status":"affected","version":"5dfb28c257b7c515624ba6b163410ceada451bf2","versionType":"git"},{"lessThan":"68e1f11ee053146baf62bfa8891ad4fe17717ff4","status":"affected","version":"5dfb28c257b7c515624ba6b163410ceada451bf2","versionType":"git"},{"lessThan":"878a95a023735eb9555e71379b27c11c34e06ecf","status":"affected","version":"5dfb28c257b7c515624ba6b163410ceada451bf2","versionType":"git"},{"lessThan":"206fabdec2299f3f5d5109fec7cc9584c14673d5","status":"affected","version":"5dfb28c257b7c515624ba6b163410ceada451bf2","versionType":"git"},{"lessThan":"5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d","status":"affected","version":"5dfb28c257b7c515624ba6b163410ceada451bf2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/remoteproc/xlnx_r5_remoteproc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.4"},{"lessThan":"6.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: xlnx: Initialize mailbox work before requesting channels\n\nzynqmp_r5_setup_mbox() installs zynqmp_r5_mb_rx_cb() as the mailbox RX\ncallback before requesting the mailbox channels, but initializes\nipi->mbox_work only after both channels have been requested. Once the RX\nchannel is active, a notification delivered before the late INIT_WORK()\nwould make the callback queue an uninitialized work item.\n\nInitialize the work item before requesting channels. Also drain the work\nbefore freeing the mailbox state, after the channels have been released so\nno new callbacks can queue it. Use the same drain before freeing ipi from\nthe channel request error paths, since the callback is already published\nthere as well.\n\nThis issue was found by our static analysis tool and then confirmed by\nmanual review of the mailbox setup sequence. The callback is published\nbefore the channel requests complete, so the work item should be ready\nbefore the mailbox provider can invoke it.\n\nA QEMU PoC modeled a mailbox notification delivered after the RX callback\nbecame reachable but before the delayed INIT_WORK(). DEBUG_OBJECTS reported\nqueueing an uninitialized work item from the zynqmp_r5_setup_mbox() path.\n\nThis is sent as an RFC because the practical trigger depends on the ZynqMP\nIPI mailbox provider and firmware delivery timing. If the provider cannot\ninvoke the RX callback until after setup returns, this is a defensive\nlifecycle cleanup rather than a reachable race on current systems."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:54.584Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/af43b5d8e66bc465a980edc298a375acada14213"},{"url":"https://git.kernel.org/stable/c/68e1f11ee053146baf62bfa8891ad4fe17717ff4"},{"url":"https://git.kernel.org/stable/c/878a95a023735eb9555e71379b27c11c34e06ecf"},{"url":"https://git.kernel.org/stable/c/206fabdec2299f3f5d5109fec7cc9584c14673d5"},{"url":"https://git.kernel.org/stable/c/5ca7dea7cb2e47f42c15ac7206c5e0cba23d292d"}],"title":"remoteproc: xlnx: Initialize mailbox work before requesting channels","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139777","datePublished":"2026-11-30T13:37:54.584Z","dateReserved":"2026-11-30T13:22:15.952Z","dateUpdated":"2026-11-30T13:37:54.584Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:10","lastModifiedDate":"2026-11-30 14:20:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139777","Ordinal":"1","Title":"remoteproc: xlnx: Initialize mailbox work before requesting chan","CVE":"CVE-2026-139777","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139777","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: xlnx: Initialize mailbox work before requesting channels\n\nzynqmp_r5_setup_mbox() installs zynqmp_r5_mb_rx_cb() as the mailbox RX\ncallback before requesting the mailbox channels, but initializes\nipi->mbox_work only after both channels have been requested. Once the RX\nchannel is active, a notification delivered before the late INIT_WORK()\nwould make the callback queue an uninitialized work item.\n\nInitialize the work item before requesting channels. Also drain the work\nbefore freeing the mailbox state, after the channels have been released so\nno new callbacks can queue it. Use the same drain before freeing ipi from\nthe channel request error paths, since the callback is already published\nthere as well.\n\nThis issue was found by our static analysis tool and then confirmed by\nmanual review of the mailbox setup sequence. The callback is published\nbefore the channel requests complete, so the work item should be ready\nbefore the mailbox provider can invoke it.\n\nA QEMU PoC modeled a mailbox notification delivered after the RX callback\nbecame reachable but before the delayed INIT_WORK(). DEBUG_OBJECTS reported\nqueueing an uninitialized work item from the zynqmp_r5_setup_mbox() path.\n\nThis is sent as an RFC because the practical trigger depends on the ZynqMP\nIPI mailbox provider and firmware delivery timing. If the provider cannot\ninvoke the RX callback until after setup returns, this is a defensive\nlifecycle cleanup rather than a reachable race on current systems.","Type":"Description","Title":"remoteproc: xlnx: Initialize mailbox work before requesting chan"}]}}}