CVE-2026-139275: pNFS/flexfiles: make pg_init retry loops killable

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

pNFS/flexfiles: make pginit retry loops killable

When a task is killed while the pNFS client connects to a data server, nfs4pnfsdsconnect() fails with -ERESTARTSYS. If the layout has FFFLAGSNOIOTHRUMDS set, fflayoutpginitread() cannot fall back to the MDS and retries after an uninterruptible ssleep. As the fatal signal stays pending, every new connect attempt is aborted the same way and the task loops forever without returning to user space:

# grep -E 'SigPnd|ShdPnd' /proc/156021/status SigPnd: 0000000000000100 ShdPnd: 0000000000000100

# cat /proc/156021/stack msleep+0x2e/0x50 fflayoutpginitread+0x267/0x310 [nfslayoutflexfiles] nfspageioaddrequest+0x1c1/0x480 [nfs] nfspageioaddrequest+0x21d/0x2c0 [nfs] nfsreadaddfolio+0x143/0x200 [nfs] nfsreadahead+0x204/0x290 [nfs] readpages+0x62/0x230 pagecacheraunbounded+0x136/0x180 filemapgetpages+0xf2/0x350 filemapread+0xd5/0x320 nfsfileread+0x6d/0xc0 [nfs] vfsread+0x24f/0x3a0 x64syspread64+0x90/0xc0 dosyscall64+0x5f/0xe0

Previous attempt propagates the error from nfs4fflayoutprepareds(), but only fflayout{read,write}pagelist() look at it. The pginit functions test ISERR() and retry on any error.

Check for a fatal signal or an exiting task before sleeping in fflayoutpginitread() and fflayoutpginitwrite() and fail the I/O instead of retrying.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In pNFS/flexfiles, make the pg_init retry loops killable by checking IS_ERR() and retrying on any error.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203