{"api_version":"1","generated_at":"2026-11-30T18:46:14+00:00","cve":"CVE-2026-139783","urls":{"html":"https://cve.report/CVE-2026-139783","api":"https://cve.report/api/cve/CVE-2026-139783.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139783","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139783"},"summary":{"title":"ovl: inherit FMODE_NONOTIFY when reading directory layers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: inherit FMODE_NONOTIFY when reading directory layers\n\nListing a merged or impure overlay directory opens the real layer\ndirectories from ovl_dir_read(), when the readdir cache is filled.\nThose opens use plain ovl_path_open(), so when the directory fd is\none that fanotify created for a permission event, they can still raise\nFS_OPEN_PERM.  A listener that also marks the backing filesystem and\ncalls getdents() on the event fd before answering then deadlocks the\nsame way as with the directory open fixed by the previous commit.\n\nStore the overlay user file in struct ovl_readdir_data and pass it to\novl_path_open_realfile() from ovl_dir_read(), for both the merged and\nthe impure cache.  Internal readers such as ovl_check_empty_dir() and\nthe mount-time workdir cleanup still pass no user file.\n\nA note about severity and real world impact: The FAN_OPEN_PERM event is\ntraditionally used by anti-malware protection agents and security/audit\nagents. The scope that is often used in those use cases is FAN_MARK_MOUNT\nand agents typically monitor multiple mounts in a mount namespace.\nFAN_OPEN_PERM from directory open requires user opt-in with FAN_ONDIR.\nIt is often not the case that anti-malware agents monitor open of\ndirectories. Security/audit engines are more likely to opt-into\nFAN_OPEN_PERM on directories, but are less likely to list the content\nof a directory within the scope of FAN_OPEN_PERM event, so the real\nworld impact of this bug is likely not significant.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:11","updated_at":"2026-11-30 14:20:11"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/268bf1aa5b52de142347de75098700f616490341","name":"https://git.kernel.org/stable/c/268bf1aa5b52de142347de75098700f616490341","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9ff338af0e002fe217cfa16b1289b76f6b21fc72","name":"https://git.kernel.org/stable/c/9ff338af0e002fe217cfa16b1289b76f6b21fc72","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3b35ae5f771b93c2b1a49fa72f70f6a522b685d1","name":"https://git.kernel.org/stable/c/3b35ae5f771b93c2b1a49fa72f70f6a522b685d1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/80317133e06a3ca4f5a3343e9f0e0df1a4b7a023","name":"https://git.kernel.org/stable/c/80317133e06a3ca4f5a3343e9f0e0df1a4b7a023","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e9d1ef4cade7b6eacea46e875862b00252b8edb0","name":"https://git.kernel.org/stable/c/e9d1ef4cade7b6eacea46e875862b00252b8edb0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0f2826c8db7e40a423bb0afc06e748341eef70e7","name":"https://git.kernel.org/stable/c/0f2826c8db7e40a423bb0afc06e748341eef70e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d0f1e713010e7706bd50552a0fb58dc7537fa2b4","name":"https://git.kernel.org/stable/c/d0f1e713010e7706bd50552a0fb58dc7537fa2b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8a88208eed4173a572f195c0adc9e5b7545f7e81","name":"https://git.kernel.org/stable/c/8a88208eed4173a572f195c0adc9e5b7545f7e81","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139783","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139783","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 d0f1e713010e7706bd50552a0fb58dc7537fa2b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 3b35ae5f771b93c2b1a49fa72f70f6a522b685d1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 268bf1aa5b52de142347de75098700f616490341 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e9d1ef4cade7b6eacea46e875862b00252b8edb0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 80317133e06a3ca4f5a3343e9f0e0df1a4b7a023 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 8a88208eed4173a572f195c0adc9e5b7545f7e81 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 0f2826c8db7e40a423bb0afc06e748341eef70e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9ff338af0e002fe217cfa16b1289b76f6b21fc72 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.275 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.226 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.119 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.65 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/overlayfs/readdir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d0f1e713010e7706bd50552a0fb58dc7537fa2b4","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"3b35ae5f771b93c2b1a49fa72f70f6a522b685d1","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"268bf1aa5b52de142347de75098700f616490341","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"e9d1ef4cade7b6eacea46e875862b00252b8edb0","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"80317133e06a3ca4f5a3343e9f0e0df1a4b7a023","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"8a88208eed4173a572f195c0adc9e5b7545f7e81","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"0f2826c8db7e40a423bb0afc06e748341eef70e7","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9ff338af0e002fe217cfa16b1289b76f6b21fc72","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"5.10.275","status":"affected","version":"0","versionType":"semver"},{"lessThan":"5.15.226","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.1.193","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.12.119","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.18.65","status":"affected","version":"0","versionType":"semver"},{"lessThan":"7.3.6","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/overlayfs/readdir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: inherit FMODE_NONOTIFY when reading directory layers\n\nListing a merged or impure overlay directory opens the real layer\ndirectories from ovl_dir_read(), when the readdir cache is filled.\nThose opens use plain ovl_path_open(), so when the directory fd is\none that fanotify created for a permission event, they can still raise\nFS_OPEN_PERM.  A listener that also marks the backing filesystem and\ncalls getdents() on the event fd before answering then deadlocks the\nsame way as with the directory open fixed by the previous commit.\n\nStore the overlay user file in struct ovl_readdir_data and pass it to\novl_path_open_realfile() from ovl_dir_read(), for both the merged and\nthe impure cache.  Internal readers such as ovl_check_empty_dir() and\nthe mount-time workdir cleanup still pass no user file.\n\nA note about severity and real world impact: The FAN_OPEN_PERM event is\ntraditionally used by anti-malware protection agents and security/audit\nagents. The scope that is often used in those use cases is FAN_MARK_MOUNT\nand agents typically monitor multiple mounts in a mount namespace.\nFAN_OPEN_PERM from directory open requires user opt-in with FAN_ONDIR.\nIt is often not the case that anti-malware agents monitor open of\ndirectories. Security/audit engines are more likely to opt-into\nFAN_OPEN_PERM on directories, but are less likely to list the content\nof a directory within the scope of FAN_OPEN_PERM event, so the real\nworld impact of this bug is likely not significant."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:57.778Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/d0f1e713010e7706bd50552a0fb58dc7537fa2b4"},{"url":"https://git.kernel.org/stable/c/3b35ae5f771b93c2b1a49fa72f70f6a522b685d1"},{"url":"https://git.kernel.org/stable/c/268bf1aa5b52de142347de75098700f616490341"},{"url":"https://git.kernel.org/stable/c/e9d1ef4cade7b6eacea46e875862b00252b8edb0"},{"url":"https://git.kernel.org/stable/c/80317133e06a3ca4f5a3343e9f0e0df1a4b7a023"},{"url":"https://git.kernel.org/stable/c/8a88208eed4173a572f195c0adc9e5b7545f7e81"},{"url":"https://git.kernel.org/stable/c/0f2826c8db7e40a423bb0afc06e748341eef70e7"},{"url":"https://git.kernel.org/stable/c/9ff338af0e002fe217cfa16b1289b76f6b21fc72"}],"title":"ovl: inherit FMODE_NONOTIFY when reading directory layers","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139783","datePublished":"2026-11-30T13:37:57.778Z","dateReserved":"2026-11-30T13:22:15.952Z","dateUpdated":"2026-11-30T13:37:57.778Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:11","lastModifiedDate":"2026-11-30 14:20:11","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139783","Ordinal":"1","Title":"ovl: inherit FMODE_NONOTIFY when reading directory layers","CVE":"CVE-2026-139783","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139783","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: inherit FMODE_NONOTIFY when reading directory layers\n\nListing a merged or impure overlay directory opens the real layer\ndirectories from ovl_dir_read(), when the readdir cache is filled.\nThose opens use plain ovl_path_open(), so when the directory fd is\none that fanotify created for a permission event, they can still raise\nFS_OPEN_PERM.  A listener that also marks the backing filesystem and\ncalls getdents() on the event fd before answering then deadlocks the\nsame way as with the directory open fixed by the previous commit.\n\nStore the overlay user file in struct ovl_readdir_data and pass it to\novl_path_open_realfile() from ovl_dir_read(), for both the merged and\nthe impure cache.  Internal readers such as ovl_check_empty_dir() and\nthe mount-time workdir cleanup still pass no user file.\n\nA note about severity and real world impact: The FAN_OPEN_PERM event is\ntraditionally used by anti-malware protection agents and security/audit\nagents. The scope that is often used in those use cases is FAN_MARK_MOUNT\nand agents typically monitor multiple mounts in a mount namespace.\nFAN_OPEN_PERM from directory open requires user opt-in with FAN_ONDIR.\nIt is often not the case that anti-malware agents monitor open of\ndirectories. Security/audit engines are more likely to opt-into\nFAN_OPEN_PERM on directories, but are less likely to list the content\nof a directory within the scope of FAN_OPEN_PERM event, so the real\nworld impact of this bug is likely not significant.","Type":"Description","Title":"ovl: inherit FMODE_NONOTIFY when reading directory layers"}]}}}