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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165403681231.3395.15965102902497727563.git-patchwork-notify@kernel.org>
Date:   Tue, 31 May 2022 22:40:12 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Michael Mullin <masmullin@...il.com>
Cc:     ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
        kafai@...com, songliubraving@...com, yhs@...com,
        john.fastabend@...il.com, kpsingh@...nel.org,
        netdev@...r.kernel.org, bpf@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Check for NULL ptr of btf in codegen_asserts

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:

On Mon, 23 May 2022 15:49:17 -0400 you wrote:
> bpf_object__btf() can return a NULL value.  If bpf_object__btf returns
> null, do not progress through codegen_asserts(). This avoids a null ptr
> dereference at the call btf__type_cnt() in the function find_type_for_map()
> 
> Signed-off-by: Michael Mullin <masmullin@...il.com>
> ---
>  tools/bpf/bpftool/gen.c | 3 +++
>  1 file changed, 3 insertions(+)

Here is the summary with links:
  - Check for NULL ptr of btf in codegen_asserts
    https://git.kernel.org/bpf/bpf-next/c/d992a11f1171

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