pNFS/flexfiles: make pg_init retry loops killable

Summary

CVECVE-2026-139275
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:50 UTC
Updated2026-11-30 14:18:50 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: pNFS/flexfiles: make pg_init retry loops killable When a task is killed while the pNFS client connects to a data server, nfs4_pnfs_ds_connect() fails with -ERESTARTSYS. If the layout has FF_FLAGS_NO_IO_THRU_MDS set, ff_layout_pg_init_read() 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 ff_layout_pg_init_read+0x267/0x310 [nfs_layout_flexfiles] __nfs_pageio_add_request+0x1c1/0x480 [nfs] nfs_pageio_add_request+0x21d/0x2c0 [nfs] nfs_read_add_folio+0x143/0x200 [nfs] nfs_readahead+0x204/0x290 [nfs] read_pages+0x62/0x230 page_cache_ra_unbounded+0x136/0x180 filemap_get_pages+0xf2/0x350 filemap_read+0xd5/0x320 nfs_file_read+0x6d/0xc0 [nfs] vfs_read+0x24f/0x3a0 __x64_sys_pread64+0x90/0xc0 do_syscall_64+0x5f/0xe0 Previous attempt propagates the error from nfs4_ff_layout_prepare_ds(), but only ff_layout_{read,write}_pagelist() look at it. The pg_init functions test IS_ERR() and retry on any error. Check for a fatal signal or an exiting task before sleeping in ff_layout_pg_init_read() and ff_layout_pg_init_write() and fail the I/O instead of retrying.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 3bdb29df2f0d3f66805240b5ed749b7871928d94 3b39db0b5368d29a06002fdfea9cbfbc328750b3 git Not specified
CNA Linux Linux affected 531914fd74e830dae3150fec239170d96560f4a9 bc851b5a8a0e12da67b38fda62440421d932d5c4 git Not specified
CNA Linux Linux affected f06bedfa62d57f7b67d44aacd6badad2e13a803f e047a2a363a8f384ff5ed928e9eaedbce25e224c git Not specified
CNA Linux Linux affected f06bedfa62d57f7b67d44aacd6badad2e13a803f c43eaf4df3bee6229bef3b7fcd1933ec16d18976 git Not specified
CNA Linux Linux affected f06bedfa62d57f7b67d44aacd6badad2e13a803f fde27289503beabe7e0856dac164a5ced4be0342 git Not specified
CNA Linux Linux affected 3b3d1508899e9de75a0086dc6fd50da006d0aa03 git Not specified
CNA Linux Linux affected 70bf32087b4df1cdeebff049c77085c28c91655e git Not specified
CNA Linux Linux affected 25e6b2222e3093d5e68e58365762f1d233bc0fe7 git Not specified
CNA Linux Linux affected ccc3006914bfc8080aa615a8583c4a91f598d267 git Not specified
CNA Linux Linux affected ce20bdbfa99a5869e2d5c6bc33e4b3e04755ae82 git Not specified
CNA Linux Linux affected 6.6.102 6.6.163 semver Not specified
CNA Linux Linux affected 6.12.42 6.12.119 semver Not specified
CNA Linux Linux affected 5.10.241 5.11 semver Not specified
CNA Linux Linux affected 5.15.190 5.16 semver Not specified
CNA Linux Linux affected 6.1.148 6.2 semver Not specified
CNA Linux Linux affected 6.15.10 6.16 semver Not specified
CNA Linux Linux affected 6.16.1 6.17 semver Not specified
CNA Linux Linux affected 6.17 Not specified
CNA Linux Linux unaffected 6.17 semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/fde27289503beabe7e0856dac164a5ced4be0342 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3b39db0b5368d29a06002fdfea9cbfbc328750b3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c43eaf4df3bee6229bef3b7fcd1933ec16d18976 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e047a2a363a8f384ff5ed928e9eaedbce25e224c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bc851b5a8a0e12da67b38fda62440421d932d5c4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report