amt: fix several bugs in amt_rcv()
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 | amt: fix wrong usage of pskb_may_pull()drivers/ | +37 | 0 replies | Applied |
| 2/3 | amt: fix possible null-ptr-deref in amt_rcv()drivers/ | +2 | 0 replies | Applied |
| 3/3 | amt: fix wrong type string definitiondrivers/ | +1 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/3] amt: fix several bugs in amt_rcv()
This series fixes bugs in amt_rcv().
First patch fixes pskb_may_pull() issue.
Some functions missed to call pskb_may_pull() and uses wrong parameter of pskb_may_pull().
Second patch fixes possible null-ptr-deref in amt_rcv(). If there is no amt private data in sock, skb will be freed. And it increases stats.
But in order to increase stats, amt private data is needed. So, uninitialised pointer will be used at that point.
Third patch fixes wrong definition of type_str[] in amt.c
Taehee Yoo (3):
amt: fix wrong usage of pskb_may_pull()
amt: fix possible null-ptr-deref in amt_rcv()
amt: fix wrong type string definition
drivers/net/amt.c | 59 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 40 insertions(+), 19 deletions(-)
Signature · 1 line
2.17.1