[DTrace-devel] [PATCH 14/20] test: detect strlen corruption of strtab rodata and zeros

Kris Van Hees kris.van.hees at oracle.com
Fri Nov 6 21:26:32 UTC 2026


On Fri, Nov 06, 2026 at 01:10:01PM +0000, Nick Alcock wrote:
> On 30 Oct 2026, Kris Van Hees verbalised:
> 
> > + * ASSERTION: strlen() must not overwrite the IPv6 lookup table in the
> > + *            rodata block of the strtab map.
> 
> ... I'm not surprised you didn't spot this. Who would expect a strlen to
> overwrite anything? But now it works via dt_bpf_probe_read_str, it's
> writing into (a temporary entry in) the strtab as a side-effect, with a
> STRSZ max...

So, R-b?



More information about the DTrace-devel mailing list