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