diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2019-12-27 09:32:04 +0300 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2020-02-27 15:31:58 +0300 |
commit | d1f37226431f5d9657aa144a40f2383adbcf27e1 (patch) | |
tree | 6920ab50b7225b80c8631c67eae8e093b7a71031 /fs/drop_caches.c | |
parent | 2be30d34a387b8d97cc1b4be1223bfe0b75a0812 (diff) | |
download | linux-d1f37226431f5d9657aa144a40f2383adbcf27e1.tar.xz |
dma-buf: free dmabuf->name in dma_buf_release()
dma-buf name can be set via DMA_BUF_SET_NAME ioctl, but once set
it never gets freed.
Free it in dma_buf_release().
Fixes: bb2bb9030425 ("dma-buf: add DMA_BUF_SET_NAME ioctls")
Reported-by: syzbot+b2098bc44728a4efb3e9@syzkaller.appspotmail.com
Cc: Greg Hackmann <ghackmann@google.com>
Cc: Chenbo Feng <fengc@google.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Chenbo Feng <fengc@google.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191227063204.5813-1-xiyou.wangcong@gmail.com
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions