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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade python3-perf-debuginfoUpgrade kernel-develUpgrade kernel-toolsUpgrade bpftoolUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-libbpf-staticUpgrade kernel-debuginfoUpgrade kernel-modules-extraUpgrade bpftool-debuginfoUpgrade kernelUpgrade kernel-libbpf-develUpgrade kernel-tools-debuginfoUpgrade kernel-libbpfUpgrade perfUpgrade kernel-modules-extra-commonUpgrade kernel-livepatch-6.1.153-175.280Upgrade kernel-libbpf-debuginfoUpgrade python3-perfUpgrade kernel-headersUpgrade perf-debuginfoUpgrade kernel-tools-develUpgrade kernel-livepatch-6.1.155-176.282Upgrade kernel-debuginfo-common-aarch64 | Sep 30, 2025 | Jan 19, 2025 |
| Debian | — | Upgrade linux-6.1Upgrade linux | May 15, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade kernelUpgrade bpftoolUpgrade kernel-tools-libsUpgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade kernel-tools | Apr 11, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade kernel-abi-stablelistsUpgrade python3-perfUpgrade kernelUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade bpftool | May 7, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade bpftoolUpgrade kernel-toolsUpgrade kernelUpgrade kernel-tools-libs | Apr 1, 2025 | Jan 19, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jan 19, 2025 |
| Ubuntu | — | Upgrade linux-image-gkeopUpgrade linux-image-lowlatencyUpgrade linux-image-azure-lts-24.04Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-6.11.0-1012-azureUpgrade linux-image-oem-22.04aUpgrade linux-image-nvidiaUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-6.11.0-1007-realtimeUpgrade linux-image-oem-24.04bUpgrade linux-image-6.11.0-1011-lowlatency-64kUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-nvidia-lowlatencyUpgrade linux-image-genericUpgrade linux-image-ibmUpgrade linux-image-generic-lpaeUpgrade linux-image-virtualUpgrade linux-image-azure-fdeUpgrade linux-image-6.11.0-1011-awsUpgrade linux-image-6.8.0-1030-azure-fdeUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-oracle-lts-24.04Upgrade linux-image-6.8.0-62-genericUpgrade linux-image-6.8.0-1013-gkeopUpgrade linux-image-oem-22.04Upgrade linux-image-lowlatency-hwe-24.04Upgrade linux-image-6.11.0-1013-oracleUpgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-6.8.0-1029-nvidiaUpgrade linux-image-6.8.1-1023-realtimeUpgrade linux-image-gkeop-6.8Upgrade linux-image-ibm-classicUpgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-6.8.0-1029-raspiUpgrade linux-image-raspi-realtimeUpgrade linux-image-azure-nvidiaUpgrade linux-image-lowlatency-64k-hwe-24.04Upgrade linux-image-6.8.0-1030-azureUpgrade linux-image-6.8.0-1030-aws-64kUpgrade linux-image-oem-22.04cUpgrade linux-image-generic-64kUpgrade linux-image-6.8.0-1029-nvidia-64kUpgrade linux-image-6.11.0-21-genericUpgrade linux-image-6.8.0-1027-ibmUpgrade linux-image-generic-6.8Upgrade linux-image-6.8.0-62-lowlatency-64kUpgrade linux-image-6.8.0-1031-gcp-64kUpgrade linux-image-realtime-hwe-24.04Upgrade linux-image-6.8.0-62-generic-64kUpgrade linux-image-6.8.0-1031-gcpUpgrade linux-image-6.11.0-1017-oemUpgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-lowlatency-64kUpgrade linux-image-raspiUpgrade linux-image-6.8.0-1026-gkeUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-gcp-lts-24.04Upgrade linux-image-azureUpgrade linux-image-6.11.0-1010-raspiUpgrade linux-image-6.8.0-1029-oemUpgrade linux-image-oem-22.04dUpgrade linux-image-oem-22.04bUpgrade linux-image-6.8.0-1029-nvidia-lowlatency-64kUpgrade linux-image-gcp-64kUpgrade linux-image-6.11.0-1011-lowlatencyUpgrade linux-image-6.11.0-1011-gcp-64kUpgrade linux-image-6.11.0-1012-azure-fdeUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-gkeUpgrade linux-image-oracleUpgrade linux-image-virtual-6.8Upgrade linux-image-6.11.0-21-generic-64kUpgrade linux-image-awsUpgrade linux-image-aws-64kUpgrade linux-image-nvidia-64kUpgrade linux-image-gcpUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-6.8.0-1030-awsUpgrade linux-image-generic-64k-6.8Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-kvmUpgrade linux-image-realtimeUpgrade linux-image-6.8.0-1018-azure-nvidiaUpgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-aws-lts-24.04Upgrade linux-image-6.8.0-1027-oracle-64kUpgrade linux-image-6.11.0-1011-gcpUpgrade linux-image-6.8.0-1029-nvidia-lowlatencyUpgrade linux-image-6.8.0-1027-oracleUpgrade linux-image-oem-24.04Upgrade linux-image-6.11.0-1013-oracle-64kUpgrade linux-image-6.8.0-2024-raspi-realtimeUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-6.8.0-64-generic-64kUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oracle-64kUpgrade linux-image-nvidia-6.8Upgrade linux-image-6.8.0-64-genericUpgrade linux-image-6.8.0-62-lowlatencyUpgrade linux-image-oem-24.04a | 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