In the Linux kernel, the following vulnerability has been resolved:
net: remove WARNONONCE() from skmcloop()
skmcloop() can be called for sockets that are neither AFINET nor AFINET6 (e.g. AF_PACKET sockets when sending packets via raw/packet socket over virtual devices such as VRF or ipvlan).
In such cases, skfamily is not AFINET/AFINET6 and skmcloop() falls through the switch statement and triggers WARNON_ONCE(1).
Non-INET sockets do not support IPMULTICASTLOOP or IPV6MULTICASTLOOP options, so loopback should default to true without generating a warning.