[LTP] [PATCH v2 2/2] cve-2026-31431: Add page cache corruption reproducer
Cyril Hrubis
chrubis@suse.cz
Thu Apr 30 17:46:25 CEST 2026
Hi!
> + TEST(splice(file_fd, &off_in, pipefd[1], NULL, OVERWRITE_SIZE, 0));
> + if (TST_RET < 0)
> + tst_brk(TBROK | TTERRNO, "splice(file -> pipe)");
> +
> + TEST(splice(pipefd[0], NULL, reqfd, NULL, OVERWRITE_SIZE, 0));
> + if (TST_RET < 0)
> + tst_brk(TBROK | TTERRNO, "splice(pipe -> AF_ALG)");
I guess that we should add SAFE_SPLICE() but we can as well do that on
the top of this patch.
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list