MediumFix available
ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc() kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add NULL checks for all the kunit_kzalloc() in sound_kunit.c
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.11, 6.12.2
- CVEs
- CVE-2024-56696
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:15 UTC · Revision 1
Source evidence
ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
core-osv · Original sourcePublished 28 Dec 2024, 09:46 UTC
In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc() kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add NULL checks for all the kunit_kzalloc() in sound_kunit.c
osv:CVE-2024-56696
Kernel
Fixed versions: 6.11.11, 6.12.2
Complete source record
{
"id": "6748a4af4625fe405cb6877a629ad6a7cfe7a3eff3c993b7244538a92f4d8b61",
"url": "https://osv.dev/vulnerability/CVE-2024-56696",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc() kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add NULL checks for all the kunit_kzalloc() in sound_kunit.c",
"evidence": "osv:CVE-2024-56696",
"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": "medium",
"structured": {
"id": "CVE-2024-56696",
"aliases": [
"CVE-2024-56696"
],
"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": "3e39acf56ededdebd1033349a16b704839b94b28"
},
{
"fixed": "f5486bf8abfe778b368d8fd1aa655dc01d0013ca"
},
{
"fixed": "8bfff486ecc79a72e9380e2d5e0ff234d5542d2f"
},
{
"fixed": "9ad467a2b2716d4ed12f003b041aa6c776a13ff5"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56696.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.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-56696.json"
}
}
],
"modified": "2026-10-28T02:30:31.590287746Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/8bfff486ecc79a72e9380e2d5e0ff234d5542d2f",
"https://git.kernel.org/stable/c/9ad467a2b2716d4ed12f003b041aa6c776a13ff5",
"https://git.kernel.org/stable/c/f5486bf8abfe778b368d8fd1aa655dc01d0013ca",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56696.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56696",
"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-56696.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56696",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498346,
"published_at": "2024-12-28T09:46:20.094+00:00"
}