In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftsetpipapo: fix null deref for empty set
Blamed commit broke the check for a null scratch map: - if (unlikely(!m || !*rawcpuptr(m->scratch))) + if (unlikely(!rawcpuptr(m->scratch)))
This should have been "if (!*raw_ ...)". Use the pattern of the avx2 version which is more readable.
This can only be reproduced if avx2 support isn't available.