[lvc-project] [PATCH net] mac802154: remove redundant security_enabled assignment

Petr Vaganov petrvaganoff at gmail.com
Fri Nov 20 11:19:14 MSK 2026


You are right on both counts. I'll respin.

[High]: mac802154_set_header_security() never initializes
sec.frame_counter, so ieee802154_hdr_push_sechdr() copies uninitialized
stack bytes on the normal TX path. This is a pre-existing issue, but
worth fixing together. I'll change memset(&hdr.fc, 0, sizeof(hdr.fc))
to memset(&hdr, 0, sizeof(hdr)) in both ieee802154_header_create() and
mac802154_header_create(), which zeros hdr.sec entirely.

[Low]: Will rename to "mac802154: fix uninit-value in
ieee802154_header_create()".

pw-bot: cr

On Wed, Nov 18, 2026 at 9:04 AM <netdev-bot+sashiko at kernel.org> wrote:

> Thank you for your contribution! Sashiko AI review found 2 potential
> issue(s) to consider.
>
> Critical: 0 · High: 1 · Medium: 0 · Low: 1
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [High] The fix relies on an invariant that does not hold.
> - [Low] The subject 'mac802154: remove redundant security_enabled
>   assignment' presents a bug fix as a cleanup.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20261120/a4027da4/attachment.html>


More information about the lvc-project mailing list