Linux
RDMA/mana: Validate rx_hash_key_len
In the Linux kernel, the following vulnerability has been resolved: RDMA/mana: Validate rx_hash_key_len Sashiko points out that rx_hash_key_len comes from a uAPI structure and is blindly passed to memcpy, allowing the userspace to trash kernel memory. Bounds check it so the memcpy cannot overflow.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 7d7c9f0fcd19c4d2f0164347c58d49cafa961b72
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 11c1431d641e0e4e0529e96957995820600c7287
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 012796f9541fcd0c1fa8ae4da7eb4d83931ef838
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 7d94f155f354b961c598f71bafa804dceded513f
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 6dd2d4ad9c8429523b1c220c5132bd551c006425
Fixed in 7d7c9f0fcd19c4d2f0164347c58d49cafa961b72, 11c1431d641e0e4e0529e96957995820600c7287, 012796f9541fcd0c1fa8ae4da7eb4d83931ef838, 7d94f155f354b961c598f71bafa804dceded513f, 6dd2d4ad9c8429523b1c220c5132bd551c006425
- 6.2
Fixed in 0, 6.6.141, 6.12.88, 6.18.30, 7.0.7, 7.1
Mitigation
Upgrade Linux to 7d7c9f0fcd19c4d2f0164347c58d49cafa961b72 or 11c1431d641e0e4e0529e96957995820600c7287 or 012796f9541fcd0c1fa8ae4da7eb4d83931ef838 or 7d94f155f354b961c598f71bafa804dceded513f or 6dd2d4ad9c8429523b1c220c5132bd551c006425 or later.
Upgrade Linux to 0 or 6.6.141 or 6.12.88 or 6.18.30 or 7.0.7 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.