CVE-2026-74399

evm: terminate and bound the evm_xattrs read buffer

N/A
Published: August 15, 2026 at 05:59 AM UTC
Updated: August 17, 2026 at 06:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 5.15.2124.18 ≤ v < 6.1.1784.18 ≤ v < 6.12.974.18 ≤ v < 6.18.404.18 ≤ v < 6.6.1454.18 ≤ v < 7.1.54.18 ≤ v < 7.24.18fa516b66a1bfce1d72f1620c54bdfebc493000d1
Vendor states this is fixed in 0b9f8282b40af4a99d6243d2cb939d14ff36b049 (fixed)
Vendor states this is fixed in 11143a19f5b8dc8f414deab87571134f9f447313 (fixed)
Vendor states this is fixed in 12ad52dc45a0c8c9d25e85b4a84201de4c5420ed (fixed)
Vendor states this is fixed in 38b7d63b23aa9d2ddde7688040e9426d32be4065 (fixed)
Vendor states this is fixed in 8df81954d22a653a8b01d46692cd56f71137269b (fixed)
Vendor states this is fixed in a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d (fixed)
Vendor states this is fixed in a36cbfb85f26e6c6fb6529b1a364331b94dc88f3 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card