[LTP] [PATCH] cve: add test reproducer for cve-2025-21756
Cyril Hrubis
chrubis@suse.cz
Tue Sep 23 10:03:47 CEST 2025
Hi!
> I guess we need to verify that, if system is not crashed, we should
> check kernel messages in order to find any error. Is there a smart way
> to do it? I could parse data via FILE_LINES_SCANF() macro, but that
> would require multiple iterations. The alternative is just to parse the
> entire /dev/kmsg via read() and to find:
>
> 1. use-after-free message
> 2. test name after it
> 3. failing syscall vsock_release
>
> WDYT? Maybe there are better ways to do it.
We have library functions to watch for kernel taint flags, that should
be enough to detect this.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list