{"id":"CVE-2026-97577","state":"PUBLISHED","title":"media: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity\n\nrockchip_vpu981_av1_dec_set_tile_info() indexes the tile group entry\narray by tile1 * tile_cols + tile0, reading up to tile_cols * tile_rows\nentries, lays out one descriptor per tile in the AV1_MAX_TILES tile_info\nbuffer, and programs the real tile_cols / tile_rows into the hardware.\n\nThe tile group entry control is a dynamic array sized to the number of\nentries userspace submitted, independent of tile_cols / tile_rows, so a\nframe that claims more tiles than entries reads past the array. A frame\nthat claims more than AV1_MAX_TILES tiles also leaves the hardware\nprogrammed for more tiles than the descriptor buffer holds.\n\nReject both in prepare_run(): tile_cols * tile_rows must not exceed the\nsubmitted entry count or AV1_MAX_TILES. The entry count is read via\nv4l2_ctrl_find() (ctrl->elems). This mirrors the bound the mediatek AV1\ndecoder already enforces.","publishedAt":"2026-09-25T10:21:59.950Z","updatedAt":"2026-10-19T09:09:39.822Z","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":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"95ee48eb17c91bd4859b65e0a54e7722f370d0e5","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"40029f7f35397853f8711d6fce1d90a4c7a01f8c","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"a41babf528f70c9a82ed31cfb5fe19065910f7f0","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"fd965369220cc160bb20a24991790814bfbab401","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"367db8b23c26a913d76ed70457bbcd781c422b49","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.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/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c"]}],"references":["https://git.kernel.org/stable/c/95ee48eb17c91bd4859b65e0a54e7722f370d0e5","https://git.kernel.org/stable/c/40029f7f35397853f8711d6fce1d90a4c7a01f8c","https://git.kernel.org/stable/c/a41babf528f70c9a82ed31cfb5fe19065910f7f0","https://git.kernel.org/stable/c/fd965369220cc160bb20a24991790814bfbab401","https://git.kernel.org/stable/c/367db8b23c26a913d76ed70457bbcd781c422b49"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97577.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97577","state":"PUBLISHED","datePublished":"2026-09-25T10:21:59.950Z","dateUpdated":"2026-10-19T09:09:39.822Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.156Z"},"containers":{"cna":{"title":"media: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity\n\nrockchip_vpu981_av1_dec_set_tile_info() indexes the tile group entry\narray by tile1 * tile_cols + tile0, reading up to tile_cols * tile_rows\nentries, lays out one descriptor per tile in the AV1_MAX_TILES tile_info\nbuffer, and programs the real tile_cols / tile_rows into the hardware.\n\nThe tile group entry control is a dynamic array sized to the number of\nentries userspace submitted, independent of tile_cols / tile_rows, so a\nframe that claims more tiles than entries reads past the array. A frame\nthat claims more than AV1_MAX_TILES tiles also leaves the hardware\nprogrammed for more tiles than the descriptor buffer holds.\n\nReject both in prepare_run(): tile_cols * tile_rows must not exceed the\nsubmitted entry count or AV1_MAX_TILES. The entry count is read via\nv4l2_ctrl_find() (ctrl->elems). This mirrors the bound the mediatek AV1\ndecoder already enforces."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"95ee48eb17c91bd4859b65e0a54e7722f370d0e5","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"40029f7f35397853f8711d6fce1d90a4c7a01f8c","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"a41babf528f70c9a82ed31cfb5fe19065910f7f0","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"fd965369220cc160bb20a24991790814bfbab401","versionType":"git"},{"version":"727a400686a2c0d25015c9e44916a59b72882f83","status":"affected","lessThan":"367db8b23c26a913d76ed70457bbcd781c422b49","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.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/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/95ee48eb17c91bd4859b65e0a54e7722f370d0e5"},{"url":"https://git.kernel.org/stable/c/40029f7f35397853f8711d6fce1d90a4c7a01f8c"},{"url":"https://git.kernel.org/stable/c/a41babf528f70c9a82ed31cfb5fe19065910f7f0"},{"url":"https://git.kernel.org/stable/c/fd965369220cc160bb20a24991790814bfbab401"},{"url":"https://git.kernel.org/stable/c/367db8b23c26a913d76ed70457bbcd781c422b49"}],"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 malformed tile_cols/tile_rows and TILE_GROUP_ENTRY data are supplied by a local process through V4L2 request ioctls (VIDIOC_S_EXT_CTRLS + MEDIA_REQUEST_IOC_QUEUE) on the vpu981 /dev/videoN decoder, reaching rockchip_vpu981_av1_dec_run() -> set_tile_info(); no network protocol carries the input.\nAC:L - validate_av1_frame() never bounds tile_cols/tile_rows (u8, up to 255), so setting tile_cols*tile_rows above 128 makes set_tile_info() deterministically write 16 bytes per tile past the 2KB AV1_TILE_INFO_SIZE buffer, with no race and no outside condition.\nPR:L - No capability check guards the stateless decoder's controls or request queue; the attacker only needs open access to the /dev/videoN node, which desktop udev grants to the logged-in seat user (uaccess) or the video group, i.e. an ordinary local user.\nUI:N - The attacker builds the AV1 frame and tile group entry controls and queues the decode request themselves; no other user has to act.\nS:U - The corruption is of kernel memory adjacent to the tile_info coherent buffer, and the resulting impact stays within the kernel's own authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - set_tile_info() reads group_entry[tile_id] past the dynamic TILE_GROUP_ENTRY array and width/height_in_sbs_minus_1[] past 64 entries; this out-of-bounds heap read is not strictly bounded to a few bytes, and the write primitive enables further disclosure.\nI:H - The loop writes tile_cols*tile_rows*16 bytes (up to ~1MB) into a 2KB dma_alloc_coherent buffer, with attacker-controlled tile_offset/tile_size and tile width/height bytes, giving an out-of-bounds kernel memory write of attacker-controlled data and length.\nA:H - A large overflow past the tile_info allocation corrupts adjacent kernel memory or faults on an unmapped guard page, causing a kernel oops or panic that the attacker can repeat at will."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:09:39.822Z"},"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"}}}}}