Re: 6.5.13 regression: BUG: kernel NULL pointer dereference, address: 0000000000000020

From: Gustavo A. R. Silva
Date: Wed Nov 29 2023 - 13:59:28 EST



the kernel source. But a quick (and possibly imperfect) grepping seems
to show that struct neighbor was the only one used with
__randomize_layout. So, I *think* it might be the only one that could
cause a problem with the recent change to the randomize_layout plugin.

Yeah, I can confirm we don't currently have any other fake flex array
in a struct with __randomize_layout. :)

--
Gustavo