I suspect this is https://lore.kernel.org/linux-hardening/20231124102458.GB1503258@xxxxxxxxxxxxxxxxxxxxxxxxx/ and the patch at https://lore.kernel.org/linux-hardening/170117162434.28731.12930304842635897908.git-patchwork-notify@xxxxxxxxxx/T/#t may help.