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  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]
Date:   Wed, 02 Dec 2020 20:36:19 -0800
From:   John Fastabend <>
To:     Andrii Nakryiko <>,,,,
        Martin KaFai Lau <>
Subject: RE: [PATCH v5 bpf-next 01/14] bpf: fix bpf_put_raw_tracepoint()'s use
 of __module_address()

Andrii Nakryiko wrote:
> __module_address() needs to be called with preemption disabled or with
> module_mutex taken. preempt_disable() is enough for read-only uses, which is
> what this fix does. Also, module_put() does internal check for NULL, so drop
> it as well.
> Fixes: a38d1107f937 ("bpf: support raw tracepoints in modules")
> Acked-by: Martin KaFai Lau <>
> Signed-off-by: Andrii Nakryiko <>
> ---

Acked-by: John Fastabend <>

Powered by blists - more mailing lists