From: Kuniyuki Iwashima <kuni1840@gmail.com>
To: edumazet@google.com
Cc: davem@davemloft.net, eric.dumazet@gmail.com, horms@kernel.org,
kuba@kernel.org, kuniyu@amazon.com,
linux-security-module@vger.kernel.org, netdev@vger.kernel.org,
pabeni@redhat.com, paul@paul-moore.com,
syzkaller@googlegroups.com
Subject: Re: [PATCH net] calipso: unlock rcu before returning -EAFNOSUPPORT
Date: Wed, 4 Jun 2025 08:59:42 -0700 [thread overview]
Message-ID: <20250604155957.45116-1-kuni1840@gmail.com> (raw)
In-Reply-To: <20250604133826.1667664-1-edumazet@google.com>
From: Eric Dumazet <edumazet@google.com>
Date: Wed, 4 Jun 2025 13:38:26 +0000
> syzbot reported that a recent patch forgot to unlock rcu
> in the error path.
>
> Adopt the convention that netlbl_conn_setattr() is already using.
>
> Fixes: 6e9f2df1c550 ("calipso: Don't call calipso functions for AF_INET sk.")
> Reported-by: syzbot <syzkaller@googlegroups.com>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
> Acked-by: Paul Moore <paul@paul-moore.com>
> Cc: linux-security-module@vger.kernel.org
Thanks for cathcing this!
Reviewed-by Kuniyuki Iwashima <kuni1840@gmail.com>
next prev parent reply other threads:[~2025-06-04 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-04 13:38 [PATCH net] calipso: unlock rcu before returning -EAFNOSUPPORT Eric Dumazet
2025-06-04 15:59 ` Kuniyuki Iwashima [this message]
2025-06-05 15:20 ` patchwork-bot+netdevbpf
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=20250604155957.45116-1-kuni1840@gmail.com \
--to=kuni1840@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuniyu@amazon.com \
--cc=linux-security-module@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=paul@paul-moore.com \
--cc=syzkaller@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).