[SRU][N:linux-azure][PATCH v2 0/1] azure: backport "cifs: fix pagecache leak when do writepages"

Vinicius Peixoto vinicius.peixoto at canonical.com
Wed Sep 17 20:03:10 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2122719

[Impact]

A memory leak which was introduced in the smb.ko module by commit f3dc1bdb6b0b ("cifs: Fix writeback data corruption") is causing hangups on VMs due to memory starvation. This introduces a high risk of data corruption for users running the 6.8 Azure kernel.

[Fix]

Backport the fix:

https://lore.kernel.org/linux-cifs/20250912014150.3057545-1-yangerkun@huawei.com/

to the n:azure tree.

[Test plan]

Build tested only; Microsoft will validate the bug fix.

[Where problems could occur]

Issues with this patch could cause hangs/lockups during CIFS writeback operations, particularly in systems with a high CPU count.

[Other info]
SF #00418307

v1 -> v2: resend the patch since it was NACKed previously due to a
misunderstanding.

Yang Erkun (1):
  cifs: fix pagecache leak when do writepages

 fs/smb/client/file.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

-- 
2.45.2




More information about the kernel-team mailing list