{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-41069","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-07-12T12:17:45.630Z","datePublished":"2024-07-29T14:57:30.245Z","dateUpdated":"2026-08-05T11:35:10.036Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:35:10.036Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: topology: Fix references to freed memory\n\nMost users after parsing a topology file, release memory used by it, so\nhaving pointer references directly into topology file contents is wrong.\nUse devm_kmemdup(), to allocate memory as needed."}],"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 the ASoC topology parser reached through local sound-card probe and subsequent local interaction with the DAPM graph via `/dev/snd/*` and driver bind/unbind; there is no network- or peer-supplied data path into `soc_tplg_dapm_graph_elems_load()`.\nAC:L - The dangling pointers are created unconditionally on every affected platform the moment `release_firmware()` runs after topology load — no race, no timing window, and no memory-layout precondition outside attacker influence, since the attacker can groom the freed vmalloc/kmalloc region with ordinary allocations before the stale pointers are used.\nPR:L - The freed-memory references are established automatically at boot with zero privilege, and an ordinary unprivileged local user with default `/dev/snd` access (granted to the console user by logind ACLs, or the `audio` group) can drive DAPM path re-evaluation and spray the freed pages; no root or capability is needed to reach the affected state.\nUI:N - Topology parsing and the subsequent `release_firmware()` happen automatically during sound-card initialization on affected Intel AVS/SOF and Qualcomm qdsp6 systems, with no action required from any victim user.\nS:U - The stale pointers, the freed firmware buffer, and any resulting corruption are all confined to the kernel of the same system; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Reads through the dangling `route->source/sink/control` pointers pull whatever kernel data has been reallocated into the freed firmware pages, and those bytes are used as widget/control names and printed via `dev_dbg`/`dev_err` in `sof_route_load()` and `snd_soc_dapm_add_route()`, disclosing arbitrary reallocated kernel memory.\nI:H - The stale pointers are also written through — Intel AVS did `strscpy((char *)route->source, buf, len)` on them (fixed in companion commit fd660b1bd015) — giving a write into memory that now belongs to some other kernel allocation, which is a classic use-after-free write primitive usable for control-flow hijacking.\nA:H - Dereferencing pointers into a released vmalloc'd firmware buffer produces a use-after-free that readily oopses or panics the kernel, and the follow-up \"ASoC: topology: Fix route memory corruption\" commit confirms real-world memory corruption in this exact code."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/soc-topology.c"],"versions":[{"version":"7df04ea7a31eaa75bdad2905f07cc097b15558ee","lessThan":"b188d7f3dfab10e332e3c1066e18857964a520d2","status":"affected","versionType":"git"},{"version":"7df04ea7a31eaa75bdad2905f07cc097b15558ee","lessThan":"ab5a6208b4d6872b1c6ecea1867940fc668cc76d","status":"affected","versionType":"git"},{"version":"7df04ea7a31eaa75bdad2905f07cc097b15558ee","lessThan":"ccae5c6a1fab9494c86b7856faf05e296c617702","status":"affected","versionType":"git"},{"version":"7df04ea7a31eaa75bdad2905f07cc097b15558ee","lessThan":"97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/soc-topology.c"],"versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"6.1.101","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.42","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.11","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","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":"5.1","versionEndExcluding":"6.1.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.6.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.9.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.10"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b188d7f3dfab10e332e3c1066e18857964a520d2"},{"url":"https://git.kernel.org/stable/c/ab5a6208b4d6872b1c6ecea1867940fc668cc76d"},{"url":"https://git.kernel.org/stable/c/ccae5c6a1fab9494c86b7856faf05e296c617702"},{"url":"https://git.kernel.org/stable/c/97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1"}],"title":"ASoC: topology: Fix references to freed memory","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/b188d7f3dfab10e332e3c1066e18857964a520d2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ab5a6208b4d6872b1c6ecea1867940fc668cc76d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ccae5c6a1fab9494c86b7856faf05e296c617702","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:00:19.311Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41069","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:21:43.300028Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:34:01.067Z"}}]}}