{"id":"CVE-2026-43153","aliases":["CVE-2026-43153"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: remove xfs_attr_leaf_hasname","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: remove xfs_attr_leaf_hasname\n\nThe calling convention of xfs_attr_leaf_hasname() is problematic, because\nit returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer\nwhen xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a\nnon-NULL buffer pointer for an already released buffer when\nxfs_attr3_leaf_lookup_int fails with other error values.\n\nFix this by simply open coding xfs_attr_leaf_hasname in the callers, so\nthat the buffer release code is done by each caller of\nxfs_attr3_leaf_read.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: remove xfs_attr_leaf_hasname\n\nThe calling convention of xfs_attr_leaf_hasname() is problematic, because\nit returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer\nwhen xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a\nnon-NULL buffer pointer for an already released buffer when\nxfs_attr3_leaf_lookup_int fails with other error values.\n\nFix this by simply open coding xfs_attr_leaf_hasname in the callers, so\nthat the buffer release code is done by each caller of\nxfs_attr3_leaf_read.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxfs: eliminar xfs_attr_leaf_hasname\n\nLa convención de llamada de xfs_attr_leaf_hasname() es problemática, porque devuelve un búfer NULL cuando xfs_attr3_leaf_read falla, un búfer válido cuando xfs_attr3_leaf_lookup_int devuelve -ENOATTR o -EEXIST, y un puntero de búfer no-NULL para un búfer ya liberado cuando xfs_attr3_leaf_lookup_int falla con otros valores de error.\n\nSolucione esto simplemente codificando abiertamente xfs_attr_leaf_hasname en los llamadores, para que el código de liberación del búfer sea realizado por cada llamador de xfs_attr3_leaf_read.","source":"nvd"}],"published":"2026-05-06T11:27:34.446Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"dfb3474230d392f809359f15aeaa9be4b1798199","status":"affected"},{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"759e44a6cba8e81d945ffc269a326ec39e7f54f5","status":"affected"},{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"2fbc8421d1db102c0e5458607e042a23a03648b1","status":"affected"},{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"457121c01f609b9934addbb04d5c1ef638c71c61","status":"affected"},{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"530082df991903f3330354e99e0cb7b05debfa86","status":"affected"},{"type":"git","introduced":"07120f1abdff80f3d1351f733661abe28d609535","fixed":"3a65ea768b8094e4699e72f9ab420eb9e0f3f568","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dfb3474230d392f809359f15aeaa9be4b1798199","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/759e44a6cba8e81d945ffc269a326ec39e7f54f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2fbc8421d1db102c0e5458607e042a23a03648b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/457121c01f609b9934addbb04d5c1ef638c71c61","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/530082df991903f3330354e99e0cb7b05debfa86","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a65ea768b8094e4699e72f9ab420eb9e0f3f568","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:15:12.446Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43153","url":"https://www.cve.org/CVERecord?id=CVE-2026-43153","licence":"CVE Terms of Use","modified":"2026-10-30T12:25:04.870Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43153","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43153","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.701Z","epss":{"score":0.00176,"percentile":0.07432,"date":"2026-12-01T12:00:22.000Z"}}