Re: [PATCH] cachefiles: fix out-of-bounds read in coherency trace
From: David Howells
Date: Thu Aug 27 2026 - 03:35:05 EST
Thanks, but I have a patch for this. See patch 9 here:
https://lore.kernel.org/linux-fsdevel/20260825132045.1000787-1-dhowells@xxxxxxxxxx/
I don't want to call memcpy() like this just for the purposes of a tracepoint
that is almost certainly not actually be active.
You're also moving buf->content into a variable rather than using it directly
- is there a reason for that?
David