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 kernel-headersUpgrade perfUpgrade perf-debuginfoUpgrade kernel-libbpf-debuginfoUpgrade kernel-tools-develUpgrade kernel-livepatch-6.1.153-175.280Upgrade kernel-modules-extra-commonUpgrade python3-perfUpgrade kernel-livepatch-6.1.155-176.282Upgrade kernel-debuginfo-common-aarch64Upgrade kernel-debuginfo-common-x86_64Upgrade kernel-debuginfoUpgrade kernel-develUpgrade kernel-libbpfUpgrade python3-perf-debuginfoUpgrade kernel-tools-debuginfoUpgrade bpftool-debuginfoUpgrade kernel-libbpf-develUpgrade kernelUpgrade kernel-modules-extraUpgrade kernel-libbpf-staticUpgrade bpftoolUpgrade kernel-tools | Sep 30, 2025 | Jan 19, 2025 |
| Debian | — | Upgrade linux-6.1Upgrade linux | May 15, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp11 | — | Upgrade bpftoolUpgrade kernel-tools-libsUpgrade kernelUpgrade kernel-toolsUpgrade python3-perfUpgrade kernel-abi-stablelists | Apr 11, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade python3-perfUpgrade kernelUpgrade kernel-tools-libsUpgrade kernel-abi-stablelistsUpgrade bpftoolUpgrade kernel-tools | May 7, 2025 | Jan 19, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade python3-perfUpgrade kernel-abi-stablelistsUpgrade kernelUpgrade kernel-tools-libsUpgrade bpftoolUpgrade kernel-tools | Apr 1, 2025 | Jan 19, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jan 19, 2025 |
| Ubuntu | — | Upgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-6.8.0-1030-azure-fdeUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-6.8.1-1023-realtimeUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-6.8.0-1013-gkeopUpgrade linux-image-6.11.0-1012-azureUpgrade linux-image-lowlatency-hwe-24.04Upgrade linux-image-6.8.0-62-generic-64kUpgrade linux-image-6.8.0-1027-ibmUpgrade linux-image-oem-22.04aUpgrade linux-image-6.11.0-1007-realtimeUpgrade linux-image-gkeop-6.8Upgrade linux-image-ibm-classicUpgrade linux-image-azure-nvidiaUpgrade linux-image-generic-lpaeUpgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-6.8.0-1029-nvidia-64kUpgrade linux-image-lowlatency-64kUpgrade linux-image-generic-6.8Upgrade linux-image-6.11.0-21-genericUpgrade linux-image-6.8.0-62-genericUpgrade linux-image-6.8.0-1031-gcp-64kUpgrade linux-image-oem-24.04bUpgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-azure-fde-lts-24.04Upgrade linux-image-realtime-hwe-24.04Upgrade linux-image-azure-lts-24.04Upgrade linux-image-gkeopUpgrade linux-image-oem-22.04Upgrade linux-image-lowlatencyUpgrade linux-image-6.11.0-1017-oemUpgrade linux-image-6.8.0-1029-nvidiaUpgrade linux-image-6.11.0-1013-oracleUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-virtualUpgrade linux-image-6.11.0-1011-lowlatency-64kUpgrade linux-image-6.8.0-1031-gcpUpgrade linux-image-6.8.0-62-lowlatency-64kUpgrade linux-image-nvidiaUpgrade linux-image-genericUpgrade linux-image-lowlatency-64k-hwe-24.04Upgrade linux-image-raspi-realtimeUpgrade linux-image-6.8.0-1030-aws-64kUpgrade linux-image-6.8.0-1030-azureUpgrade linux-image-generic-64kUpgrade linux-image-oem-22.04cUpgrade linux-image-nvidia-lowlatencyUpgrade linux-image-6.11.0-1011-awsUpgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-6.8.0-1029-raspiUpgrade linux-image-azure-fdeUpgrade linux-image-ibmUpgrade linux-image-6.8.0-2024-raspi-realtimeUpgrade linux-image-virtual-hwe-22.04Upgrade linux-image-gcpUpgrade linux-image-6.8.0-1026-gkeUpgrade linux-image-6.11.0-1013-oracle-64kUpgrade linux-image-6.8.0-1029-nvidia-lowlatencyUpgrade linux-image-6.8.0-1027-oracleUpgrade linux-image-6.11.0-1010-raspiUpgrade linux-image-6.11.0-1012-azure-fdeUpgrade linux-image-oracle-64kUpgrade linux-image-6.8.0-1029-nvidia-lowlatency-64kUpgrade linux-image-gcp-64kUpgrade linux-image-6.8.0-1027-oracle-64kUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-6.8.0-1018-azure-nvidiaUpgrade linux-image-6.11.0-1011-gcpUpgrade linux-image-realtimeUpgrade linux-image-kvmUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-aws-64k-lts-24.04Upgrade linux-image-aws-lts-24.04Upgrade linux-image-awsUpgrade linux-image-oem-24.04Upgrade linux-image-6.11.0-21-generic-64kUpgrade linux-image-gcp-lts-24.04Upgrade linux-image-6.8.0-62-lowlatencyUpgrade linux-image-raspiUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-virtual-6.8Upgrade linux-image-gkeUpgrade linux-image-oracleUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-azureUpgrade linux-image-nvidia-64kUpgrade linux-image-generic-64k-6.8Upgrade linux-image-6.8.0-1030-awsUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-oem-22.04dUpgrade linux-image-oem-22.04bUpgrade linux-image-aws-64kUpgrade linux-image-6.8.0-1029-oemUpgrade linux-image-6.8.0-64-genericUpgrade linux-image-6.11.0-1011-lowlatencyUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-6.11.0-1011-gcp-64kUpgrade linux-image-nvidia-6.8Upgrade linux-image-6.8.0-64-generic-64kUpgrade 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