{"id":"CVE-2026-97575","state":"PUBLISHED","title":"media: v4l2-ctrls: validate AV1 tile counts","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-ctrls: validate AV1 tile counts\n\nThe stateless AV1 decoders use tile_info.tile_cols and tile_rows as loop\nbounds and as indices into the mi_*_starts[] and *_in_sbs_minus_1[]\narrays, as the divisor for context_update_tile_id, and their product\nbounds the per-tile descriptor buffers, but std_validate_compound() does\nnot bound these u8 fields. Reject a V4L2_CTRL_TYPE_AV1_FRAME whose\ntile_cols or tile_rows exceeds V4L2_AV1_MAX_TILE_COLS / _ROWS, or whose\nproduct exceeds V4L2_AV1_MAX_TILE_COUNT. A zero tile count is left to the\nconsuming driver so the zero-initialised control that existing userspace\nsubmits is still accepted.","publishedAt":"2026-09-25T10:21:58.700Z","updatedAt":"2026-10-19T09:09:37.843Z","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":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"1afaf85c4990fb1e3168d0d6e99246a65e526f1b","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"85df9fc79b07f1cc7c953f930ae7e675d0c1e820","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"c8891da0186fe4c04bccbbd7d84b01a3c941ac7a","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"439058ced617fbb3febc017b9e93bb7387f309e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/v4l2-core/v4l2-ctrls-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","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/v4l2-core/v4l2-ctrls-core.c"]}],"references":["https://git.kernel.org/stable/c/1afaf85c4990fb1e3168d0d6e99246a65e526f1b","https://git.kernel.org/stable/c/85df9fc79b07f1cc7c953f930ae7e675d0c1e820","https://git.kernel.org/stable/c/c8891da0186fe4c04bccbbd7d84b01a3c941ac7a","https://git.kernel.org/stable/c/c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8","https://git.kernel.org/stable/c/439058ced617fbb3febc017b9e93bb7387f309e0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97575.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97575","state":"PUBLISHED","datePublished":"2026-09-25T10:21:58.700Z","dateUpdated":"2026-10-19T09:09:37.843Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.156Z"},"containers":{"cna":{"title":"media: v4l2-ctrls: validate AV1 tile counts","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-ctrls: validate AV1 tile counts\n\nThe stateless AV1 decoders use tile_info.tile_cols and tile_rows as loop\nbounds and as indices into the mi_*_starts[] and *_in_sbs_minus_1[]\narrays, as the divisor for context_update_tile_id, and their product\nbounds the per-tile descriptor buffers, but std_validate_compound() does\nnot bound these u8 fields. Reject a V4L2_CTRL_TYPE_AV1_FRAME whose\ntile_cols or tile_rows exceeds V4L2_AV1_MAX_TILE_COLS / _ROWS, or whose\nproduct exceeds V4L2_AV1_MAX_TILE_COUNT. A zero tile count is left to the\nconsuming driver so the zero-initialised control that existing userspace\nsubmits is still accepted."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"1afaf85c4990fb1e3168d0d6e99246a65e526f1b","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"85df9fc79b07f1cc7c953f930ae7e675d0c1e820","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"c8891da0186fe4c04bccbbd7d84b01a3c941ac7a","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8","versionType":"git"},{"version":"9de30f579980b498606a9c2440b73ae3b670771b","status":"affected","lessThan":"439058ced617fbb3febc017b9e93bb7387f309e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/v4l2-core/v4l2-ctrls-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","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/v4l2-core/v4l2-ctrls-core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1afaf85c4990fb1e3168d0d6e99246a65e526f1b"},{"url":"https://git.kernel.org/stable/c/85df9fc79b07f1cc7c953f930ae7e675d0c1e820"},{"url":"https://git.kernel.org/stable/c/c8891da0186fe4c04bccbbd7d84b01a3c941ac7a"},{"url":"https://git.kernel.org/stable/c/c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8"},{"url":"https://git.kernel.org/stable/c/439058ced617fbb3febc017b9e93bb7387f309e0"}],"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 attacker-controlled tile_info.tile_cols/tile_rows u8s enter the kernel in V4L2_CID_STATELESS_AV1_FRAME via VIDIOC_S_EXT_CTRLS (or the request-fd path through try_set_ext_ctrls_request) on a local /dev/videoN AV1 decoder; validate_av1_frame() in std_validate_compound() is that ioctl's check. No network protocol carries those fields.\nAC:L - The attacker sets tile_cols and tile_rows to any u8 (e.g. 255) in that AV1_FRAME control and queues STREAMON/MEDIA_REQUEST_IOC_QUEUE; vdec_av1_slice_setup_tile() and rockchip_vpu981_av1_dec_set_tile_info() then loop and index on those values deterministically, with no race or victim-side state.\nPR:L - hantro_open() and fops_vcodec_open() have no capable() check; v4l2_prio_check() only compares V4L2 file-handle priority among openers. An unprivileged local user who can open the decoder node (video group, udev uaccess, or Android media-codec UID) is sufficient.\nUI:N - The attacking process itself opens the stateless AV1 decoder, submits the crafted AV1_FRAME control, queues buffers, and starts streaming. No victim action such as mounting media or opening a file is required.\nS:U - The overflows stay inside the kernel's kzalloc'd vdec_av1_slice_pfc (lat_buf->private_data) and the hantro tile_info coherent DMA buffer in the same kernel security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - rockchip_vpu981_av1_dec_set_tile_info() reads group_entry[tile1*tile_cols+tile0] with a product up to 255*255 past the V4L2_AV1_MAX_TILE_COUNT TILE_GROUP_ENTRY array, and indexes height_in_sbs_minus_1[tile1] past its 64-entry field, pulling adjacent kernel heap into the decode path.\nI:H - vdec_av1_slice_setup_tile() writes tile_cols+1 entries into mi_col_starts[V4L2_AV1_MAX_TILE_COLS+1] on the kzalloc'd pfc before the later product check; rockchip_vpu981_av1_dec_set_tile_info() writes 16 bytes per tile into a 128-slot (AV1_TILE_INFO_SIZE) DMA buffer for up to 255*255 tiles, an attacker-controlled kernel write.\nA:H - Those heap and DMA-buffer overruns walk into unmapped or poisoned memory and produce a kernel oops or KASAN report, and the attacker can repeat the AV1_FRAME request at will."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:09:37.843Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}