Skip to content

SPLAT_ALLOWLIST: ignore KASAN-for-JIT selftests splats - #520

Merged
theihor merged 1 commit into
kernel-patches:masterfrom
Tropicao:kasan-selftests-splats-in-allowlist
Aug 27, 2026
Merged

SPLAT_ALLOWLIST: ignore KASAN-for-JIT selftests splats#520
theihor merged 1 commit into
kernel-patches:masterfrom
Tropicao:kasan-selftests-splats-in-allowlist

Conversation

@Tropicao

Copy link
Copy Markdown
Contributor

The KASAN-for-JIT feature introduced in the kernel comes with a wide variety of selftests ensuring that the relevant KASAN instrumentation is correctly emitted in JITed program. The validation of this instrumentation is performed by checking the presence (or absence) of KASAN splats in the kernel logs, which are then picked by the CI splat detector, despite being expected.

Add a list of regex matching all the KASAN splats that can be emitted by the programs involved in KASAN-for-JIT selftests. The added expressions filter on the test programs names, so any other splat is still picked by the splat detector.

Example of a run on the soon-to-be-posted KASAN series v8, with this patch applied on top of my kernel tree, itself based on bpf-next_base

The KASAN-for-JIT feature introduced in the kernel comes with a wide
variety of selftests ensuring that the relevant KASAN instrumentation is
correctly emitted in JITed program. The validation of this
instrumentation is performed by checking the presence (or absence) of
KASAN splats in the kernel logs, which are then picked by the CI splat
detector, despite being expected.

Add a list of regex matching all the KASAN splats that can be emitted by
the programs involved in KASAN-for-JIT selftests. The added expressions
filter on the test programs names, so any other splat is still picked
by the splat detector.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <[email protected]>
@theihor
theihor merged commit 3b7d19e into kernel-patches:master Aug 27, 2026
72 checks passed
@Tropicao
Tropicao deleted the kasan-selftests-splats-in-allowlist branch August 28, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants