CVE-2024-50038 addresses a vulnerability in the Linux kernel's netfilter xtables subsystem where modules registered with NFPROTO_UNSPEC incorrectly assumed IPv4/IPv6 packet processing contexts. This could lead to improper handling when called via ebtables, causing kernel warnings or crashes. The fix restricts such modules to register only for the appropriate protocol families (IPv4, IPv6, ARP) to prevent misuse.