{"id":"CVE-2026-43146","state":"PUBLISHED","title":"media: iris: Add buffer to list only after successful allocation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: Add buffer to list only after successful allocation\n\nMove `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating\ninternal buffers. Previously, the buffer was enqueued in `buffers->list`\nbefore the DMA allocation. If the allocation failed, the function returned\n`-ENOMEM` while leaving a partially initialized buffer in the list, which\ncould lead to inconsistent state and potential leaks.\n\nBy adding the buffer to the list only after `dma_alloc_attrs()` succeeds,\nwe ensure the list contains only valid, fully initialized buffers.","publishedAt":"2026-05-06T11:27:29.562Z","updatedAt":"2026-05-11T22:18:39.117Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"45b30f65feeb4d5570d5337793bb0f298be813d2","versionType":"git"},{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"98b4c4c90f1e11caecbe2093dbe3a901d338bc81","versionType":"git"},{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"2d0bbd982dfdd67da488a772f7a8a1bdca7642bf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/qcom/iris/iris_buffer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/qcom/iris/iris_buffer.c"]}],"references":["https://git.kernel.org/stable/c/45b30f65feeb4d5570d5337793bb0f298be813d2","https://git.kernel.org/stable/c/98b4c4c90f1e11caecbe2093dbe3a901d338bc81","https://git.kernel.org/stable/c/2d0bbd982dfdd67da488a772f7a8a1bdca7642bf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43146.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43146","state":"PUBLISHED","datePublished":"2026-05-06T11:27:29.562Z","dateUpdated":"2026-05-11T22:18:39.117Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:55.989Z"},"containers":{"cna":{"title":"media: iris: Add buffer to list only after successful allocation","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: Add buffer to list only after successful allocation\n\nMove `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating\ninternal buffers. Previously, the buffer was enqueued in `buffers->list`\nbefore the DMA allocation. If the allocation failed, the function returned\n`-ENOMEM` while leaving a partially initialized buffer in the list, which\ncould lead to inconsistent state and potential leaks.\n\nBy adding the buffer to the list only after `dma_alloc_attrs()` succeeds,\nwe ensure the list contains only valid, fully initialized buffers."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"45b30f65feeb4d5570d5337793bb0f298be813d2","versionType":"git"},{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"98b4c4c90f1e11caecbe2093dbe3a901d338bc81","versionType":"git"},{"version":"73702f45db81b74897b2808aaa13484826156006","status":"affected","lessThan":"2d0bbd982dfdd67da488a772f7a8a1bdca7642bf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/qcom/iris/iris_buffer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/qcom/iris/iris_buffer.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/45b30f65feeb4d5570d5337793bb0f298be813d2"},{"url":"https://git.kernel.org/stable/c/98b4c4c90f1e11caecbe2093dbe3a901d338bc81"},{"url":"https://git.kernel.org/stable/c/2d0bbd982dfdd67da488a772f7a8a1bdca7642bf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:18:39.117Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}