{"api_version":"1","generated_at":"2026-12-02T11:59:33+00:00","cve":"CVE-2026-139051","urls":{"html":"https://cve.report/CVE-2026-139051","api":"https://cve.report/api/cve/CVE-2026-139051.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139051","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139051"},"summary":{"title":"fs: make sure to call fsnotify_inoderemove() only once when inode is dead","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: make sure to call fsnotify_inoderemove() only once when inode is dead\n\nDaehyeon reported a race wherein fsnotify_removeinode() can be called\nwhen inode still has a live alias.  This can lead to several undesired\noutcomes such as crashes in fsnotify code or avoidance of inode mark\nnotifications.\n\nCheck that inode is really \"dead\", meaning no nlink and no more aliases\nbefore calling fsnotify_inoderemove() for final cleanup of inode marks.\nAlso do not allow open_by_handle() to add new aliases to a \"dead\" inode.\n\nIdeally, we'd call fsnotify_inoderemove() once last inode reference is\ndropped to make things simpler. Alas fsnotify inode marks currently hold\ninode references and thus this doesn't work. Once we teach fsnotify to\navoid holding inode references, these games with dead inodes can go as\nwell.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:10","updated_at":"2026-12-02 10:17:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/669bb5af15d41a21359d00a441490f87a88eb52a","name":"https://git.kernel.org/stable/c/669bb5af15d41a21359d00a441490f87a88eb52a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/18ba0295bd43fc086408f3cf515bc57491dbbe3c","name":"https://git.kernel.org/stable/c/18ba0295bd43fc086408f3cf515bc57491dbbe3c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1","name":"https://git.kernel.org/stable/c/288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ced6f89824f84baeb80a1775e72776978e641808","name":"https://git.kernel.org/stable/c/ced6f89824f84baeb80a1775e72776978e641808","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139051","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139051","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a 288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a ced6f89824f84baeb80a1775e72776978e641808 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a 18ba0295bd43fc086408f3cf515bc57491dbbe3c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a 669bb5af15d41a21359d00a441490f87a88eb52a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * 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/dcache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1","status":"affected","version":"7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a","versionType":"git"},{"lessThan":"ced6f89824f84baeb80a1775e72776978e641808","status":"affected","version":"7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a","versionType":"git"},{"lessThan":"18ba0295bd43fc086408f3cf515bc57491dbbe3c","status":"affected","version":"7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a","versionType":"git"},{"lessThan":"669bb5af15d41a21359d00a441490f87a88eb52a","status":"affected","version":"7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/dcache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.13"},{"lessThan":"2.6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: make sure to call fsnotify_inoderemove() only once when inode is dead\n\nDaehyeon reported a race wherein fsnotify_removeinode() can be called\nwhen inode still has a live alias.  This can lead to several undesired\noutcomes such as crashes in fsnotify code or avoidance of inode mark\nnotifications.\n\nCheck that inode is really \"dead\", meaning no nlink and no more aliases\nbefore calling fsnotify_inoderemove() for final cleanup of inode marks.\nAlso do not allow open_by_handle() to add new aliases to a \"dead\" inode.\n\nIdeally, we'd call fsnotify_inoderemove() once last inode reference is\ndropped to make things simpler. Alas fsnotify inode marks currently hold\ninode references and thus this doesn't work. Once we teach fsnotify to\navoid holding inode references, these games with dead inodes can go as\nwell."}],"providerMetadata":{"dateUpdated":"2026-12-02T09:21:32.607Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1"},{"url":"https://git.kernel.org/stable/c/ced6f89824f84baeb80a1775e72776978e641808"},{"url":"https://git.kernel.org/stable/c/18ba0295bd43fc086408f3cf515bc57491dbbe3c"},{"url":"https://git.kernel.org/stable/c/669bb5af15d41a21359d00a441490f87a88eb52a"}],"title":"fs: make sure to call fsnotify_inoderemove() only once when inode is dead","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139051","datePublished":"2026-11-30T13:27:24.713Z","dateReserved":"2026-11-30T13:22:15.911Z","dateUpdated":"2026-12-02T09:21:32.607Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:10","lastModifiedDate":"2026-12-02 10:17:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139051","Ordinal":"1","Title":"fs: make sure to call fsnotify_inoderemove() only once when inod","CVE":"CVE-2026-139051","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139051","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: make sure to call fsnotify_inoderemove() only once when inode is dead\n\nDaehyeon reported a race wherein fsnotify_removeinode() can be called\nwhen inode still has a live alias.  This can lead to several undesired\noutcomes such as crashes in fsnotify code or avoidance of inode mark\nnotifications.\n\nCheck that inode is really \"dead\", meaning no nlink and no more aliases\nbefore calling fsnotify_inoderemove() for final cleanup of inode marks.\nAlso do not allow open_by_handle() to add new aliases to a \"dead\" inode.\n\nIdeally, we'd call fsnotify_inoderemove() once last inode reference is\ndropped to make things simpler. Alas fsnotify inode marks currently hold\ninode references and thus this doesn't work. Once we teach fsnotify to\navoid holding inode references, these games with dead inodes can go as\nwell.","Type":"Description","Title":"fs: make sure to call fsnotify_inoderemove() only once when inod"}]}}}