crypto: caam - Fix the pointer passed to caam_qi_shutdown()
In the Linux kernel, the following vulnerability has been resolved: crypto: caam - Fix the pointer passed to caam_qi_shutdown() The type of the last parameter given to devm_add_action_or_reset() is "struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to "struct device *". Pass the correct parameter to devm_add_action_or_reset() so that the resources are released as expected.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.231, 5.15.174, 6.1.120, 6.11.11, 6.12.2, 6.6.64
- CVEs
- CVE-2024-56754
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 02:00 UTC · Revision 1
Source evidence
crypto: caam - Fix the pointer passed to caam_qi_shutdown()
core-osv · Original sourcePublished 29 Dec 2024, 11:30 UTC
In the Linux kernel, the following vulnerability has been resolved: crypto: caam - Fix the pointer passed to caam_qi_shutdown() The type of the last parameter given to devm_add_action_or_reset() is "struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to "struct device *". Pass the correct parameter to devm_add_action_or_reset() so that the resources are released as expected.
osv:CVE-2024-56754
Kernel
Fixed versions: 5.10.231, 5.15.174, 6.1.120, 6.6.64, 6.11.11, 6.12.2
Complete source record
{
"id": "b413ad03c6aa39cf3a4402ac4762fb29f1d929c5b69d659c8b08a204d854b629",
"url": "https://osv.dev/vulnerability/CVE-2024-56754",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: caam - Fix the pointer passed to caam_qi_shutdown()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: crypto: caam - Fix the pointer passed to caam_qi_shutdown() The type of the last parameter given to devm_add_action_or_reset() is \"struct caam_drv_private *\", but in caam_qi_shutdown(), it is casted to \"struct device *\". Pass the correct parameter to devm_add_action_or_reset() so that the resources are released as expected.",
"evidence": "osv:CVE-2024-56754",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.231",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.174",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.120",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.64",
"evidence": "/affected/1/ranges"
},
{
"value": "6.11.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-56754",
"aliases": [
"CVE-2024-56754"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb"
},
{
"fixed": "cc386170b3312fd7b5bc4a69a9f52d7f50814526"
},
{
"fixed": "6187727e57aec122c8a99c464c74578c810cbe40"
},
{
"fixed": "66eddb8dcb61065c53098510165f14b54232bcc2"
},
{
"fixed": "1f8e2f597b918ca5827a5c6d00b819d064264d1c"
},
{
"fixed": "84a185aea7b83f620699de0ea36907d588d89cf6"
},
{
"fixed": "ad39df0898d3f469776c19d99229be055cc2dcea"
},
{
"fixed": "ad980b04f51f7fb503530bd1cb328ba5e75a250e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56754.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.231"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.174"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.120"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.64"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.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-56754.json"
}
}
],
"modified": "2026-10-28T02:30:41.869252268Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1f8e2f597b918ca5827a5c6d00b819d064264d1c",
"https://git.kernel.org/stable/c/6187727e57aec122c8a99c464c74578c810cbe40",
"https://git.kernel.org/stable/c/66eddb8dcb61065c53098510165f14b54232bcc2",
"https://git.kernel.org/stable/c/84a185aea7b83f620699de0ea36907d588d89cf6",
"https://git.kernel.org/stable/c/ad39df0898d3f469776c19d99229be055cc2dcea",
"https://git.kernel.org/stable/c/ad980b04f51f7fb503530bd1cb328ba5e75a250e",
"https://git.kernel.org/stable/c/cc386170b3312fd7b5bc4a69a9f52d7f50814526",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56754.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56754",
"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-56754.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56754",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509282,
"published_at": "2024-12-29T11:30:19.049+00:00"
}