Files
vuln-cve/data/2026/46xxx/CVE-2026-46197.json
T

291 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-46197",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-05-13T15:03:33.104Z",
"datePublished": "2026-05-28T09:40:13.722Z",
"dateUpdated": "2026-10-19T19:36:54.598Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T12:30:21.898Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: validate SVM ioctl nattr against buffer size\n\nValidate nattr field against the buffer size, preventing\nout-of-bounds buffer access via user-controlled attribute count.\n\n(cherry picked from commit 5eca8bfdfa456c3304ca77523718fe24254c172f)"
}
],
"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 vulnerability is reached through an ioctl (AMDKFD_IOC_SVM) on the /dev/kfd character device, requiring local system access; there is no network or adjacent vector.\nAC:L - The attacker fully controls both the buffer size (usize via _IOC_SIZE) and the nattr count, so the out-of-bounds access is triggered reliably with no conditions outside the attacker's control.\nPR:L - The SVM ioctl descriptor has flags=0 with no capability check, so only the ability to open /dev/kfd (a basic local user, e.g. render-group membership on compute systems) is required — no real root.\nUI:N - The attacker issues the ioctl directly; no action by another user or victim is needed.\nS:U - The corruption is confined to kernel memory within the same security authority; there is no IOMMU/DMA or VM boundary crossing.\nC:H - The unbounded nattr loop reads kernel heap/stack memory far past the buffer (an unbounded OOB read), and the resulting memory corruption can be leveraged for information disclosure.\nI:H - The svm_range_get_attr fill-values loop writes attrs[i].value/type out of bounds into adjacent kernel memory, an OOB write that can be leveraged for control-flow corruption or arbitrary write.\nA:H - A large nattr reliably drives the attribute loops past the allocation into unmapped memory, causing a kernel oops/panic (denial of service)."
}
]
}
],
"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_chardev.c",
"drivers/gpu/drm/amd/amdkfd/kfd_priv.h"
],
"versions": [
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "daa8bc5f83814b55b71d2b5b3a090d57a5219c21",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "fb07a0c9c8419164812e07274947f11b1d92dd61",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "91c6dc5a41695d02dfc6299f106ac38a6c493e52",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "ccd060b5c7cc75ae7e211c250b97c5b6272e7efc",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "db9530a9873a7c85d2266a922589ebcf427fa631",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "6abd3a4417cb73a7d0db7e25bf11fae1074bdba3",
"status": "affected",
"versionType": "git"
},
{
"version": "42de677f79999791bee4e21be318c32d90ab62c6",
"lessThan": "045e0ff208f0838a246c10204105126611b267a1",
"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_chardev.c",
"drivers/gpu/drm/amd/amdkfd/kfd_priv.h"
],
"versions": [
{
"version": "5.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.14",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.209",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.175",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.140",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.90",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.32",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.0.9",
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.1",
"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.14",
"versionEndExcluding": "5.15.209"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.1.175"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.6.140"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.12.90"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "6.18.32"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "7.0.9"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.14",
"versionEndExcluding": "7.1"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/daa8bc5f83814b55b71d2b5b3a090d57a5219c21"
},
{
"url": "https://git.kernel.org/stable/c/fb07a0c9c8419164812e07274947f11b1d92dd61"
},
{
"url": "https://git.kernel.org/stable/c/91c6dc5a41695d02dfc6299f106ac38a6c493e52"
},
{
"url": "https://git.kernel.org/stable/c/ccd060b5c7cc75ae7e211c250b97c5b6272e7efc"
},
{
"url": "https://git.kernel.org/stable/c/db9530a9873a7c85d2266a922589ebcf427fa631"
},
{
"url": "https://git.kernel.org/stable/c/6abd3a4417cb73a7d0db7e25bf11fae1074bdba3"
},
{
"url": "https://git.kernel.org/stable/c/045e0ff208f0838a246c10204105126611b267a1"
}
],
"title": "drm/amdkfd: validate SVM ioctl nattr against buffer size",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-46197",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-16T15:20:59.237887Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-120",
"description": "CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"
}
]
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-19T19:36:54.598Z"
}
}
]
}
}