Files
vuln-cve/data/2026/98xxx/CVE-2026-98176.json
T

170 lines
8.0 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-98176",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-09-25T10:25:14.322Z",
"datePublished": "2026-10-06T08:44:20.004Z",
"dateUpdated": "2026-11-10T18:15:10.994Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-11-10T18:15:10.994Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc\n\nThe low 6 bits of cp_hqd_eop_control store the base-2 logarithm\nof the EOP ring size. This was calculated as\n\nffs(q->eop_ring_buffer_size / sizeof(unsigned int)) - 1 - 1\n\nBut ffs can in theory return 1 or 0, so this could underflow\n(although in practice the ring buffer size cannot be less than 4096).\n\nChange this to\n\nffs(q->eop_ring_buffer_size / sizeof(unsigned int) / 4)\n\nusing properties of logarithms.\n\n(cherry picked from commit 4f18c56630383c14bfc6b2d65f88f2f895d2121a)"
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c"
],
"versions": [
{
"version": "14328aa58ce523a59996c5a82681c43ec048cc33",
"lessThan": "1ab281c7ce2dc5195d337f2c16e22eba356b47f9",
"status": "affected",
"versionType": "git"
},
{
"version": "14328aa58ce523a59996c5a82681c43ec048cc33",
"lessThan": "9e8f43579f849fba0dd1059160f50bd44a767366",
"status": "affected",
"versionType": "git"
},
{
"version": "14328aa58ce523a59996c5a82681c43ec048cc33",
"lessThan": "82e1b8299c6da02ce02185c208d2fdf7572b5ea1",
"status": "affected",
"versionType": "git"
},
{
"version": "14328aa58ce523a59996c5a82681c43ec048cc33",
"lessThan": "c883d0a132d430ef7ebb23fd94323be94d0fbdb8",
"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/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c",
"drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c"
],
"versions": [
{
"version": "5.3",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.3",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.117",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.61",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.2.8",
"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": "5.3",
"versionEndExcluding": "6.12.117"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.3",
"versionEndExcluding": "6.18.61"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.3",
"versionEndExcluding": "7.2.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.3",
"versionEndExcluding": "7.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/1ab281c7ce2dc5195d337f2c16e22eba356b47f9"
},
{
"url": "https://git.kernel.org/stable/c/9e8f43579f849fba0dd1059160f50bd44a767366"
},
{
"url": "https://git.kernel.org/stable/c/82e1b8299c6da02ce02185c208d2fdf7572b5ea1"
},
{
"url": "https://git.kernel.org/stable/c/c883d0a132d430ef7ebb23fd94323be94d0fbdb8"
}
],
"title": "drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}