CVE-2026-74564

Summary

In the Linux kernel, the following vulnerability has been resolved:

netfilter: xt_hashlimit: validate hashtable supports XT_HASHLIMIT_RATE_MATCH

The XT_HASHLIMIT_RATE_MATCH flag mode changes the semantics of the dsthash_ent structure which represents an entry in the hashtable. There is a union area which uses a different layout to express the rate match mode.

Update .checkentry path to validate the XT_HASHLIMIT_RATE_MATCH mode flag is requested by two or more different rules that refer to the same hashtable. Otherwise, uninitialized access to the burst field in the union is possible.

Reject the use of the XT_HASHLIMIT_RATE_MATCH mode flag if set on by revision less than 3 too.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxbea74641e3786d51dcf1175527cc1781420961c9 < 24683fea1f06bd3bd2707b99460e859bc6464c22affected
LinuxLinuxbea74641e3786d51dcf1175527cc1781420961c9 < 32ec8d4aba2cf22e12bdc28df8c4bd833c195fc0affected
LinuxLinuxbea74641e3786d51dcf1175527cc1781420961c9 < d186f77d18bdfb252d401ff992ca3001a6a65a0faffected
LinuxLinuxbea74641e3786d51dcf1175527cc1781420961c9 < 06a76334243ccd875a981aa8bb46c0f931ef1e3baffected
LinuxLinuxbea74641e3786d51dcf1175527cc1781420961c9 < 305b63e1402267459fdabb183af4527f6799eebfaffected
LinuxLinux4.14affected
LinuxLinux0 < 4.14unaffected
LinuxLinux6.6.151 <= 6.6.*unaffected
LinuxLinux6.12.103 <= 6.12.*unaffected
LinuxLinux6.18.44 <= 6.18.*unaffected
LinuxLinux7.1.8 <= 7.1.*unaffected
LinuxLinux7.2-rc6 <= *unaffected

Weaknesses

References