fs: fix user path of nested backing files
CVE-2026-89768 is fixed in 74 products on 1 platform, first by DEBIAN-CVE-2026-89768, released September 23, 2026. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: fs: fix user path of nested backing files backing_file_open() derives the path to be stored in the new backing file from user_file->f_path. This is incorrect when user_file itself is a backing file, which is the case for nested stacking filesystems, e.g. overlayfs mounts where the lowerdir of one overlayfs is the merged directory of another. Since commit def3ae83da02 ("fs: store real path instead of fake path in backing file f_path") the f_path of a backing file holds the real path of the intermediate layer, not the path that the user opened. Commit 924577e4f6ca ("ovl: Fix nested backing file paths") fixed this for such configurations by passing file_user_path() from ovl_open_realfile(). However, commit 6af36aeb147a ("lsm: add backing_file LSM hooks") changed the first argument of backing_file_open() from the user path back to the user file and derived the path from user_file->f_path again, silently re-introducing the problem. As a result, files mapped through a nested overlayfs show the wrong path in /proc/<pid>/maps and in perf/ftrace mmap records. For example, with two nested overlayfs mounts: mkdir -p /ovl/{lower,upper,work,merged} /ovl/nested echo hello > /ovl/lower/foo mount -t overlay overlay \ -o lowerdir=/ovl/lower,upperdir=/ovl/upper,workdir=/ovl/work \ /ovl/merged # at least two lowerdirs are needed when upperdir is nonexistent mount -t overlay overlay \ -o lowerdir=/ovl/merged:/ovl/lower /ovl/nested mapping /ovl/nested/foo shows a disconnected path instead of the user path: # readlink /proc/self/fd/3 /ovl/nested/foo # grep foo /proc/self/maps 7f6e2c100000-7f6e2c101000 r--s 00000000 00:24 15813027 /foo The bogus path is derived from the f_path of the intermediate backing file, whose mount is a private clone that d_path() cannot resolve. Fix this by using file_user_path(), which returns the outermost user-visible path for backing files and falls back to &user_file->f_path for regular files. This restores the behavior of commit 924577e4f6ca ("ovl: Fix nested backing file paths") for overlayfs and also fixes the same problem for the other backing_file_open() callers, fuse passthrough and erofs ishare, when their user file is itself a backing file. backing_tmpfile_open() has the same pattern but is not affected: it is only called by ovl_create_tmpfile() for the upper layer, and another overlayfs is rejected as upperdir by the DCACHE_OP_REAL check in ovl_mount_dir_check(), so its user_file can never be a backing file.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool6.12 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| bpftool6.12-debuginfo · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| bpftool6.18 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| bpftool6.18-debuginfo · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel-livepatch-6.12.110-135.201 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel-livepatch-6.18.51-120.162 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel-uek · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel6.12 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-debuginfo · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-debuginfo-common-aarch64 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-debuginfo-common-x86_64 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-devel · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-headers · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-modules-extra · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-modules-extra-common · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-tools · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-tools-debuginfo · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.12-tools-devel · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| kernel6.18 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-debuginfo · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-aarch64 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-x86_64 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-devel · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-headers · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-modules-extra · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-modules-extra-common · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-tools · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-tools-debuginfo · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| kernel6.18-tools-devel · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.111-1 | DEBIAN-CVE-2026-89768 | Sep 23, 2026 |
| linux · Debian 14 | 7.2.6-1 | DEBIAN-CVE-2026-89768 | Sep 23, 2026 |
| linux-6.12 · Debian 12.15 (bookworm) | 6.12.111-1~deb12u1 | DEBIAN-CVE-2026-89768 | Sep 23, 2026 |
| microvm-kernel6.18 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| perf6.12 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| perf6.12-debuginfo · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| perf6.18 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| perf6.18-debuginfo · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| python3-perf6.12 · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| python3-perf6.12-debuginfo · amzn 2023 | 1:6.12.110-135.201.amzn2023 | ALAS2023-2026-3196 | Nov 7, 2026 |
| python3-perf6.18 · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
| python3-perf6.18-debuginfo · amzn 2023 | 1:6.18.51-120.162.amzn2023 | ALAS2023-2026-3187 | Nov 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.