Files
vuln-cve/data/2023/53xxx/CVE-2023-53646.json
T

138 lines
8.2 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-53646",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-10-07T15:16:59.659Z",
"datePublished": "2025-10-07T15:19:44.412Z",
"dateUpdated": "2026-08-05T09:15:21.134Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:15:21.134Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915/perf: add sentinel to xehp_oa_b_counters\n\nArrays passed to reg_in_range_table should end with empty record.\n\nThe patch solves KASAN detected bug with signature:\nBUG: KASAN: global-out-of-bounds in xehp_is_valid_b_counter_addr+0x2c7/0x350 [i915]\nRead of size 4 at addr ffffffffa1555d90 by task perf/1518\n\nCPU: 4 PID: 1518 Comm: perf Tainted: G U 6.4.0-kasan_438-g3303d06107f3+ #1\nHardware name: Intel Corporation Meteor Lake Client Platform/MTL-P DDR5 SODIMM SBS RVP, BIOS MTLPFWI1.R00.3223.D80.2305311348 05/31/2023\nCall Trace:\n<TASK>\n...\nxehp_is_valid_b_counter_addr+0x2c7/0x350 [i915]\n\n(cherry picked from commit 2f42c5afb34b5696cf5fe79e744f99be9b218798)"
}
],
"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 vulnerable code is reached only through the DRM_IOCTL_I915_PERF_ADD_CONFIG ioctl on a local i915 device/render node (/dev/dri/renderD128), requiring local system access. There is no network-facing path to i915 perf configuration.\nAC:L - A single ioctl carrying any 32-bit register address outside the two in-bounds ranges deterministically drives the sentinel-less loop past the end of the 16-byte array; no race, timing, or memory-layout luck is needed to trigger the out-of-bounds access.\nPR:L - The ioctl is DRM_RENDER_ALLOW, so no DRM master or authentication is required — only an open render node, which is group/world accessible on typical desktop, Android and container deployments. On the widely used profiling configuration dev.i915.perf_stream_paranoid=0 (the documented setting for unprivileged Intel GPU metrics collection) the perfmon_capable() check is bypassed entirely, leaving an ordinary unprivileged user able to reach the bug.\nUI:N - The attacker triggers the flaw entirely on their own by issuing the ioctl from their own process; no victim action, file open, or mount is involved.\nS:U - The out-of-bounds read and the resulting register-allowlist bypass occur within the kernel's own security authority on the same host; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The walk reads kernel module .rodata past the object bounds with no bound other than encountering a zero pair, and the function's boolean result is returned to userspace as an accept/reject oracle, letting an attacker probe addresses and reconstruct the contents of the out-of-bounds kernel memory.\nI:H - The OOB data is interpreted as additional whitelist ranges, so registers that were never meant to be programmable are accepted and then emitted as MI_LOAD_REGISTER_IMM in a kernel-built batch executed unfiltered by the GPU command streamer, giving attacker-controlled 32-bit writes to non-whitelisted GPU MMIO and defeating the very allowlist this code enforces.\nA:H - The unterminated walk can run into unmapped module memory and oops, and it reliably panics kernels built with KASAN (the reported crash signature) or configured with kasan.fault=panic/panic_on_warn; additionally, programming out-of-allowlist GPU registers can hang or wedge the GPU for all users."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/i915/i915_perf.c"
],
"versions": [
{
"version": "0fa9349dda030fa847b36f880a5eea25c3202b66",
"lessThan": "21d92025e80629fd5c25cd6751f8cf38c784dd4a",
"status": "affected",
"versionType": "git"
},
{
"version": "0fa9349dda030fa847b36f880a5eea25c3202b66",
"lessThan": "785b3f667b4bf98804cad135005e964df0c750de",
"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/i915/i915_perf.c"
],
"versions": [
{
"version": "6.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.2",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.4.7",
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.5",
"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.2",
"versionEndExcluding": "6.4.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.5"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/21d92025e80629fd5c25cd6751f8cf38c784dd4a"
},
{
"url": "https://git.kernel.org/stable/c/785b3f667b4bf98804cad135005e964df0c750de"
}
],
"title": "drm/i915/perf: add sentinel to xehp_oa_b_counters",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}