201 lines
11 KiB
JSON
201 lines
11 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-97578",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-09-24T16:01:01.156Z",
|
|
"datePublished": "2026-09-25T10:22:00.541Z",
|
|
"dateUpdated": "2026-10-19T09:09:40.795Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-10-19T09:09:40.795Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer\n\nrockchip_vpu981_av1_dec_set_tile_info() divides context_update_tile_id by\ntile_info->tile_cols and writes one descriptor per tile into the tile_info\nDMA buffer, which holds AV1_MAX_TILES entries; tile_cols and tile_rows\ncome from the bitstream. Guard the division against a zero tile_cols by\ninitialising the context-update values to zero and computing them only\nwhen tile_cols is non-zero, and stop the descriptor writes once the\ntile_info buffer is full. The tile geometry written to the hardware\nregisters is left unmodified; the per-dimension and total tile bounds are\nenforced by the control validation."
|
|
}
|
|
],
|
|
"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_cols/tile_rows reach rockchip_vpu981_av1_dec_set_tile_info() through the V4L2_CID_STATELESS_AV1_FRAME control, set with VIDIOC_S_EXT_CTRLS/media request ioctls on the local hantro /dev/videoN node and run via rockchip_vpu981_av1_dec_run(). No remote protocol carries the values; a userspace AV1 parser would have to pass through values that break the spec.\nAC:L - validate_av1_frame() never checks tile_cols or tile_rows, so any caller can set tile_cols=0 (divide by zero) or 255x255 tiles (writes far past the 2 KiB tile_info buffer). Nothing outside the attacker's control is needed; the fault happens every time the job runs.\nPR:L - The only requirement is opening the VPU981 AV1 stateless decoder video node, which the logged-in user (video group) or the Android/ChromeOS media codec process normally can do. The ioctl path has no capability check.\nUI:N - The attacker queues the malicious control and request themselves, and the device_run worker processes it without any action by another user.\nS:U - The corruption stays in the kernel's own memory and security authority. No VM, IOMMU, or other boundary is crossed.\nC:H - tile_id reaches about 65,000 while the tile_group_entry dynamic array holds at most 512 entries, and indexes of width/height_in_sbs_minus_1 above 64 run past those arrays. Out-of-bounds kernel data is read into the descriptors, and the memory corruption can be used to leak data.\nI:H - The loop writes 16 bytes per tile, up to 255*255 tiles (about 1 MiB), past the 128-entry (2 KiB) dma_alloc_coherent tile_info buffer. The x0/y0/start/end values it writes are largely user-controlled, so it is a large, content-controlled kernel memory overwrite.\nA:H - tile_cols=0 causes a divide error when computing context_update_tile_id, which oopses the kernel. The large out-of-bounds write also corrupts memory next to the buffer and crashes the system."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "727a400686a2c0d25015c9e44916a59b72882f83",
|
|
"lessThan": "8659e5fc21a82e00fb2db1557f2e06f0fca06b90",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "727a400686a2c0d25015c9e44916a59b72882f83",
|
|
"lessThan": "7baa7bb1b784c19170df8c99466fa412040eb431",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "727a400686a2c0d25015c9e44916a59b72882f83",
|
|
"lessThan": "8f19d869a9f6800547c9ad7ebaf3b94f973dab50",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "727a400686a2c0d25015c9e44916a59b72882f83",
|
|
"lessThan": "6b7a281a815ae7c5e7bb2aad039ffea9bc933157",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "727a400686a2c0d25015c9e44916a59b72882f83",
|
|
"lessThan": "b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c",
|
|
"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/verisilicon/rockchip_vpu981_hw_av1_dec.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "6.5",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "6.5",
|
|
"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.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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/8659e5fc21a82e00fb2db1557f2e06f0fca06b90"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/7baa7bb1b784c19170df8c99466fa412040eb431"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/8f19d869a9f6800547c9ad7ebaf3b94f973dab50"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/6b7a281a815ae7c5e7bb2aad039ffea9bc933157"
|
|
},
|
|
{
|
|
"url": "https://git.kernel.org/stable/c/b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c"
|
|
}
|
|
],
|
|
"title": "media: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer",
|
|
"x_generator": {
|
|
"engine": "bippy-1.2.0"
|
|
}
|
|
}
|
|
}
|
|
} |