7.8high
xfs: remove xfs_attr_leaf_hasname
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: remove xfs_attr_leaf_hasname The calling convention of xfs_attr_leaf_hasname() is problematic, because it returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer when xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a non-NULL buffer pointer for an already released buffer when xfs_attr3_leaf_lookup_int fails with other error values. Fix this by simply open coding xfs_attr_leaf_hasname in the callers, so that the buffer release code is done by each caller of xfs_attr3_leaf_read.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 07120f1abdff80f3d1351f733661abe28d609535 before dfb3474230d392f809359f15aeaa9be4b1798199, from 07120f1abdff80f3d1351f733661abe28d609535 before 759e44a6cba8e81d945ffc269a326ec39e7f54f5, from 07120f1abdff80f3d1351f733661abe28d609535 before 2fbc8421d1db102c0e5458607e042a23a03648b1, from 07120f1abdff80f3d1351f733661abe28d609535 before 457121c01f609b9934addbb04d5c1ef638c71c61, from 07120f1abdff80f3d1351f733661abe28d609535 before 530082df991903f3330354e99e0cb7b05debfa86, from 07120f1abdff80f3d1351f733661abe28d609535 before 3a65ea768b8094e4699e72f9ab420eb9e0f3f568, 5.9 Not affected: before 5.9, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.* | CVE List |
| linux linux_kernel | from 5.9 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: xfs: remove xfs_attr_leaf_hasname The calling convention of xfs_attr_leaf_hasname() is problematic, because it returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer when xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a non-NULL buffer pointer for an already released buffer when xfs_attr3_leaf_lookup_int fails with other error values. Fix this by simply open coding xfs_attr_leaf_hasname in the callers, so that the buffer release code is done by each caller of xfs_attr3_leaf_read.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfs: eliminar xfs_attr_leaf_hasname La 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. Solucione 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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43153 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-43153 changed 2026-11-11 | Public domain |