mbox series

[RFC,0/1] Fix KASAN: slab-out-of-bounds Read in sk_psock_get

Message ID 20220713063204.6294-1-khalid.masum.92@gmail.com (mailing list archive)
Headers show
Series Fix KASAN: slab-out-of-bounds Read in sk_psock_get | expand

Message

Khalid Masum July 13, 2022, 6:32 a.m. UTC
Using size of sk_psock as the size for kcm_psock_cache size no longer
reproduces the issue. There might be a better way to solve this issue
though so I would like to ask for feedback.

Reported-and-tested-by: syzbot+1fa91bcd05206ff8cbb5@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=1fa91bcd05206ff8cbb5

Khalid Masum (1):
  net: kcm: Use sk_psock size for kcm_psock_cache

 net/kcm/kcmsock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)