From: patchwork-bot+netdevbpf@kernel.org
To: Eric Dumazet <edumazet@google.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
horms@kernel.org, netdev@vger.kernel.org, eric.dumazet@gmail.com,
syzbot+53ecc09fb81df10ef4de@syzkaller.appspotmail.com
Subject: Re: [PATCH v2 net] net/atm: fix slab-out-of-bounds read in vcc_setsockopt()
Date: Thu, 06 Aug 2026 16:50:32 +0000 [thread overview]
Message-ID: <178603503263.1375455.12985449787644738517.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260805131508.3227331-1-edumazet@google.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 5 Aug 2026 13:15:08 +0000 you wrote:
> vcc_setsockopt() contained an ineffective optlen check:
> if (__SO_LEVEL_MATCH(optname, level) && optlen != __SO_SIZE(optname))
> return -EINVAL;
>
> If __SO_LEVEL_MATCH(optname, level) evaluated to false (e.g. if the caller
> passed a mismatched level), the length check optlen != __SO_SIZE(optname)
> was short-circuited and bypassed. Execution then fell through to switch(optname),
> calling copy_from_sockptr() assuming optval contained sufficient space.
>
> [...]
Here is the summary with links:
- [v2,net] net/atm: fix slab-out-of-bounds read in vcc_setsockopt()
https://git.kernel.org/netdev/net/c/d0c80dbb9704
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-08-06 16:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 13:15 [PATCH v2 net] net/atm: fix slab-out-of-bounds read in vcc_setsockopt() Eric Dumazet
2026-08-06 16:50 ` patchwork-bot+netdevbpf [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=178603503263.1375455.12985449787644738517.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=syzbot+53ecc09fb81df10ef4de@syzkaller.appspotmail.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