CVE-2026-139783

Not scored yetLast modified Dec 2, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

ovl: inherit FMODE_NONOTIFY when reading directory layers

Listing a merged or impure overlay directory opens the real layer directories from ovl_dir_read(), when the readdir cache is filled. Those opens use plain ovl_path_open(), so when the directory fd is one that fanotify created for a permission event, they can still raise FS_OPEN_PERM. A listener that also marks the backing filesystem and calls getdents() on the event fd before answering then deadlocks the same way as with the directory open fixed by the previous commit.

Store the overlay user file in struct ovl_readdir_data and pass it to ovl_path_open_realfile() from ovl_dir_read(), for both the merged and the impure cache. Internal readers such as ovl_check_empty_dir() and the mount-time workdir cleanup still pass no user file.

A note about severity and real world impact: The FAN_OPEN_PERM event is traditionally used by anti-malware protection agents and security/audit agents. The scope that is often used in those use cases is FAN_MARK_MOUNT and agents typically monitor multiple mounts in a mount namespace. FAN_OPEN_PERM from directory open requires user opt-in with FAN_ONDIR. It is often not the case that anti-malware agents monitor open of directories. Security/audit engines are more likely to opt-into FAN_OPEN_PERM on directories, but are less likely to list the content of a directory within the scope of FAN_OPEN_PERM event, so the real world impact of this bug is likely not significant.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 2, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139784In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: q6apm: clear g_apm on driver removal The global g_apm poinCVE-2026-139785In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags vmCVE-2026-1397867.0In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows So fCVE-2026-139787In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix use-after-free in nvme_tcp_free_ctrl() nvme_tcp_free_ctrCVE-2026-1397887.0In the Linux kernel, the following vulnerability has been resolved: cipso: stop modifying live ip_options_rcu cipso_v4_delopt() operates oCVE-2026-139789In the Linux kernel, the following vulnerability has been resolved: hugetlbfs: enforce F_SEAL_EXEC in setattr F_SEAL_EXEC is enforced by sCVE-2026-139794.3Inappropriate implementation in Paint in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofing via a craftedCVE-2026-139790In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jCVE-2026-139791In the Linux kernel, the following vulnerability has been resolved: net: Use a dedicated flag to track disabled napi instances Trying to dCVE-2026-1397927.0In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Prevent O_APPEND open on OSS streams ALSA PCM core accepts CVE-2026-139793In the Linux kernel, the following vulnerability has been resolved: inet: frags: bound the wmem charge of the socket completing a reassemblCVE-2026-139794In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to fetch ino via ino_of_node() under cache lock In f2fs_writ
CVE-2026-139783: Unscored | Vulnix