[SRU][J:azure][PATCH 0/1] azure: backport "netfs: Fix missing xas_retry() calls in xarray iteration"

Vinicius Peixoto vinicius.peixoto at canonical.com
Fri Feb 14 22:38:21 UTC 2025


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

[Impact]

Microsoft has asked us to backport commit 7e043a80b5da ("netfs: Fix missing xas_retry() calls in xarray iteration") to the 5.15 Azure kernel.

[Fix]

Backported to the J:azure tree.

[Test plan]

Build tested only; Microsoft will test the bug fix.

[Where problems could occur]

Due to the significant delta between the Jammy 5.15 tree and commit 7e043a80b5da, particularly w.r.t. fs/netfs/read_helper.c, that got split into multiple files in 5.17, as well as the change that introduced the usage of folios in netfslib, a manual backported was required. The changes, however, were relatively simple/self-contained, and as such this presents a medium regression risk. Any issues with this patch could manifest as either a null pointer dereference in netfs_rreq_unlock/netfs_rreq_unmark_after_write, or potentially as a hung thread when doing a lot of I/O on an netfs filesystem.

David Howells (1):
  netfs: Fix missing xas_retry() calls in xarray iteration

 fs/netfs/read_helper.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.43.0




More information about the kernel-team mailing list