vxlan: vnifilter: enforce exact length of GROUP/GROUP6 attributes
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in e12c4663529699f457b2988c1dfedf4d13b3b3be; From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in 47bfcc871576eaef6c8edab6749acd4b317306ea; From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in a9ec10815199f9879ba080241dc555efb1daf324; From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in daebc7064a1b4c12c98e52c4bceede7f2fcd573c; From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in ad32e564c62ebf5ba76dd60a22af52c69d54d17b; From f9c4bb0b245cee35ef66f75bf409c9573d934cf9 · fixed in 984f831dda31b3a18f47454cf64989f65402879e
- Linux Linux
5.18
- KernelLinux
From 5.18.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6