{"api_version":"1","generated_at":"2026-06-01T14:10:09+00:00","cve":"CVE-2026-46094","urls":{"html":"https://cve.report/CVE-2026-46094","api":"https://cve.report/api/cve/CVE-2026-46094.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46094","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46094"},"summary":{"title":"ext4: fix bounds check in check_xattrs() to prevent out-of-bounds access","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:30","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ab6da97bc310db35d4e4ef5354bc3ff626b0698c","name":"https://git.kernel.org/stable/c/ab6da97bc310db35d4e4ef5354bc3ff626b0698c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/520986722dbf869c122252123fc161c7302eab7d","name":"https://git.kernel.org/stable/c/520986722dbf869c122252123fc161c7302eab7d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eceafc31ea7b42c984ece10d79d505c0bb6615d5","name":"https://git.kernel.org/stable/c/eceafc31ea7b42c984ece10d79d505c0bb6615d5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/537e065977022aa22f2c2503e8accaf16622e0fd","name":"https://git.kernel.org/stable/c/537e065977022aa22f2c2503e8accaf16622e0fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5a5314d2387633a272a04d1bd8727f99058e4e68","name":"https://git.kernel.org/stable/c/5a5314d2387633a272a04d1bd8727f99058e4e68","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46094","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46094","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3478c83cf26bbffd026ae6a56bcb1fe544f0834e ab6da97bc310db35d4e4ef5354bc3ff626b0698c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3478c83cf26bbffd026ae6a56bcb1fe544f0834e 5a5314d2387633a272a04d1bd8727f99058e4e68 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3478c83cf26bbffd026ae6a56bcb1fe544f0834e 537e065977022aa22f2c2503e8accaf16622e0fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3478c83cf26bbffd026ae6a56bcb1fe544f0834e 520986722dbf869c122252123fc161c7302eab7d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3478c83cf26bbffd026ae6a56bcb1fe544f0834e eceafc31ea7b42c984ece10d79d505c0bb6615d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.86 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46094","cve":"CVE-2026-46094","epss":"0.000180000","percentile":"0.051380000","score_date":"2026-05-31","updated_at":"2026-06-01 00:08:19"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ext4/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ab6da97bc310db35d4e4ef5354bc3ff626b0698c","status":"affected","version":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","versionType":"git"},{"lessThan":"5a5314d2387633a272a04d1bd8727f99058e4e68","status":"affected","version":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","versionType":"git"},{"lessThan":"537e065977022aa22f2c2503e8accaf16622e0fd","status":"affected","version":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","versionType":"git"},{"lessThan":"520986722dbf869c122252123fc161c7302eab7d","status":"affected","version":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","versionType":"git"},{"lessThan":"eceafc31ea7b42c984ece10d79d505c0bb6615d5","status":"affected","version":"3478c83cf26bbffd026ae6a56bcb1fe544f0834e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ext4/xattr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.3"},{"lessThan":"6.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.86","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.86","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"6.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"6.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:58:45.304Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ab6da97bc310db35d4e4ef5354bc3ff626b0698c"},{"url":"https://git.kernel.org/stable/c/5a5314d2387633a272a04d1bd8727f99058e4e68"},{"url":"https://git.kernel.org/stable/c/537e065977022aa22f2c2503e8accaf16622e0fd"},{"url":"https://git.kernel.org/stable/c/520986722dbf869c122252123fc161c7302eab7d"},{"url":"https://git.kernel.org/stable/c/eceafc31ea7b42c984ece10d79d505c0bb6615d5"}],"title":"ext4: fix bounds check in check_xattrs() to prevent out-of-bounds access","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46094","datePublished":"2026-05-27T12:58:45.304Z","dateReserved":"2026-05-13T15:03:33.097Z","dateUpdated":"2026-05-27T12:58:45.304Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:30","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46094","Ordinal":"1","Title":"ext4: fix bounds check in check_xattrs() to prevent out-of-bound","CVE":"CVE-2026-46094","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46094","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ext4: fix bounds check in check_xattrs() to prevent out-of-bound"}]}}}