Re: [PATCH net v1] net: qualcomm: rmnet: fix global oob in rmnet_policy
From: patchwork-bot+netdevbpf
Date: Thu Jan 11 2024 - 19:40:47 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 10 Jan 2024 14:14:00 +0800 you wrote:
> The variable rmnet_link_ops assign a *bigger* maxtype which leads to a
> global out-of-bounds read when parsing the netlink attributes. See bug
> trace below:
>
> ==================================================================
> BUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:386 [inline]
> BUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x24af/0x2750 lib/nlattr.c:600
> Read of size 1 at addr ffffffff92c438d0 by task syz-executor.6/84207
>
> [...]
Here is the summary with links:
- [net,v1] net: qualcomm: rmnet: fix global oob in rmnet_policy
https://git.kernel.org/netdev/net/c/b33fb5b801c6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html