In the Linux kernel, the following vulnerability has been resolved:
xfrm: validate selector family and prefixlen during match
syzbot reported a shift-out-of-bounds in xfrm_selector_match()
due to AF_UNSPEC selector with large prefixlen (e.g. 128) matched
against IPv4 flow (when XFRM_STATE_AF_UNSPEC is set).
Fix this by:
– Rejecting mismatched families in xfrm_selector_match.
– Returning false in addr4_match if prefixlen > 32.
– Returning false in addr_match if prefixlen > 128 (prevents overflow).



