]> www.infradead.org Git - users/hch/configfs.git/commit
Merge branch 'bpf-fix-missed-var_off-related-to-movsx-in-verifier'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 17 Jun 2024 17:45:47 +0000 (10:45 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 17 Jun 2024 17:45:56 +0000 (10:45 -0700)
commitbfbcb2c9d2978a28e9f0a77100170dc14fcf7c79
tree9bf05bfc8d552c7b5dff0f0698c96f25cf90009a
parent143492fce36161402fa2f45a0756de7ff69c366a
parenta62293c33b058415237c55058a6d20de313a2e61
Merge branch 'bpf-fix-missed-var_off-related-to-movsx-in-verifier'

Yonghong Song says:

====================
bpf: Fix missed var_off related to movsx in verifier

Zac reported a verification issue ([1]) where verification unexpectedly succeeded.
This is due to missing proper var_off setting in verifier related to
movsx insn. I found another similar issue as well. This patch set fixed
both problems and added three inline asm tests to test these fixes.

  [1] https://lore.kernel.org/bpf/CAADnVQLPU0Shz7dWV4bn2BgtGdxN3uFHPeobGBA72tpg5Xoykw@mail.gmail.com/
====================

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240615174621.3994321-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>