vxlan: vnifilter: enforce exact length of GROUP/GROUP6 attributes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 47bfcc871576eaef6c8edab6749acd4b317306ea, Kernel 984f831dda31b3a18f47454cf64989f65402879e, Kernel a9ec10815199f9879ba080241dc555efb1daf324 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.18, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <47bfcc871576eaef6c8edab6749acd4b317306ea, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <984f831dda31b3a18f47454cf64989f65402879e, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <a9ec10815199f9879ba080241dc555efb1daf324, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <ad32e564c62ebf5ba76dd60a22af52c69d54d17b, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <daebc7064a1b4c12c98e52c4bceede7f2fcd573c, >=f9c4bb0b245cee35ef66f75bf409c9573d934cf9 <e12c4663529699f457b2988c1dfedf4d13b3b3be | 47bfcc871576eaef6c8edab6749acd4b317306ea, 984f831dda31b3a18f47454cf64989f65402879e, a9ec10815199f9879ba080241dc555efb1daf324, ad32e564c62ebf5ba76dd60a22af52c69d54d17b, daebc7064a1b4c12c98e52c4bceede7f2fcd573c, e12c4663529699f457b2988c1dfedf4d13b3b3be |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket