Commit 69cb8d9
committed
netfilter: nf_tables: fix out of memory error handling
JIRA: https://issues.redhat.com/browse/RHEL-1720
JIRA: https://issues.redhat.com/browse/RHEL-1721
Upstream Status: commit 5e1be4c
commit 5e1be4c
Author: Florian Westphal <[email protected]>
Date: Tue Aug 22 19:49:52 2023 +0200
netfilter: nf_tables: fix out of memory error handling
Several instances of pipapo_resize() don't propagate allocation failures,
this causes a crash when fault injection is enabled for gfp_kernel slabs.
Fixes: 3c4287f ("nf_tables: Add set type for arbitrary concatenation of ranges")
Signed-off-by: Florian Westphal <[email protected]>
Reviewed-by: Stefano Brivio <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>1 parent f678a58 commit 69cb8d9
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
905 | | - | |
| 905 | + | |
906 | 906 | | |
907 | | - | |
| 907 | + | |
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
| 912 | + | |
911 | 913 | | |
912 | 914 | | |
913 | 915 | | |
| |||
1052 | 1054 | | |
1053 | 1055 | | |
1054 | 1056 | | |
1055 | | - | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
1056 | 1060 | | |
1057 | 1061 | | |
1058 | 1062 | | |
| |||
1235 | 1239 | | |
1236 | 1240 | | |
1237 | 1241 | | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
1238 | 1245 | | |
1239 | 1246 | | |
1240 | 1247 | | |
| |||
0 commit comments