linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] smb3: Memory leak/page refcount overflow fix
@ 2023-02-28 22:38 David Howells
  2023-02-28 22:38 ` [PATCH 1/1] cifs: Fix memory leak in direct I/O David Howells
  0 siblings, 1 reply; 5+ messages in thread
From: David Howells @ 2023-02-28 22:38 UTC (permalink / raw)
  To: Steve French
  Cc: David Howells, Shyam Prasad N, Rohith Surabattula, Tom Talpey,
	Stefan Metzmacher, Jeff Layton, linux-cifs, linux-fsdevel,
	linux-kernel

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(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-01 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28 22:38 [PATCH 0/1] smb3: Memory leak/page refcount overflow fix David Howells
2023-02-28 22:38 ` [PATCH 1/1] cifs: Fix memory leak in direct I/O David Howells
2023-03-01 14:54   ` Steve French
2023-03-01 15:11   ` Paulo Alcantara
2023-03-01 18:24     ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).