Commit 5fc0e7e
committed
netfilter: nf_set_pipapo_avx2: fix initial map fill
jira VULN-71797
cve CVE-2025-38120
commit-author Florian Westphal <[email protected]>
commit ea77c39
If the first field doesn't cover the entire start map, then we must zero
out the remainder, else we leak those bits into the next match round map.
The early fix was incomplete and did only fix up the generic C
implementation.
A followup patch adds a test case to nft_concat_range.sh.
Fixes: 791a615 ("netfilter: nf_set_pipapo: fix initial map fill")
Signed-off-by: Florian Westphal <[email protected]>
Reviewed-by: Stefano Brivio <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
(cherry picked from commit ea77c39)
Signed-off-by: Marcin Wcisło <[email protected]>1 parent ee51577 commit 5fc0e7e
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1117 | 1117 | | |
1118 | 1118 | | |
1119 | 1119 | | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1120 | 1139 | | |
1121 | 1140 | | |
1122 | 1141 | | |
| |||
1166 | 1185 | | |
1167 | 1186 | | |
1168 | 1187 | | |
1169 | | - | |
| 1188 | + | |
1170 | 1189 | | |
1171 | 1190 | | |
1172 | 1191 | | |
| |||
0 commit comments