CVE-2026-74399
evm: terminate and bound the evm_xattrs read buffer
Description
In the Linux kernel, the following vulnerability has been resolved: evm: terminate and bound the evm_xattrs read buffer evm_read_xattrs() allocates size + 1 bytes, fills them from the list of enabled xattrs, and then passes strlen(temp) to simple_read_from_buffer(). When no configured xattrs are enabled, the fill loop stores nothing and temp[0] remains uninitialized, so strlen() reads beyond initialized memory. Explicitly terminate the buffer after allocation, use snprintf() for each formatted line, and pass the accumulated length, without risk of truncation, to simple_read_from_buffer().
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 15, 2026, 6:22 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-74399
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Terminate buffer after allocation.
- Use snprintf for formatted lines.
- Pass accumulated length to simple_read_from_buffer().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74399.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74399 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74399
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74399 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74399 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': '8df81954d22a653a8b01d46692cd56f71137269b', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': '0b9f8282b40af4a99d6243d2cb939d14ff36b049', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': 'a36cbfb85f26e6c6fb6529b1a364331b94dc88f3', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': '12ad52dc45a0c8c9d25e85b4a84201de4c5420ed', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': 'a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': '38b7d63b23aa9d2ddde7688040e9426d32be4065', 'versionType': 'git'}, {'status': 'affected', 'version': 'fa516b66a1bfce1d72f1620c54bdfebc493000d1', 'lessThan': '11143a19f5b8dc8f414deab87571134f9f447313', 'versionType': 'git'}], 'programFiles': ['security/integrity/evm/evm_secfs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['security/integrity/evm/evm_secfs.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: evm: terminate and bound the evm_xattrs read buffer evm_read_xattrs() allocates size + 1 bytes, fills them from the list of enabled xattrs, and then passes strlen(temp) to simple_read_from_buffer(). When no configured xattrs are enabled, the fill loop stores nothing and temp[0] remains uninitialized, so strlen() reads beyond initialized memory. Explicitly terminate the buffer after allocation, use snprintf() for each formatted line, and pass the accumulated length, without risk of truncation, to simple_read_from_buffer(). Added Reference https://git.kernel.org/stable/c/0b9f8282b40af4a99d6243d2cb939d14ff36b049 Added Reference https://git.kernel.org/stable/c/11143a19f5b8dc8f414deab87571134f9f447313 Added Reference https://git.kernel.org/stable/c/12ad52dc45a0c8c9d25e85b4a84201de4c5420ed Added Reference https://git.kernel.org/stable/c/38b7d63b23aa9d2ddde7688040e9426d32be4065 Added Reference https://git.kernel.org/stable/c/8df81954d22a653a8b01d46692cd56f71137269b Added Reference https://git.kernel.org/stable/c/a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d Added Reference https://git.kernel.org/stable/c/a36cbfb85f26e6c6fb6529b1a364331b94dc88f3