# CVE-2026-139783

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139783/
- Yayımlanma: 2026-11-30T17:20:11+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139783)
