lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 09 Nov 2022 20:10:15 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
        pabeni@...hat.com, jacob.e.keller@...el.com
Subject: Re: [PATCH net-next] genetlink: correctly begin the iteration over
 policies

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:

On Tue,  8 Nov 2022 12:41:28 -0800 you wrote:
> The return value from genl_op_iter_init() only tells us if
> there are any policies but to begin the iteration (and therefore
> load the first entry) we need to call genl_op_iter_next().
> Note that it's safe to call genl_op_iter_next() on a family
> with no ops, it will just return false.
> 
> This may lead to various crashes, a warning in
> netlink_policy_dump_get_policy_idx() when policy is not found
> or.. no problem at all if the kmalloc'ed memory happens to be
> zeroed.
> 
> [...]

Here is the summary with links:
  - [net-next] genetlink: correctly begin the iteration over policies
    https://git.kernel.org/netdev/net-next/c/154ba79c9f16

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ