{"api_version":"1","generated_at":"2026-07-20T14:43:04+00:00","cve":"CVE-2026-64146","urls":{"html":"https://cve.report/CVE-2026-64146","api":"https://cve.report/api/cve/CVE-2026-64146.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64146","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64146"},"summary":{"title":"erofs: fix metabuf leak in inode xattr initialization","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix metabuf leak in inode xattr initialization\n\ncommit bb88e8da0025 (\"erofs: use meta buffers for xattr operations\")\nconverted xattr operations to use on-stack erofs_buf instances.\nerofs_init_inode_xattrs() uses such a metabuf while reading the inline\nxattr header and shared xattr id array.\n\nSome error paths after erofs_read_metabuf() leave through out_unlock\nwithout dropping the metabuf, so the folio reference can leak.\n\nConsolidate the cleanup at out_unlock. erofs_put_metabuf() is a\nno-op if no folio has been acquired, and this keeps all paths after\ntaking EROFS_I_BL_XATTR_BIT covered by a single cleanup site.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:56","updated_at":"2026-07-19 16:17:56"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/79b09c54c6563df9846ca3094bcfd72082c3e1d7","name":"https://git.kernel.org/stable/c/79b09c54c6563df9846ca3094bcfd72082c3e1d7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/492c73b21fefa36f3869cb2b188ffb7fe37b3a9b","name":"https://git.kernel.org/stable/c/492c73b21fefa36f3869cb2b188ffb7fe37b3a9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64146","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64146","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bb88e8da00253bea0e7f0f4cdfd7910572d7799f 492c73b21fefa36f3869cb2b188ffb7fe37b3a9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bb88e8da00253bea0e7f0f4cdfd7910572d7799f 79b09c54c6563df9846ca3094bcfd72082c3e1d7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * 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/erofs/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"492c73b21fefa36f3869cb2b188ffb7fe37b3a9b","status":"affected","version":"bb88e8da00253bea0e7f0f4cdfd7910572d7799f","versionType":"git"},{"lessThan":"79b09c54c6563df9846ca3094bcfd72082c3e1d7","status":"affected","version":"bb88e8da00253bea0e7f0f4cdfd7910572d7799f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/erofs/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix metabuf leak in inode xattr initialization\n\ncommit bb88e8da0025 (\"erofs: use meta buffers for xattr operations\")\nconverted xattr operations to use on-stack erofs_buf instances.\nerofs_init_inode_xattrs() uses such a metabuf while reading the inline\nxattr header and shared xattr id array.\n\nSome error paths after erofs_read_metabuf() leave through out_unlock\nwithout dropping the metabuf, so the folio reference can leak.\n\nConsolidate the cleanup at out_unlock. erofs_put_metabuf() is a\nno-op if no folio has been acquired, and this keeps all paths after\ntaking EROFS_I_BL_XATTR_BIT covered by a single cleanup site."}],"providerMetadata":{"dateUpdated":"2026-07-19T15:40:37.474Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/492c73b21fefa36f3869cb2b188ffb7fe37b3a9b"},{"url":"https://git.kernel.org/stable/c/79b09c54c6563df9846ca3094bcfd72082c3e1d7"}],"title":"erofs: fix metabuf leak in inode xattr initialization","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-64146","datePublished":"2026-07-19T15:40:37.474Z","dateReserved":"2026-07-19T07:54:57.037Z","dateUpdated":"2026-07-19T15:40:37.474Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:56","lastModifiedDate":"2026-07-19 16:17:56","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"64146","Ordinal":"1","Title":"erofs: fix metabuf leak in inode xattr initialization","CVE":"CVE-2026-64146","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"64146","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix metabuf leak in inode xattr initialization\n\ncommit bb88e8da0025 (\"erofs: use meta buffers for xattr operations\")\nconverted xattr operations to use on-stack erofs_buf instances.\nerofs_init_inode_xattrs() uses such a metabuf while reading the inline\nxattr header and shared xattr id array.\n\nSome error paths after erofs_read_metabuf() leave through out_unlock\nwithout dropping the metabuf, so the folio reference can leak.\n\nConsolidate the cleanup at out_unlock. erofs_put_metabuf() is a\nno-op if no folio has been acquired, and this keeps all paths after\ntaking EROFS_I_BL_XATTR_BIT covered by a single cleanup site.","Type":"Description","Title":"erofs: fix metabuf leak in inode xattr initialization"}]}}}