From: Miquel Raynal <miquel.raynal@bootlin•com>
To: Kathara Sasikumar <katharasasikumar007@gmail•com>
Cc: alex.aring@gmail•com, stefan@datenfreihafen•org,
davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
pabeni@redhat•com, horms@kernel•org,
linux-wpan@vger•kernel.org, netdev@vger•kernel.org,
linux-kernel@vger•kernel.org, shuah@kernel•org,
skhan@linuxfoundation•org,
syzbot+60a66d44892b66b56545@syzkaller•appspotmail.com
Subject: Re: [PATCH] mac802154: fix uninitialized security header fields
Date: Thu, 08 Jan 2026 18:21:07 +0100 [thread overview]
Message-ID: <87o6n4xbp8.fsf@bootlin.com> (raw)
In-Reply-To: <20251214001338.1127132-2-katharasasikumar007@gmail.com> (Kathara Sasikumar's message of "Sun, 14 Dec 2025 00:13:39 +0000")
Hello,
On 14/12/2025 at 00:13:39 GMT, Kathara Sasikumar <katharasasikumar007@gmail•com> wrote:
> KMSAN reported an uninitialized-value access in
> ieee802154_hdr_push_sechdr(). This happened because
> mac802154_set_header_security() allowed frames with cb->secen=1 but
> LLSEC disabled when secen_override=0, leaving parts of the security
> header uninitialized.
>
> Fix the validation so security-enabled frames are rejected whenever
> LLSEC is disabled, regardless of secen_override. Also clear the full
> header struct in the header creation functions to avoid partial
> initialization.
>
> Reported-by: syzbot+60a66d44892b66b56545@syzkaller•appspotmail.com
> Tested-by: syzbot+60a66d44892b66b56545@syzkaller•appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=60a66d44892b66b56545
> Signed-off-by: Kathara Sasikumar <katharasasikumar007@gmail•com>
> ---
For what I understand... :-)
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin•com>
Thanks,
Miquèl
prev parent reply other threads:[~2026-01-08 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-14 0:13 [PATCH] mac802154: fix uninitialized security header fields Kathara Sasikumar
2026-01-08 17:21 ` Miquel Raynal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o6n4xbp8.fsf@bootlin.com \
--to=miquel.raynal@bootlin$(echo .)com \
--cc=alex.aring@gmail$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=katharasasikumar007@gmail$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-wpan@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=shuah@kernel$(echo .)org \
--cc=skhan@linuxfoundation$(echo .)org \
--cc=stefan@datenfreihafen$(echo .)org \
--cc=syzbot+60a66d44892b66b56545@syzkaller$(echo .)appspotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox