Commit ba47560
committed
ksmbd: validate mech token in session setup
If client send invalid mech token in session setup request, ksmbd
validate and make the error if it is invalid.
Reported-by: [email protected] # ZDI-CAN-22890
Cc: [email protected]
Signed-off-by: Namjae Jeon <[email protected]>1 parent 2df026a commit ba47560
3 files changed
+23
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| 328 | + | |
| 329 | + | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | | - | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1432 | 1435 | | |
1433 | 1436 | | |
1434 | 1437 | | |
| |||
1519 | 1522 | | |
1520 | 1523 | | |
1521 | 1524 | | |
1522 | | - | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
1523 | 1529 | | |
1524 | 1530 | | |
1525 | 1531 | | |
| |||
1796 | 1802 | | |
1797 | 1803 | | |
1798 | 1804 | | |
1799 | | - | |
1800 | | - | |
| 1805 | + | |
1801 | 1806 | | |
1802 | 1807 | | |
1803 | 1808 | | |
| |||
1806 | 1811 | | |
1807 | 1812 | | |
1808 | 1813 | | |
1809 | | - | |
| 1814 | + | |
1810 | 1815 | | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1811 | 1823 | | |
1812 | 1824 | | |
1813 | 1825 | | |
| |||
0 commit comments