{"id":"CVE-2026-143051","state":"PUBLISHED","title":"ovl: fix leak of lowerdata redirect on ovl_get_inode() failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fix leak of lowerdata redirect on ovl_get_inode() failure\n\novl_lookup_layers() moves d->redirect into oip.lowerdata_redirect and\nclears d->redirect before calling ovl_get_inode().  When ovl_get_inode()\nfails, it does not free oip.lowerdata_redirect, and ovl_lookup() frees\nthe already cleared d->redirect, so the lowerdata redirect string is\nleaked.\n\nClear d->redirect only after ovl_get_inode() has succeeded, like\nd->upperredirect, so that ovl_lookup() frees it on failure.","publishedAt":"2026-12-03T09:18:28.169Z","updatedAt":"2026-12-03T09:18:28.169Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b21da920866ad20b5e3119f3b8d2267774b7b0a","status":"affected","lessThan":"6caff173ae6a704dfc56f92d60ffdf545d53b293","versionType":"git"},{"version":"2b21da920866ad20b5e3119f3b8d2267774b7b0a","status":"affected","lessThan":"f1b7e5534854043077bb72afc8d87ad1e0b283e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/namei.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/namei.c"]}],"references":["https://git.kernel.org/stable/c/6caff173ae6a704dfc56f92d60ffdf545d53b293","https://git.kernel.org/stable/c/f1b7e5534854043077bb72afc8d87ad1e0b283e0"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143051.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143051","state":"PUBLISHED","datePublished":"2026-12-03T09:18:28.169Z","dateUpdated":"2026-12-03T09:18:28.169Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.345Z"},"containers":{"cna":{"title":"ovl: fix leak of lowerdata redirect on ovl_get_inode() failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: fix leak of lowerdata redirect on ovl_get_inode() failure\n\novl_lookup_layers() moves d->redirect into oip.lowerdata_redirect and\nclears d->redirect before calling ovl_get_inode().  When ovl_get_inode()\nfails, it does not free oip.lowerdata_redirect, and ovl_lookup() frees\nthe already cleared d->redirect, so the lowerdata redirect string is\nleaked.\n\nClear d->redirect only after ovl_get_inode() has succeeded, like\nd->upperredirect, so that ovl_lookup() frees it on failure."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b21da920866ad20b5e3119f3b8d2267774b7b0a","status":"affected","lessThan":"6caff173ae6a704dfc56f92d60ffdf545d53b293","versionType":"git"},{"version":"2b21da920866ad20b5e3119f3b8d2267774b7b0a","status":"affected","lessThan":"f1b7e5534854043077bb72afc8d87ad1e0b283e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/namei.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/overlayfs/namei.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6caff173ae6a704dfc56f92d60ffdf545d53b293"},{"url":"https://git.kernel.org/stable/c/f1b7e5534854043077bb72afc8d87ad1e0b283e0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:28.169Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}