Commit 7d840a5
committed
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
jira VULN-136577
cve CVE-2025-39730
commit-author Trond Myklebust <[email protected]>
commit ef93a68
The function needs to check the minimal filehandle length before it can
access the embedded filehandle.
Reported-by: zhangjian <[email protected]>
Fixes: 20fa190 ("nfs: add export operations")
Signed-off-by: Trond Myklebust <[email protected]>
(cherry picked from commit ef93a68)
Signed-off-by: Shreeya Patel <[email protected]>1 parent 6204421 commit 7d840a5
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
0 commit comments