GHSA-j58f-wqfc-2rv4HighCVSS 7.8

In the Linux kernel, the following vulnerability has been resolved: xfrm: validate selector...

Published
August 15, 2026
Last Modified
August 17, 2026

🔗 CVE IDs covered (1)

📋 Description

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).

🔗 References (10)