{"id":"CVE-2026-74399","aliases":["CVE-2026-74399"],"related":[],"kind":"vulnerability","state":"published","title":"evm: terminate and bound the evm_xattrs read buffer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nevm: terminate and bound the evm_xattrs read buffer\n\nevm_read_xattrs() allocates size + 1 bytes, fills them from the list of\nenabled xattrs, and then passes strlen(temp) to\nsimple_read_from_buffer(). When no configured xattrs are enabled, the\nfill loop stores nothing and temp[0] remains uninitialized, so strlen()\nreads beyond initialized memory.\n\nExplicitly terminate the buffer after allocation, use snprintf() for\neach formatted line, and pass the accumulated length, without risk of\ntruncation, to simple_read_from_buffer().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nevm: terminate and bound the evm_xattrs read buffer\n\nevm_read_xattrs() allocates size + 1 bytes, fills them from the list of\nenabled xattrs, and then passes strlen(temp) to\nsimple_read_from_buffer(). When no configured xattrs are enabled, the\nfill loop stores nothing and temp[0] remains uninitialized, so strlen()\nreads beyond initialized memory.\n\nExplicitly terminate the buffer after allocation, use snprintf() for\neach formatted line, and pass the accumulated length, without risk of\ntruncation, to simple_read_from_buffer().","source":"cvelist"}],"published":"2026-08-15T05:59:10.791Z","modified":"2026-11-06T17:19:47.673Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"8df81954d22a653a8b01d46692cd56f71137269b","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"0b9f8282b40af4a99d6243d2cb939d14ff36b049","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"a36cbfb85f26e6c6fb6529b1a364331b94dc88f3","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"12ad52dc45a0c8c9d25e85b4a84201de4c5420ed","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"38b7d63b23aa9d2ddde7688040e9426d32be4065","status":"affected"},{"type":"git","introduced":"fa516b66a1bfce1d72f1620c54bdfebc493000d1","fixed":"11143a19f5b8dc8f414deab87571134f9f447313","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8df81954d22a653a8b01d46692cd56f71137269b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b9f8282b40af4a99d6243d2cb939d14ff36b049","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a36cbfb85f26e6c6fb6529b1a364331b94dc88f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12ad52dc45a0c8c9d25e85b4a84201de4c5420ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0f64cf8bfcb39e533d9e27aeb763a8d81b7f39d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38b7d63b23aa9d2ddde7688040e9426d32be4065","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11143a19f5b8dc8f414deab87571134f9f447313","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:56:55.812Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74399","url":"https://www.cve.org/CVERecord?id=CVE-2026-74399","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:45.450Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74399","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74399","licence":"Public domain","modified":"2026-11-06T17:19:47.673Z"}],"updatedAt":"2026-11-25T22:59:33.195Z","epss":{"score":0.00173,"percentile":0.07063,"date":"2026-12-01T12:00:22.000Z"}}