Messages in this thread | | | From | Khalid Masum <> | Subject | [RFC PATCH 0/1] Fix KASAN: slab-out-of-bounds Read in sk_psock_get | Date | Wed, 13 Jul 2022 12:32:03 +0600 |
| |
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(-)
-- 2.36.1
| |