In the Linux kernel, the following vulnerability has been resolved:
drm/i915: mark requests for GuC virtual engines to avoid use-after-free
References to i915requests may be trapped by userspace inside a syncfile or dmabuf (dma-resv) and held indefinitely across different proceses. To counter-act the memory leaks, we try to not to keep references from the request past their completion. On the other side on fence release we need to know if rq->engine is valid and points to hw engine (true for non-virtual requests). To make it possible extra bit has been added to rq->execution_mask, for marking virtual engines.
(cherry picked from commit 280410677af763f3871b93e794a199cfcf6fb580)
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53552.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53552.json"
[
{
"id": "CVE-2023-53552-044d609f",
"target": {
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5eefc5307c983b59344a4cb89009819f580c84fa",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175870942760061919091034794858305572608",
"147038852120939485031511802851443633732",
"270968538357754486558271703214129849610"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53552-241a60ae",
"target": {
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb464d52fa41c31a6fd1ad82888e67c65935d94",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175870942760061919091034794858305572608",
"147038852120939485031511802851443633732",
"270968538357754486558271703214129849610"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53552-33886791",
"target": {
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8017a27cec32eac8c8f9430b0a3055840136b856",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175870942760061919091034794858305572608",
"147038852120939485031511802851443633732",
"270968538357754486558271703214129849610"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53552-5544ec53",
"target": {
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8017a27cec32eac8c8f9430b0a3055840136b856",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103251858981946996674768400862121217185",
"320948400254713186879611822833811741442",
"103513518467381294354892853194469078179",
"315363478754883451333012562384984722854",
"189309639265945903301429732308531868403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53552-5af5eca3",
"target": {
"function": "i915_fence_release",
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5eefc5307c983b59344a4cb89009819f580c84fa",
"digest": {
"function_hash": "196979960852095464406691272681393812956",
"length": 544.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-61cb4623",
"target": {
"function": "i915_fence_release",
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8017a27cec32eac8c8f9430b0a3055840136b856",
"digest": {
"function_hash": "196979960852095464406691272681393812956",
"length": 544.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-7e9bfa3d",
"target": {
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb464d52fa41c31a6fd1ad82888e67c65935d94",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103251858981946996674768400862121217185",
"320948400254713186879611822833811741442",
"103513518467381294354892853194469078179",
"315363478754883451333012562384984722854",
"189309639265945903301429732308531868403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53552-7edb20bb",
"target": {
"function": "i915_fence_release",
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb464d52fa41c31a6fd1ad82888e67c65935d94",
"digest": {
"function_hash": "196979960852095464406691272681393812956",
"length": 544.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-80d086fb",
"target": {
"function": "guc_create_virtual",
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5eefc5307c983b59344a4cb89009819f580c84fa",
"digest": {
"function_hash": "173243679570499877339990368351713077900",
"length": 2733.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-b47fd09b",
"target": {
"function": "guc_create_virtual",
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8017a27cec32eac8c8f9430b0a3055840136b856",
"digest": {
"function_hash": "228766514656960470392504413511618022113",
"length": 2721.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-bde88359",
"target": {
"function": "guc_create_virtual",
"file": "drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb464d52fa41c31a6fd1ad82888e67c65935d94",
"digest": {
"function_hash": "173243679570499877339990368351713077900",
"length": 2733.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53552-fc584706",
"target": {
"file": "drivers/gpu/drm/i915/i915_request.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5eefc5307c983b59344a4cb89009819f580c84fa",
"digest": {
"threshold": 0.9,
"line_hashes": [
"103251858981946996674768400862121217185",
"320948400254713186879611822833811741442",
"103513518467381294354892853194469078179",
"315363478754883451333012562384984722854",
"189309639265945903301429732308531868403"
]
},
"signature_type": "Line"
}
]