CVE-2026-139783
publishedovl: inherit FMODE_NONOTIFY when reading directory layers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < d0f1e713010e7706bd50552a0fb58dc7537fa2b4 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 268bf1aa5b52de142347de75098700f616490341 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < e9d1ef4cade7b6eacea46e875862b00252b8edb0 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 8a88208eed4173a572f195c0adc9e5b7545f7e81 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 0f2826c8db7e40a423bb0afc06e748341eef70e7 · e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 9ff338af0e002fe217cfa16b1289b76f6b21fc72 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.18 (affected) · 0 to < 3.18 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < d0f1e713010e7706bd50552a0fb58dc7537fa2b4 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 268bf1aa5b52de142347de75098700f616490341 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < e9d1ef4cade7b6eacea46e875862b00252b8edb0 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 8a88208eed4173a572f195c0adc9e5b7545f7e81 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 0f2826c8db7e40a423bb0afc06e748341eef70e7 (affected · git)e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c to < 9ff338af0e002fe217cfa16b1289b76f6b21fc72 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.18 (affected)0 to < 3.18 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0f2826c8db7e40a423bb0afc06e748341eef70e7
- https://git.kernel.org/stable/c/268bf1aa5b52de142347de75098700f616490341
- https://git.kernel.org/stable/c/3b35ae5f771b93c2b1a49fa72f70f6a522b685d1
- https://git.kernel.org/stable/c/80317133e06a3ca4f5a3343e9f0e0df1a4b7a023
- https://git.kernel.org/stable/c/8a88208eed4173a572f195c0adc9e5b7545f7e81
- https://git.kernel.org/stable/c/9ff338af0e002fe217cfa16b1289b76f6b21fc72
- https://git.kernel.org/stable/c/d0f1e713010e7706bd50552a0fb58dc7537fa2b4
- https://git.kernel.org/stable/c/e9d1ef4cade7b6eacea46e875862b00252b8edb0
Provider assertions
1Linux · cna
ovl: inherit FMODE_NONOTIFY when reading directory layers
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d829c942847c271790e6f534bbf63c28763dc85380df0ef916d9879ef3948b4a
- Ingested
- 02 Dec 2026, 09:26:24 UTC
- Source record
- Official CVE record