CVE-2026-74399

Source
https://cve.org/CVERecord?id=CVE-2026-74399
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74399.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74399
Downstream
Published
2026-08-15T05:59:10.791Z
Modified
2026-08-16T03:48:50.689472778Z
Summary
evm: terminate and bound the evm_xattrs read buffer
Details

In the Linux kernel, the following vulnerability has been resolved:

evm: terminate and bound the evm_xattrs read buffer

evmreadxattrs() allocates size + 1 bytes, fills them from the list of enabled xattrs, and then passes strlen(temp) to simplereadfrom_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 simplereadfrom_buffer().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74399.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fa516b66a1bfce1d72f1620c54bdfebc493000d1
Fixed
8df81954d22a653a8b01d46692cd56f71137269b
Fixed
0b9f8282b40af4a99d6243d2cb939d14ff36b049
Fixed
a36cbfb85f26e6c6fb6529b1a364331b94dc88f3
Fixed
12ad52dc45a0c8c9d25e85b4a84201de4c5420ed
Fixed
a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d
Fixed
38b7d63b23aa9d2ddde7688040e9426d32be4065
Fixed
11143a19f5b8dc8f414deab87571134f9f447313

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74399.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74399.json"