[PATCH] [RFC] dma-buf: fix race condition between poll and close

Dmitry Antipov dmantipov at yandex.ru
Fri May 3 11:08:51 UTC 2024


On 5/3/24 11:18 AM, Christian König wrote:

> Attached is a compile only tested patch, please verify if it fixes your problem.

LGTM, and this is similar to get_file() in __pollwait() and fput() in
free_poll_entry() used in implementation of poll(). Please resubmit to
linux-fsdevel@ including the following:

Reported-by: syzbot+5d4cb6b4409edfd18646 at syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=5d4cb6b4409edfd18646
Tested-by: Dmitry Antipov <dmantipov at yandex.ru>

Thanks,
Dmitry


More information about the dri-devel mailing list