CVE-2024-41069 (GCVE-0-2024-41069)
Vulnerability from cvelistv5
Published
2024-07-29 14:57
Modified
2026-08-05 11:35
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: topology: Fix references to freed memory Most users after parsing a topology file, release memory used by it, so having pointer references directly into topology file contents is wrong. Use devm_kmemdup(), to allocate memory as needed.
Impacted products
Vendor Product Version
Linux Linux Version: 7df04ea7a31eaa75bdad2905f07cc097b15558ee
Version: 7df04ea7a31eaa75bdad2905f07cc097b15558ee
Version: 7df04ea7a31eaa75bdad2905f07cc097b15558ee
Version: 7df04ea7a31eaa75bdad2905f07cc097b15558ee
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:00:19.311Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "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"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-41069",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:21:43.300028Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:01.067Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/soc-topology.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b188d7f3dfab10e332e3c1066e18857964a520d2",
              "status": "affected",
              "version": "7df04ea7a31eaa75bdad2905f07cc097b15558ee",
              "versionType": "git"
            },
            {
              "lessThan": "ab5a6208b4d6872b1c6ecea1867940fc668cc76d",
              "status": "affected",
              "version": "7df04ea7a31eaa75bdad2905f07cc097b15558ee",
              "versionType": "git"
            },
            {
              "lessThan": "ccae5c6a1fab9494c86b7856faf05e296c617702",
              "status": "affected",
              "version": "7df04ea7a31eaa75bdad2905f07cc097b15558ee",
              "versionType": "git"
            },
            {
              "lessThan": "97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1",
              "status": "affected",
              "version": "7df04ea7a31eaa75bdad2905f07cc097b15558ee",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/soc/soc-topology.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.101",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.42",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.11",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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 \u2014 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-\u003esource/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 \u2014 Intel AVS did `strscpy((char *)route-\u003esource, buf, len)` on them (fixed in companion commit fd660b1bd015) \u2014 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\u0027d 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:35:10.036Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-41069",
    "datePublished": "2024-07-29T14:57:30.245Z",
    "dateReserved": "2024-07-12T12:17:45.630Z",
    "dateUpdated": "2026-08-05T11:35:10.036Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"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\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"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\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:20.187Z\"}}], \"cna\": {\"title\": \"ASoC: topology: Fix references to freed memory\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"7df04ea7a31eaa75bdad2905f07cc097b15558ee\", \"lessThan\": \"b188d7f3dfab10e332e3c1066e18857964a520d2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7df04ea7a31eaa75bdad2905f07cc097b15558ee\", \"lessThan\": \"ab5a6208b4d6872b1c6ecea1867940fc668cc76d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7df04ea7a31eaa75bdad2905f07cc097b15558ee\", \"lessThan\": \"ccae5c6a1fab9494c86b7856faf05e296c617702\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"7df04ea7a31eaa75bdad2905f07cc097b15558ee\", \"lessThan\": \"97ab304ecd95c0b1703ff8c8c3956dc6e2afe8e1\", \"versionType\": \"git\"}], \"programFiles\": [\"sound/soc/soc-topology.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.1\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.1\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.1.101\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.42\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"sound/soc/soc-topology.c\"], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.101\", \"versionStartIncluding\": \"5.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.42\", \"versionStartIncluding\": \"5.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9.11\", \"versionStartIncluding\": \"5.1\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10\", \"versionStartIncluding\": \"5.1\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-01-05T10:37:36.949Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-41069\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-05T10:37:36.949Z\", \"dateReserved\": \"2024-07-12T12:17:45.630Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-29T14:57:30.245Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…