All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: =?utf-8?q?Alexis_Lothor=C3=A9_=28eBPF_Foundation=29_=3Calexis=2Elothore=40bo?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org,
	=?utf-8?q?otlin=2Ecom=3E?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org
Cc: ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com,
	andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com,
	memxor@gmail.com, song@kernel.org, yonghong.song@linux.dev,
	jolsa@kernel.org, tglx@kernel.org, bp@alien8.de,
	dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com,
	shuah@kernel.org, mingo@redhat.com, andreyknvl@gmail.com,
	emil@etsalapatis.com, ihor.solodrai@linux.dev,
	laoar.shao@gmail.com, ebpf@linuxfoundation.org,
	bastien.curutchet@bootlin.com, thomas.petazzoni@bootlin.com,
	bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH bpf-next v9 0/8] bpf: add support for KASAN checks in JITed programs
Date: Fri, 04 Sep 2026 17:00:23 +0000	[thread overview]
Message-ID: <178854122304.442795.2582545330493893301.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260903-kasan-v9-0-2407fe99255a@bootlin.com>

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu, 03 Sep 2026 15:51:29 +0200 you wrote:
> Hello,
> this is v9 of the series aiming to bring basic support for KASAN checks
> to BPF JITed programs. Among a few minor optimizations, this revision
> fixes some wrong kasan instrumentation on some unwanted stack access
> (stack access ending up being instrumented AND targeting the wrong stack
> offset). To mitigate this risk further, this revision introduces a
> systematic KASAN check skip when (addr_reg == BPF_REG_FP || addr_reg ==
> BPF_REG_PARAMS) in emit_kasan_check. This secondary check (on top of the
> non_stack_access flag), should hopefully prevent the issues raised in
> v8. I've also reworked the emit_st refactoring to realign it with
> BPF_STX management in the x86 JIT compiler, as the "arguments on stack"
> feature made me realize that it could be kept more symmetric with
> BPF_STX; so I've dropped Ihor's Acked-by on this.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v9,1/8] bpf: mark instructions accessing program stack
    https://git.kernel.org/bpf/bpf-next/c/d02bfbc49c8e
  - [bpf-next,v9,2/8] bpf: add BPF_JIT_KASAN for KASAN instrumentation of JITed programs
    https://git.kernel.org/bpf/bpf-next/c/90769ad233ca
  - [bpf-next,v9,3/8] bpf, x86: refactor BPF_ST management in do_jit
    https://git.kernel.org/bpf/bpf-next/c/b3b45e9d72df
  - [bpf-next,v9,4/8] bpf, x86: emit KASAN checks in x86 JITed programs
    https://git.kernel.org/bpf/bpf-next/c/92b73b708b17
  - [bpf-next,v9,5/8] bpf, x86: enable KASAN for JITed programs on x86
    https://git.kernel.org/bpf/bpf-next/c/cfc821c029fd
  - [bpf-next,v9,6/8] selftests/bpf: make cmdline_contains stricter
    https://git.kernel.org/bpf/bpf-next/c/040ef1f8b02e
  - [bpf-next,v9,7/8] selftests/bpf: add helpers for KASAN in JIT testing
    https://git.kernel.org/bpf/bpf-next/c/9123a4d4c4f3
  - [bpf-next,v9,8/8] selftests/bpf: add tests to validate KASAN on JIT programs
    https://git.kernel.org/bpf/bpf-next/c/2cbbb035977a

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



      parent reply	other threads:[~2026-09-04 17:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 13:51 [PATCH bpf-next v9 0/8] bpf: add support for KASAN checks in JITed programs Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 1/8] bpf: mark instructions accessing program stack Alexis Lothoré (eBPF Foundation)
2026-09-03 15:18   ` bot+bpf-ci
2026-09-03 13:51 ` [PATCH bpf-next v9 2/8] bpf: add BPF_JIT_KASAN for KASAN instrumentation of JITed programs Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 3/8] bpf, x86: refactor BPF_ST management in do_jit Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 4/8] bpf, x86: emit KASAN checks in x86 JITed programs Alexis Lothoré (eBPF Foundation)
2026-09-03 15:18   ` bot+bpf-ci
2026-09-03 13:51 ` [PATCH bpf-next v9 5/8] bpf, x86: enable KASAN for JITed programs on x86 Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 6/8] selftests/bpf: make cmdline_contains stricter Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 7/8] selftests/bpf: add helpers for KASAN in JIT testing Alexis Lothoré (eBPF Foundation)
2026-09-03 13:51 ` [PATCH bpf-next v9 8/8] selftests/bpf: add tests to validate KASAN on JIT programs Alexis Lothoré (eBPF Foundation)
2026-09-03 14:10   ` sashiko-bot
2026-09-04  9:02 ` [PATCH bpf-next v9 0/8] bpf: add support for KASAN checks in JITed programs Kumar Kartikeya Dwivedi
2026-09-04 17:00 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178854122304.442795.2582545330493893301.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc==?utf-8?q?Alexis_Lothor=C3=A9_=28eBPF_Foundation=29_=3Calexis=2Elothore=40bo?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org \
    --cc==?utf-8?q?otlin=2Ecom=3E?=@aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org \
    --cc=andreyknvl@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bastien.curutchet@bootlin.com \
    --cc=bp@alien8.de \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=dave.hansen@linux.intel.com \
    --cc=ebpf@linuxfoundation.org \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=hpa@zytor.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=laoar.shao@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=mingo@redhat.com \
    --cc=shuah@kernel.org \
    --cc=song@kernel.org \
    --cc=tglx@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=x86@kernel.org \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.