{"id":"CVE-2026-46094","aliases":["CVE-2026-46094"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: fix bounds check in check_xattrs() to prevent out-of-bounds access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix bounds check in check_xattrs() to prevent out-of-bounds access\n\nThe bounds check for the next xattr entry in check_xattrs() uses\n(void *)next >= end, which allows next to point within sizeof(u32)\nbytes of end. On the next loop iteration, IS_LAST_ENTRY() reads 4\nbytes via *(__u32 *)(entry), which can overrun the valid xattr region.\n\nFor example, if next lands at end - 1, the check passes since\nnext < end, but IS_LAST_ENTRY() reads 4 bytes starting at end - 1,\naccessing 3 bytes beyond the valid region.\n\nFix this by changing the check to (void *)next + sizeof(u32) > end,\nensuring there is always enough space for the IS_LAST_ENTRY() read\non the subsequent iteration.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix bounds check in check_xattrs() to prevent out-of-bounds access\n\nThe bounds check for the next xattr entry in check_xattrs() uses\n(void *)next >= end, which allows next to point within sizeof(u32)\nbytes of end. On the next loop iteration, IS_LAST_ENTRY() reads 4\nbytes via *(__u32 *)(entry), which can overrun the valid xattr region.\n\nFor example, if next lands at end - 1, the check passes since\nnext < end, but IS_LAST_ENTRY() reads 4 bytes starting at end - 1,\naccessing 3 bytes beyond the valid region.\n\nFix this by changing the check to (void *)next + sizeof(u32) > end,\nensuring there is always enough space for the IS_LAST_ENTRY() read\non the subsequent iteration.","source":"cvelist"}],"published":"2026-05-27T12:58:45.304Z","modified":"2026-11-06T17:17:37.353Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","fixed":"ab6da97bc310db35d4e4ef5354bc3ff626b0698c","status":"affected"},{"type":"git","introduced":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","fixed":"5a5314d2387633a272a04d1bd8727f99058e4e68","status":"affected"},{"type":"git","introduced":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","fixed":"537e065977022aa22f2c2503e8accaf16622e0fd","status":"affected"},{"type":"git","introduced":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","fixed":"520986722dbf869c122252123fc161c7302eab7d","status":"affected"},{"type":"git","introduced":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","fixed":"eceafc31ea7b42c984ece10d79d505c0bb6615d5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.3","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ab6da97bc310db35d4e4ef5354bc3ff626b0698c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a5314d2387633a272a04d1bd8727f99058e4e68","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/537e065977022aa22f2c2503e8accaf16622e0fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/520986722dbf869c122252123fc161c7302eab7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eceafc31ea7b42c984ece10d79d505c0bb6615d5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:08:29.750Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46094","url":"https://www.cve.org/CVERecord?id=CVE-2026-46094","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:37.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46094","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46094","licence":"Public domain","modified":"2026-11-06T17:17:37.353Z"}],"updatedAt":"2026-11-25T22:59:22.579Z","epss":{"score":0.00126,"percentile":0.02436,"date":"2026-12-01T12:00:22.000Z"}}