{"id":"CVE-2026-64146","summary":"erofs: fix metabuf leak in inode xattr initialization","details":"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.","modified":"2026-11-01T02:38:32.730223292Z","published":"2026-07-19T15:40:37.474Z","related":["SUSE-SU-2026:23881-1","SUSE-SU-2026:23887-1","SUSE-SU-2026:23897-1","SUSE-SU-2026:23902-1","SUSE-SU-2026:4120-1","SUSE-SU-2026:4254-1","openSUSE-SU-2026:21910-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64146.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3812cfe6cb0a5988df4fedcdaf9aab677b9cca61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/492c73b21fefa36f3869cb2b188ffb7fe37b3a9b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79b09c54c6563df9846ca3094bcfd72082c3e1d7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89682dd09efb3825b0f162a72e342c52b69ea14a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4a552e0b6413c1af2e140b5bc14bb849b411b57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fcb23bb31508b62e8a1b32adf6217820e90e29b0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64146.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64146"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bb88e8da00253bea0e7f0f4cdfd7910572d7799f"},{"fixed":"89682dd09efb3825b0f162a72e342c52b69ea14a"},{"fixed":"3812cfe6cb0a5988df4fedcdaf9aab677b9cca61"},{"fixed":"e4a552e0b6413c1af2e140b5bc14bb849b411b57"},{"fixed":"fcb23bb31508b62e8a1b32adf6217820e90e29b0"},{"fixed":"492c73b21fefa36f3869cb2b188ffb7fe37b3a9b"},{"fixed":"79b09c54c6563df9846ca3094bcfd72082c3e1d7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64146.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64146.json"}}],"schema_version":"1.9.2"}