In the Linux kernel, the following vulnerability has been resolved:
fs: relax assertions on failure to encode file handles
Encoding file handles is usually performed by a filesystem >encode_fh() method that may fail for various reasons.
The legacy users of exportfs_encode_fh(), namely, nfsd and name_to_handle_at(2) syscall are ready to cope with the possibility of failure to encode a file handle.
There are a few other users of exportfs_encode_{fh,fid}() that currently have a WARN_ON() assertion when ->encode_fh() fails. Relax those assertions because they are wrong.
The second linked bug report states commit 16aac5ad1fa9 ("ovl: support encoding non-decodable file handles") in v6.6 as the regressing commit, but this is not accurate.
The aforementioned commit only increases the chances of the assertion and allows triggering the assertion with the reproducer using overlayfs, inotify and drop_caches.
Triggering this assertion was always possible with other filesystems and other reasons of ->encode_fh() failures and more particularly, it was also possible with the exact same reproducer using overlayfs that is mounted with options index=on,nfs_export=on also on kernels < v6.6. Therefore, I am not listing the aforementioned commit as a Fixes commit.
Backport hint: this patch will have a trivial conflict applying to v6.6.y, and other trivial conflicts applying to stable kernels < v6.6.
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade bpftoolUpgrade kernelUpgrade python3-perf-debuginfoUpgrade kernel-libbpf-develUpgrade kernel-develUpgrade kernel-debuginfoUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-toolsUpgrade bpftool-debuginfoUpgrade kernel-tools-debuginfoUpgrade kernel-modules-extraUpgrade kernel-libbpfUpgrade kernel-libbpf-staticUpgrade python3-perfUpgrade kernel-livepatch-6.1.155-176.282Upgrade kernel-debuginfo-common-aarch64Upgrade kernel-modules-extra-commonUpgrade kernel-headersUpgrade perf-debuginfoUpgrade kernel-tools-develUpgrade kernel-libbpf-debuginfoUpgrade kernel-livepatch-6.1.153-175.280Upgrade perf | Sep 30, 2025 | Jan 19, 2025 |
| Debian | — | Upgrade linux-6.1Upgrade linux | May 15, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade kernel-tools-libsUpgrade kernelUpgrade bpftoolUpgrade kernel-abi-stablelistsUpgrade kernel-toolsUpgrade python3-perf | Apr 11, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade kernel-toolsUpgrade bpftoolUpgrade python3-perfUpgrade kernelUpgrade kernel-tools-libsUpgrade kernel-abi-stablelists | May 7, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade kernel-tools-libsUpgrade bpftoolUpgrade kernel-toolsUpgrade kernelUpgrade kernel-abi-stablelistsUpgrade python3-perf | Apr 1, 2025 | Jan 19, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jan 19, 2025 |
| Ubuntu | — | Upgrade linux-image-lowlatency-64kUpgrade linux-image-genericUpgrade linux-image-generic-lpaeUpgrade linux-image-realtime-hwe-24.04Upgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-lowlatency-64k-hwe-24.04Upgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-6.11.0-1017-oemUpgrade linux-image-raspi-realtimeUpgrade linux-image-6.8.0-1031-gcp-64kUpgrade linux-image-oem-24.04bUpgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-6.8.0-1013-gkeopUpgrade linux-image-6.11.0-1007-realtimeUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-6.8.0-1030-azure-fdeUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-oem-22.04aUpgrade linux-image-6.8.1-1023-realtimeUpgrade linux-image-lowlatency-hwe-24.04Upgrade linux-image-6.8.0-62-lowlatency-64kUpgrade linux-image-6.11.0-1012-azureUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-6.8.0-1030-azureUpgrade linux-image-oem-22.04cUpgrade linux-image-generic-64kUpgrade linux-image-6.11.0-21-genericUpgrade linux-image-6.8.0-1030-aws-64kUpgrade linux-image-6.8.0-1029-raspiUpgrade linux-image-6.11.0-1011-awsUpgrade linux-image-6.8.0-1027-ibmUpgrade linux-image-azure-nvidiaUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-azure-fdeUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-nvidia-lowlatencyUpgrade linux-image-6.8.0-1029-nvidia-64kUpgrade linux-image-ibm-classicUpgrade linux-image-6.8.0-1031-gcpUpgrade linux-image-lowlatencyUpgrade linux-image-azure-lts-24.04Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-virtualUpgrade linux-image-6.11.0-1011-lowlatency-64kUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-gkeopUpgrade linux-image-gkeop-6.8Upgrade linux-image-oem-22.04Upgrade linux-image-6.8.0-1029-nvidiaUpgrade linux-image-nvidiaUpgrade linux-image-6.11.0-1013-oracleUpgrade linux-image-6.8.0-62-genericUpgrade linux-image-ibmUpgrade linux-image-6.8.0-62-generic-64kUpgrade linux-image-generic-6.8Upgrade linux-image-6.8.0-1029-oemUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-6.8.0-1027-oracleUpgrade linux-image-aws-64kUpgrade linux-image-6.8.0-64-generic-64kUpgrade linux-image-oem-22.04dUpgrade linux-image-raspiUpgrade linux-image-6.11.0-1011-lowlatencyUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-6.8.0-62-lowlatencyUpgrade linux-image-6.8.0-64-genericUpgrade linux-image-oem-22.04bUpgrade linux-image-oem-24.04aUpgrade linux-image-6.11.0-1011-gcp-64kUpgrade linux-image-6.11.0-1010-raspiUpgrade linux-image-awsUpgrade linux-image-gcpUpgrade linux-image-6.11.0-1012-azure-fdeUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-azureUpgrade linux-image-6.8.0-1026-gkeUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-6.8.0-1029-nvidia-lowlatencyUpgrade linux-image-6.11.0-21-generic-64kUpgrade linux-image-6.8.0-2024-raspi-realtimeUpgrade linux-image-6.11.0-1013-oracle-64kUpgrade linux-image-oem-24.04Upgrade linux-image-gcp-64kUpgrade linux-image-gcp-lts-24.04Upgrade linux-image-oracle-64kUpgrade linux-image-6.8.0-1029-nvidia-lowlatency-64kUpgrade linux-image-oracleUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-gkeUpgrade linux-image-6.8.0-1027-oracle-64kUpgrade linux-image-6.11.0-1011-gcpUpgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-aws-lts-24.04Upgrade linux-image-kvmUpgrade linux-image-6.8.0-1018-azure-nvidiaUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-realtimeUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-6.8.0-1030-awsUpgrade linux-image-generic-64k-6.8Upgrade linux-image-nvidia-64kUpgrade linux-image-virtual-6.8Upgrade linux-image-nvidia-6.8 | Mar 28, 2025 | Jan 19, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 9, 2025 | Jan 19, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub