mbox series

[net,0/2] Fix UAF and null-ptr-deref bugs in rose protocol

Message ID cover.1655869357.git.duoming@zju.edu.cn (mailing list archive)
Headers show
Series Fix UAF and null-ptr-deref bugs in rose protocol | expand

Message

Duoming Zhou June 22, 2022, 4:01 a.m. UTC
The first patch fixes the UAF bug of sock caused by
timer. The second patch fixes the null-ptr-deref bug
caused by rose_kill_by_neigh().

Duoming Zhou (2):
  net: rose: fix UAF bugs caused by timer handler
  net: rose: fix null-ptr-deref caused by rose_kill_by_neigh

 net/rose/af_rose.c    |  5 +++++
 net/rose/rose_route.c |  2 ++
 net/rose/rose_timer.c | 22 +++++++++++++---------
 3 files changed, 20 insertions(+), 9 deletions(-)