net/smc: fixes 2022-04-08
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/smc: use memcpy instead of snprintf to avoid out of bounds readnet/ | +4 | 0 replies | Applied |
| 2/3 | net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()net/ | +3 | 0 replies | Applied |
| 3/3 | net/smc: Fix af_ops of child socket pointing to released memorynet/ | +12 | 1 reply | Applied |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Wenjia Zhang | D. Wythe |
|---|---|---|
| 1/3 | ||
| 2/3 | ||
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/3] net/smc: fixes 2022-04-08
Please apply the following patches to netdev's net tree.
Patch 1 fixes two usages of snprintf() with non null-terminated string which results into an out-of-bounds read.
Pach 2 fixes a syzbot finding where a pointer check was missed before the call to dev_name().
Patch 3 fixes a crash when already released memory is used as a function pointer.
Karsten Graul (3):
net/smc: use memcpy instead of snprintf to avoid out of bounds read net/smc: Fix NULL pointer dereference in smc_pnet_find_ib() net/smc: Fix af_ops of child socket pointing to released memory
net/smc/af_smc.c | 14 ++++++++++++-- net/smc/smc_clc.c | 6 ++++-- net/smc/smc_pnet.c | 5 +++-- 3 files changed, 19 insertions(+), 6 deletions(-)
Signature · 1 line
2.32.0