On July 27, 2025 6:43:13 PM GMT+03:00, Ben Hutchings ben@decadent.org.uk wrote:
On Sun, 2025-07-27 at 17:03 +0200, Borislav Petkov wrote:
On Sun, Jul 27, 2025 at 03:58:23PM +0200, Ben Hutchings wrote:
p is not fully initialised, so this only works with CONFIG_INIT_STACK_ALL_ZERO enabled.
https://lore.kernel.org/r/20250723134528.2371704-1-mzhivich@akamai.com
This still leaves the "rev" field uninitialised, so the debug message will show a random value in the lower bits.
The rev is shifted away and yes, as you point out, the potentially uninitialized value is visible only in the debug message...
Why is it such a problem to initialise the whole thing?
... which is not important enough in my book to generate new patches and confuse stable folks with another submission.
But if you absolutely insist...