CVE-2026-139783
ovl: inherit FMODE_NONOTIFY when reading directory layers
AI summary AI generated
A local attacker able to trigger fanotify permission events can cause a deadlock when listing overlay directories in the Linux kernel's overlayfs.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0f1e713010e7706bd50552a0fb58dc7537fa2b4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 268bf1aa5b52de142347de75098700f616490341; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e9d1ef4cade7b6eacea46e875862b00252b8edb0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a88208eed4173a572f195c0adc9e5b7545f7e81; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0f2826c8db7e40a423bb0afc06e748341eef70e7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ff338af0e002fe217cfa16b1289b76f6b21fc72; < 5.10.275; < 5.15.226; …
- Anyone running Linux all versions
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0f1e713010e7706bd50552a0fb58dc7537fa2b4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 268bf1aa5b52de142347de75098700f616490341; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e9d1ef4cade7b6eacea46e875862b00252b8edb0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a88208eed4173a572f195c0adc9e5b7545f7e81; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0f2826c8db7e40a423bb0afc06e748341eef70e7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ff338af0e002fe217cfa16b1289b76f6b21fc72; < 5.10.275; < 5.15.226; …; Linux all versions
- Fixed in
- Linux 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1, Linux 268bf1aa5b52de142347de75098700f616490341, Linux 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023, Linux 8a88208eed4173a572f195c0adc9e5b7545f7e81, Linux 0f2826c8db7e40a423bb0afc06e748341eef70e7, Linux 9ff338af0e002fe217cfa16b1289b76f6b21fc72, Linux 5.10.275, Linux 5.15.226
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0f1e713010e7706bd50552a0fb58dc7537fa2b4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 268bf1aa5b52de142347de75098700f616490341; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e9d1ef4cade7b6eacea46e875862b00252b8edb0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a88208eed4173a572f195c0adc9e5b7545f7e81; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0f2826c8db7e40a423bb0afc06e748341eef70e7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ff338af0e002fe217cfa16b1289b76f6b21fc72; < 5.10.275; < 5.15.226; … | — | cvelist |
| Linux | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139783. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139783.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0f1e713010e7706bd50552a0fb58dc7537fa2b4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 268bf1aa5b52de142347de75098700f616490341; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1, Linux 268bf1aa5b52de142347de75098700f616490341, Linux 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023, Linux 8a88208eed4173a572f195c0adc9e5b7545f7e81, Linux 0f2826c8db7e40a423bb0afc06e748341eef70e7, Linux 9ff338af0e002fe217cfa16b1289b76f6b21fc72, Linux 5.10.… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/d0f1e713010e7706bd50552a0fb58dc7537fa2b4
- https://git.kernel.org/stable/c/3b35ae5f771b93c2b1a49fa72f70f6a522b685d1
- https://git.kernel.org/stable/c/268bf1aa5b52de142347de75098700f616490341
- https://git.kernel.org/stable/c/e9d1ef4cade7b6eacea46e875862b00252b8edb0
- https://git.kernel.org/stable/c/80317133e06a3ca4f5a3343e9f0e0df1a4b7a023
- https://git.kernel.org/stable/c/8a88208eed4173a572f195c0adc9e5b7545f7e81
- https://git.kernel.org/stable/c/0f2826c8db7e40a423bb0afc06e748341eef70e7
- https://git.kernel.org/stable/c/9ff338af0e002fe217cfa16b1289b76f6b21fc72
FAQ
Is CVE-2026-139783 being exploited?
There is no confirmed exploitation: CVE-2026-139783 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139783?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139783?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0f1e713010e7706bd50552a0fb58dc7537fa2b4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 268bf1aa5b52de142347de75098700f616490341; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e9d1ef4cade7b6eacea46e875862b00252b8edb0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a88208eed4173a572f195c0adc9e5b7545f7e81; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0f2826c8db7e40a423bb0afc06e748341eef70e7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9ff338af0e002fe217cfa16b1289b76f6b21fc72; < 5.10.275; < 5.15.226; …; Linux all versions.
Is there a fix for CVE-2026-139783?
Yes. Fixed in Linux 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1, Linux 268bf1aa5b52de142347de75098700f616490341, Linux 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023, Linux 8a88208eed4173a572f195c0adc9e5b7545f7e81, Linux 0f2826c8db7e40a423bb0afc06e748341eef70e7, Linux 9ff338af0e002fe217cfa16b1289b76f6b21fc72, Linux 5.10.275, Linux 5.15.226. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-139783?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |