Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
vxlan: vnifilter: enforce exact length of GROUP/GROUP6 attributes

In the Linux kernel, the following vulnerability has been resolved: vxlan: vnifilter: enforce exact length of GROUP/GROUP6 attributes The VXLAN VNI filter entry policy declares the GROUP/GROUP6 address attributes as NLA_BINARY with only a maximum length, so validate_nla() accepts a payload shorter than the address. The GROUP consumer reads it with nla_get_in_addr(), an unconditional 4-byte load, so a short attribute over-reads up to 3 bytes of uninitialised slab data, which are stored into remote_ip and echoed back via RTM_GETTUNNEL, disclosing kernel memory. Switch both entries to NLA_POLICY_EXACT_LEN() so the validator rejects any GROUP/GROUP6 that is not exactly 4 / 16 bytes; a valid address is always sent at full width.

Affected products

Linux
  • =<7.2.*
  • <daebc7064a1b4c12c98e52c4bceede7f2fcd573c
  • <47bfcc871576eaef6c8edab6749acd4b317306ea
  • =<6.12.*
  • <a9ec10815199f9879ba080241dc555efb1daf324
  • =<6.18.*
  • <ad32e564c62ebf5ba76dd60a22af52c69d54d17b
  • <5.18
  • =<*
  • =<6.1.*
  • =<6.6.*
  • ==5.18
  • <984f831dda31b3a18f47454cf64989f65402879e
  • <e12c4663529699f457b2988c1dfedf4d13b3b3be