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:   Tue, 08 Dec 2020 03:30:06 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Lukas Bulwahn <lukas.bulwahn@...il.com>
Cc:     ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
        netdev@...r.kernel.org, bpf@...r.kernel.org,
        linux-kernel@...r.kernel.org, kafai@...com, songliubraving@...com,
        yhs@...com, john.fastabend@...il.com, kpsingh@...omium.org,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] bpf: propagate __user annotations properly

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Mon,  7 Dec 2020 13:37:20 +0100 you wrote:
> __htab_map_lookup_and_delete_batch() stores a user pointer in the local
> variable ubatch and uses that in copy_{from,to}_user(), but ubatch misses a
> __user annotation.
> 
> So, sparse warns in the various assignments and uses of ubatch:
> 
>   kernel/bpf/hashtab.c:1415:24: warning: incorrect type in initializer
>     (different address spaces)
>   kernel/bpf/hashtab.c:1415:24:    expected void *ubatch
>   kernel/bpf/hashtab.c:1415:24:    got void [noderef] __user *
> 
> [...]

Here is the summary with links:
  - bpf: propagate __user annotations properly
    https://git.kernel.org/bpf/bpf-next/c/2f4b03195fe8

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