Skip to content

smb3: Memory leak/page refcount overflow fix

David Howells linux-cifs linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1cifs: Fix memory leak in direct I/Ofs/cifs/file.c+2 -23 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPaulo Alcantara (SUSE)
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] smb3: Memory leak/page refcount overflow fix

Hi Steve,

Here's another fix patch for you. It fixes a leak of the pages extracted for direct I/O. This was causing the page refcount to overflow and become negative and then try_grab_page() would always fail on it.

I've pushed the patch here also:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=iov-cifs

David

David Howells (1):
cifs: Fix memory leak in direct I/O

 fs/cifs/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)