Commit d5f50b0
J. Bruce Fields
nfsd4: fix oops on unusual readlike compound
If the argument and reply together exceed the maximum payload size, then
a reply with a read-like operation can overlow the rq_pages array.
Cc: [email protected]
Signed-off-by: J. Bruce Fields <[email protected]>1 parent 9b3234b commit d5f50b0
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2925 | 2925 | | |
2926 | 2926 | | |
2927 | 2927 | | |
2928 | | - | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
2929 | 2933 | | |
2930 | 2934 | | |
2931 | 2935 | | |
2932 | 2936 | | |
| 2937 | + | |
2933 | 2938 | | |
2934 | 2939 | | |
2935 | 2940 | | |
| |||
2975 | 2980 | | |
2976 | 2981 | | |
2977 | 2982 | | |
| 2983 | + | |
| 2984 | + | |
2978 | 2985 | | |
2979 | 2986 | | |
2980 | 2987 | | |
| |||
3024 | 3031 | | |
3025 | 3032 | | |
3026 | 3033 | | |
| 3034 | + | |
| 3035 | + | |
3027 | 3036 | | |
3028 | 3037 | | |
3029 | 3038 | | |
| |||
0 commit comments