[PATCH net] rxrpc: Fix untrusted unsigned subtract

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Sep 14 13:10:10 PDT 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Fri, 12 Sep 2025 00:06:17 +0100 you wrote:
> Fix the following Smatch Smatch static checker warning:
> 
>    net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()
>    warn: untrusted unsigned subtract. 'ticket_len - 10 * 4'
> 
> by prechecking the length of what we're trying to extract in two places in
> the token and decoding for a response packet.
> 
> [...]

Here is the summary with links:
  - [net] rxrpc: Fix untrusted unsigned subtract
    https://git.kernel.org/netdev/net/c/2429a1976481

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-afs mailing list