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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220603015225.lc4q3vkmsfnkgdq2@kafai-mbp>
Date:   Thu, 2 Jun 2022 18:52:25 -0700
From:   Martin KaFai Lau <kafai@...com>
To:     Stanislav Fomichev <sdf@...gle.com>
Cc:     netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...nel.org,
        daniel@...earbox.net, andrii@...nel.org
Subject: Re: [PATCH bpf-next v8 11/11] selftests/bpf: verify lsm_cgroup
 struct sock access

On Wed, Jun 01, 2022 at 12:02:18PM -0700, Stanislav Fomichev wrote:
> sk_priority & sk_mark are writable, the rest is readonly.
> 
> One interesting thing here is that the verifier doesn't
> really force me to add NULL checks anywhere :-/
Are you aware if it is possible to get a NULL sk from some of the
bpf_lsm hooks ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ