accel/ivpu: Prevent recovery invocation during probe and resume
In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Prevent recovery invocation during probe and resume Refactor IPC send and receive functions to allow correct handling of operations that should not trigger a recovery process. Expose ivpu_send_receive_internal(), which is now utilized by the D0i3 entry, DCT initialization, and HWS initialization functions. These functions have been modified to return error codes gracefully, rather than initiating recovery. The updated functions are invoked within ivpu_probe() and ivpu_resume(), ensuring that any errors encountered during these stages result in a proper teardown or shutdown sequence. The previous approach of triggering recovery within these functions could lead to a race condition, potentially causing undefined behavior and kernel crashes due to null pointer dereferences.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.11, 6.12.2
- CVEs
- CVE-2024-56540
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 00:59 UTC · Revision 1
Source evidence
accel/ivpu: Prevent recovery invocation during probe and resume
core-osv · Original sourcePublished 27 Dec 2024, 14:11 UTC
In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Prevent recovery invocation during probe and resume Refactor IPC send and receive functions to allow correct handling of operations that should not trigger a recovery process. Expose ivpu_send_receive_internal(), which is now utilized by the D0i3 entry, DCT initialization, and HWS initialization functions. These functions have been modified to return error codes gracefully, rather than initiating recovery. The updated functions are invoked within ivpu_probe() and ivpu_resume(), ensuring that any errors encountered during these stages result in a proper teardown or shutdown sequence. The previous approach of triggering recovery within these functions could lead to a race condition, potentially causing undefined behavior and kernel crashes due to null pointer dereferences.
osv:CVE-2024-56540
Kernel
Fixed versions: 6.11.11, 6.12.2
Complete source record
{
"id": "5160bc14d30c7f4c2c2f5c03e00828d61987dc9b118a226099d897e71738f2b7",
"url": "https://osv.dev/vulnerability/CVE-2024-56540",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "accel/ivpu: Prevent recovery invocation during probe and resume",
"summary": "In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Prevent recovery invocation during probe and resume Refactor IPC send and receive functions to allow correct handling of operations that should not trigger a recovery process. Expose ivpu_send_receive_internal(), which is now utilized by the D0i3 entry, DCT initialization, and HWS initialization functions. These functions have been modified to return error codes gracefully, rather than initiating recovery. The updated functions are invoked within ivpu_probe() and ivpu_resume(), ensuring that any errors encountered during these stages result in a proper teardown or shutdown sequence. The previous approach of triggering recovery within these functions could lead to a race condition, potentially causing undefined behavior and kernel crashes due to null pointer dereferences.",
"evidence": "osv:CVE-2024-56540",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.11.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-56540",
"aliases": [
"CVE-2024-56540"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "45e45362e0955fc3b0b622e8a0d788097f3de902"
},
{
"fixed": "cac822772c4dc27a285f09caf30072ab76d2bf38"
},
{
"fixed": "362ef76020ea6219a4df4ac5b738672b59527239"
},
{
"fixed": "5eaa497411197c41b0813d61ba3fbd6267049082"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56540.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.11.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56540.json"
}
}
],
"modified": "2026-10-28T02:30:41.338832337Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/362ef76020ea6219a4df4ac5b738672b59527239",
"https://git.kernel.org/stable/c/5eaa497411197c41b0813d61ba3fbd6267049082",
"https://git.kernel.org/stable/c/cac822772c4dc27a285f09caf30072ab76d2bf38",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56540.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56540",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56540.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56540",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508833,
"published_at": "2024-12-27T14:11:22.207+00:00"
}