Skip to contentSkip to conversation

Question about 'epoll: do not insert into poll queues until all,sanity checks are done'

QUESTION Zhang Yi 1 participant 1 message Jan 28, 2022 2 messages not in the archive VFS

lore
Share & tools
lore

Zhang Yi

author
#2 lore raw
In reply to a message not in the archive

+CC [email protected] and [email protected] mail list.

Quoted 8 lines · yebin

Hi, AL.
I'm sorry to bother you.
Now there is a CVE(CVE-2021-39634) which discription is "In fs/eventpoll.c, there is a possible use after free". The information disclosed now shows that fix patch is "epoll: do not insert into poll queues until all sanity checks are done" which you submitted.
According to the patch modification, I reverse analyze how to generate use-after-free .After analysis for several days, I tried to reproduce it, but I didn't find any use-after-free.
Do you have any suggestions for the use-after-free described by CVE-2021-39634?