Fixed
Created: Jul 3, 2025
Updated: Sep 1, 2025
Resolved Date: Jul 10, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]netfilter: nft_set_pipapo: prevent overflow in lookup table allocation[EOL][EOL]When calculating the lookup table size, ensure the following[EOL]multiplication does not overflow:[EOL][EOL]- desc->field_len[] maximum value is U8_MAX multiplied by[EOL] NFT_PIPAPO_GROUPS_PER_BYTE(f) that can be 2, worst case.[EOL]- NFT_PIPAPO_BUCKETS(f->bb) is 2^8, worst case.[EOL]- sizeof(unsigned long), from sizeof(*f->lt), lt in[EOL] struct nft_pipapo_field.[EOL][EOL]Then, use check_mul_overflow() to multiply by bucket size and then use[EOL]check_add_overflow() to the alignment for avx2 (if needed). Finally, add[EOL]lt_size_check_overflow() helper and use it to consolidate this.[EOL][EOL]While at it, replace leftover allocation using the GFP_KERNEL to[EOL]GFP_KERNEL_ACCOUNT for consistency, in pipapo_resize().
CREATE(Triage):(User=lchen-cn) [CVE-2025-38162 (https://nvd.nist.gov/vuln/detail/CVE-2025-38162)