Files
vuln-cve/data/2026/97xxx/CVE-2026-97579.json
T

201 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-97579",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-09-24T16:01:01.156Z",
"datePublished": "2026-09-25T10:22:01.216Z",
"dateUpdated": "2026-10-19T09:09:41.776Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-19T09:09:41.776Z"
},
"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."
}
],
"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."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"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"
],
"versions": [
{
"version": "0934d37596151edce115c6d0843a9ad7d5e5d232",
"lessThan": "f19acf00818a9eada06a77715d0188c181fb435e",
"status": "affected",
"versionType": "git"
},
{
"version": "0934d37596151edce115c6d0843a9ad7d5e5d232",
"lessThan": "ad47a250afafa3a51cfb4a004463ff28e66c596e",
"status": "affected",
"versionType": "git"
},
{
"version": "0934d37596151edce115c6d0843a9ad7d5e5d232",
"lessThan": "7992059c045780095ba5a696dcb2f5400a82803c",
"status": "affected",
"versionType": "git"
},
{
"version": "0934d37596151edce115c6d0843a9ad7d5e5d232",
"lessThan": "eb0ea3898e3921900939e30c3946dd2b52281859",
"status": "affected",
"versionType": "git"
},
{
"version": "0934d37596151edce115c6d0843a9ad7d5e5d232",
"lessThan": "37bef2170d4c88fc3d708eecf3ef0f4032bc1372",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"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"
],
"versions": [
{
"version": "6.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.6",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.111",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.53",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.2.7",
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"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"
}
]
}
]
}
],
"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"
}
],
"title": "media: mediatek: vcodec: bound AV1 tile-start copy to the array capacity",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}