pNFS flexfiles retry loop never returns to user space after kill
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
In the Linux kernel, the pNFS flexfiles layout driver, versions from 5.10.241 before 5.11, from 5.15.190 before 5.16, from 6.1.148 before 6.2, from 6.6.102 before 6.6.163, from 6.12.42 before 6.12.119, from 6.15.10 before 6.16, from 6.16.1 before 6.17, and from 6.17 onward in affected branches, retries forever when a killed task connects to a data server. A pg_init retry loop sleeps uninterruptibly while the fatal signal stays pending, so a local user can keep a task from returning to user space. The fix makes the loop fail the I/O when a fatal signal is pending or the task is exiting.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.6.102 to before 6.6.163; 6.12.42 to before 6.12.119; 5.10.241 to before 5.11; 5.15.190 to before 5.16; 6.1.148 to before 6.2; 6.15.10 to before 6.16; 6.16.1 to before 6.17 | 6.6.163, 6.12.119, 5.11, 5.16, 6.2, 6.16, 6.17 | Patch available | CNA |
| Linux | Linux | 6.17 and later | 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 6.6.102 to before 6.6.163; 6.12.42 to before 6.12.119; 5.10.241 to before 5.11; 5.15.190 to before 5.16; 6.1.148 to before 6.2; 6.15.10 to before 6.16; 6.16.1 to before 6.17 Fixed in 6.6.163, 6.12.119, 5.11, 5.16, 6.2, 6.16, 6.17 Patch available CNA
- Linux VendorLinux Affected 6.17 and later Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Upgrade to Linux kernel 6.6.163, 6.12.119, 5.11, 5.16, 6.2, 6.16, 6.17, 6.18.65, 7.3.6 or 7.4-rc1 or later, matching your release branch. The sources list no fixed version for Linux branches outside these releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 5.11, 5.16, 6.2, 6.16, 6.17
- Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139275
- 2026-11-30 Alias added: GHSA-7fpv-8xr7-g2p7
References
Other 5
- https://git.kernel.org/stable/c/3b39db0b5368d29a06002fdfea9cbfbc328750b3
- https://git.kernel.org/stable/c/bc851b5a8a0e12da67b38fda62440421d932d5c4
- https://git.kernel.org/stable/c/e047a2a363a8f384ff5ed928e9eaedbce25e224c
- https://git.kernel.org/stable/c/c43eaf4df3bee6229bef3b7fcd1933ec16d18976
- https://git.kernel.org/stable/c/fde27289503beabe7e0856dac164a5ced4be0342
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139275 · CVE Program
- CVE-2026-139275 · NVD
- GHSA-7fpv-8xr7-g2p7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences