CVE-2026-74399
JSON

Not scored

evm: terminate and bound the evm_xattrs read buffer

Severity
Not scored
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom fa516b66a1bfce1d72f1620c54bdfebc493000d1 before 8df81954d22a653a8b01d46692cd56f71137269b, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before 0b9f8282b40af4a99d6243d2cb939d14ff36b049, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before a36cbfb85f26e6c6fb6529b1a364331b94dc88f3, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before 12ad52dc45a0c8c9d25e85b4a84201de4c5420ed, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before 38b7d63b23aa9d2ddde7688040e9426d32be4065, from fa516b66a1bfce1d72f1620c54bdfebc493000d1 before 11143a19f5b8dc8f414deab87571134f9f447313, 4.18
Not affected: before 4.18, from 5.15.212 up to 5.15.*, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.*, from 6.18.40 up to 6.18.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74399 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-74399 changed 2026-11-06Public domain