{"id":"CVE-2026-97579","state":"PUBLISHED","title":"media: mediatek: vcodec: bound AV1 tile-start copy to the array capacity","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: bound AV1 tile-start copy to the array capacity\n\nvdec_av1_slice_setup_tile() copies tile_cols + 1 / tile_rows + 1 entries\ninto mi_col_starts[] / mi_row_starts[] from the bitstream tile_info. Bound\nthe copy to the array capacity.","publishedAt":"2026-09-25T10:22:01.216Z","updatedAt":"2026-10-19T09:09:41.776Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"f19acf00818a9eada06a77715d0188c181fb435e","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"ad47a250afafa3a51cfb4a004463ff28e66c596e","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"7992059c045780095ba5a696dcb2f5400a82803c","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"eb0ea3898e3921900939e30c3946dd2b52281859","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"37bef2170d4c88fc3d708eecf3ef0f4032bc1372","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c"]}],"references":["https://git.kernel.org/stable/c/f19acf00818a9eada06a77715d0188c181fb435e","https://git.kernel.org/stable/c/ad47a250afafa3a51cfb4a004463ff28e66c596e","https://git.kernel.org/stable/c/7992059c045780095ba5a696dcb2f5400a82803c","https://git.kernel.org/stable/c/eb0ea3898e3921900939e30c3946dd2b52281859","https://git.kernel.org/stable/c/37bef2170d4c88fc3d708eecf3ef0f4032bc1372"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97579.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97579","state":"PUBLISHED","datePublished":"2026-09-25T10:22:01.216Z","dateUpdated":"2026-10-19T09:09:41.776Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.156Z"},"containers":{"cna":{"title":"media: mediatek: vcodec: bound AV1 tile-start copy to the array capacity","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mediatek: vcodec: bound AV1 tile-start copy to the array capacity\n\nvdec_av1_slice_setup_tile() copies tile_cols + 1 / tile_rows + 1 entries\ninto mi_col_starts[] / mi_row_starts[] from the bitstream tile_info. Bound\nthe copy to the array capacity."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"f19acf00818a9eada06a77715d0188c181fb435e","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"ad47a250afafa3a51cfb4a004463ff28e66c596e","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"7992059c045780095ba5a696dcb2f5400a82803c","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"eb0ea3898e3921900939e30c3946dd2b52281859","versionType":"git"},{"version":"0934d37596151edce115c6d0843a9ad7d5e5d232","status":"affected","lessThan":"37bef2170d4c88fc3d708eecf3ef0f4032bc1372","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f19acf00818a9eada06a77715d0188c181fb435e"},{"url":"https://git.kernel.org/stable/c/ad47a250afafa3a51cfb4a004463ff28e66c596e"},{"url":"https://git.kernel.org/stable/c/7992059c045780095ba5a696dcb2f5400a82803c"},{"url":"https://git.kernel.org/stable/c/eb0ea3898e3921900939e30c3946dd2b52281859"},{"url":"https://git.kernel.org/stable/c/37bef2170d4c88fc3d708eecf3ef0f4032bc1372"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bad tile_info.tile_cols/tile_rows reach vdec_av1_slice_setup_tile() from a local process that sets V4L2_CID_STATELESS_AV1_FRAME via VIDIOC_S_EXT_CTRLS on the mtk-vcodec decoder /dev/videoN and queues a request. A spec-conforming AV1 parser caps tile counts at 64, so a remote bitstream does not produce the malformed values.\nAC:L - The attacker sets tile_cols or tile_rows to any value from 65 to 255. validate_av1_frame() never checks them, and the driver's num_tiles check in vdec_av1_slice_setup_tile_group() runs after vdec_av1_slice_setup_pfc() has already done the copy, so the overflow happens on every such request.\nPR:L - It needs only the ability to open the decoder video node, which is normally granted to the video group or to media/GPU processes. No capability check lies on the ioctl or request-queue path to vdec_av1_slice_lat_decode().\nUI:N - The attacker supplies the control payload and queues the request themselves. No other user has to do anything.\nS:U - This is a heap overflow in kernel memory. It gives kernel-level impact within the same security authority, not a VM or IOMMU boundary crossing.\nC:H - Writing up to 764 bytes past mi_row_starts[] runs off the end of the kzalloc'd vdec_av1_slice_pfc into the neighbouring slab object. That corruption can be used to build read primitives and leak kernel memory.\nI:H - The written values are ALIGN(ctrl_tile->mi_*_starts[i]) >> mib_size_log2, taken from the attacker's own control payload. This gives an attacker-shaped heap out-of-bounds write that can corrupt neighbouring objects.\nA:H - Corrupting the pfc fields past the tile arrays (frame, state, ref_idx) and the neighbouring slab object can oops the kernel or hang the decoder, and any local user with device access can repeat it."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:09:41.776Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}