Thread (5 messages) flat view 5 messages, 4 authors, 2025-09-14

Re: [PATCH net] rxrpc: Fix untrusted unsigned subtract

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-09-14 20:10:08
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help