CVE-2026-43153
Awaiting Analysis Awaiting Analysis - Queue

Memory Corruption in Linux Kernel XFS Filesystem

Vulnerability report for CVE-2026-43153, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-06

Last updated on: 2026-05-08

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-06
Last Modified
2026-05-08
Generated
2026-07-06
AI Q&A
2026-05-06
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is related to the Linux kernel's xfs filesystem code, specifically the function xfs_attr_leaf_hasname(). The issue arises because this function's calling convention is problematic: it returns different types of buffer pointers depending on various error conditions, including returning a non-NULL pointer to a buffer that has already been released. This inconsistent behavior can lead to improper handling of memory buffers.

The fix involved removing the xfs_attr_leaf_hasname() function and instead implementing its logic directly in the callers. This ensures that each caller properly manages the release of buffers returned by xfs_attr3_leaf_read(), preventing the use of invalid or already freed buffers.

Impact Analysis

This vulnerability can lead to improper memory management within the Linux kernel's xfs filesystem code. Specifically, it may cause the use of invalid or already freed memory buffers, which can result in system instability, crashes, or potential security issues such as memory corruption.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-43153. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart