title: netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
description: In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
- Disallow families other than NFPROTO_{IPV4,IPV6,INET}.
- Disallow layer 4 protocol with no ports, since destination port is a
mandatory attribute for this object.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 857b46027d6f, lessThan: f549f340c91f, status: affected, versionType: git
version: 857b46027d6f, lessThan: 65ee90efc928, status: affected, versionType: git
version: 857b46027d6f, lessThan: b775ced05489, status: affected, versionType: git
version: 857b46027d6f, lessThan: 0f501dae16b7, status: affected, versionType: git
version: 857b46027d6f, lessThan: cfe3550ea5df, status: affected, versionType: git
version: 857b46027d6f, lessThan: 38cc1605338d, status: affected, versionType: git
version: 857b46027d6f, lessThan: 8059918a1377, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.3, status: affected
version: 0, lessThan: 5.3, status: unaffected, versionType: custom
version: 5.4.269, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.210, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.149, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.77, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.16, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.4, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
