CVE 7.8 HIGH

xfs: remove xfs_attr_leaf_hasname_CVE-2026-43153

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-43153
Source Linux
Published May 6, 2026 at 11:27
Modified May 8, 2026 at 12:40

Affected Product

Vendor Linux
Product Linux
Version 07120f1abdff80f3d1351f733661abe28d609535
Affected Versions Linux Linux 07120f1abdff80f3d1351f733661abe28d609535
Linux Linux 07120f1abdff80f3d1351f733661abe28d609535
Linux Linux 07120f1abdff80f3d1351f733661abe28d609535
Linux Linux 07120f1abdff80f3d1351f733661abe28d609535
Linux Linux 5.9

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.