cve-2024-42089
Vulnerability from cvelistv5
Published
2024-07-29 16:26
Modified
2024-12-19 09:12
Severity ?
EPSS score ?
0.07% (0.18827)
Summary
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl-asoc-card: set priv->pdev before using it priv->pdev pointer was set after being used in fsl_asoc_card_audmux_init(). Move this assignment at the start of the probe function, so sub-functions can correctly use pdev through priv. fsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the dev struct, used with dev_err macros. As priv is zero-initialised, there would be a NULL pointer dereference. Note that if priv->dev is dereferenced before assignment but never used, for example if there is no error to be printed, the driver won't crash probably due to compiler optimisations.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaedPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99aPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723aPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461acPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6aPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaedPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99aPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723aPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461acPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6aPatch
Impacted products
Vendor Product Version
Linux Linux Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Version: 708b4351f08c08ea93f773fb9197bdd3f3b08273
Create a notification for this product.
   Linux Linux Version: 3.18
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T04:54:32.275Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-42089",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-10T16:18:44.318855Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-11T17:33:01.199Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "sound/soc/fsl/fsl-asoc-card.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "ae81535ce2503aabc4adab3472f4338070cdeb6a",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "8896e18b7c366f8faf9344abfd0971435f1c723a",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "3662eb2170e59b58ad479982dc1084889ba757b9",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "544ab46b7ece6d6bebbdee5d5659c0a0f804a99a",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "8faf91e58425c2f6ce773250dfd995f1c2d461ac",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "7c18b4d89ff9c810b6e562408afda5ce165c4ea6",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
                  {
                     lessThan: "90f3feb24172185f1832636264943e8b5e289245",
                     status: "affected",
                     version: "708b4351f08c08ea93f773fb9197bdd3f3b08273",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "sound/soc/fsl/fsl-asoc-card.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "3.18",
                  },
                  {
                     lessThan: "3.18",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.19.*",
                     status: "unaffected",
                     version: "4.19.317",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.4.*",
                     status: "unaffected",
                     version: "5.4.279",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.221",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.162",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.97",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.37",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.9.*",
                     status: "unaffected",
                     version: "6.9.8",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.10",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: fsl-asoc-card: set priv->pdev before using it\n\npriv->pdev pointer was set after being used in\nfsl_asoc_card_audmux_init().\nMove this assignment at the start of the probe function, so\nsub-functions can correctly use pdev through priv.\n\nfsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the\ndev struct, used with dev_err macros.\nAs priv is zero-initialised, there would be a NULL pointer dereference.\nNote that if priv->dev is dereferenced before assignment but never used,\nfor example if there is no error to be printed, the driver won't crash\nprobably due to compiler optimisations.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T09:12:31.883Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a",
            },
            {
               url: "https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a",
            },
            {
               url: "https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9",
            },
            {
               url: "https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a",
            },
            {
               url: "https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac",
            },
            {
               url: "https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed",
            },
            {
               url: "https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6",
            },
            {
               url: "https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245",
            },
         ],
         title: "ASoC: fsl-asoc-card: set priv->pdev before using it",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-42089",
      datePublished: "2024-07-29T16:26:29.288Z",
      dateReserved: "2024-07-29T15:50:41.171Z",
      dateUpdated: "2024-12-19T09:12:31.883Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-42089\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-29T17:15:11.520\",\"lastModified\":\"2025-02-03T15:23:12.347\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nASoC: fsl-asoc-card: set priv->pdev before using it\\n\\npriv->pdev pointer was set after being used in\\nfsl_asoc_card_audmux_init().\\nMove this assignment at the start of the probe function, so\\nsub-functions can correctly use pdev through priv.\\n\\nfsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the\\ndev struct, used with dev_err macros.\\nAs priv is zero-initialised, there would be a NULL pointer dereference.\\nNote that if priv->dev is dereferenced before assignment but never used,\\nfor example if there is no error to be printed, the driver won't crash\\nprobably due to compiler optimisations.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: fsl-asoc-card: establezca priv->pdev antes de usarlo. El puntero priv->pdev se configuró después de usarse en fsl_asoc_card_audmux_init(). Mueva esta asignación al inicio de la función de sonda, para que las subfunciones puedan usar correctamente pdev a través de priv. fsl_asoc_card_audmux_init() elimina la referencia a priv->pdev para obtener acceso a la estructura dev, utilizada con las macros dev_err. Como priv está inicializado en cero, habría una desreferencia del puntero NULL. Tenga en cuenta que si se elimina la referencia a priv->dev antes de la asignación pero nunca se usa, por ejemplo, si no hay ningún error que imprimir, el controlador nofallará probablemente debido a las optimizaciones del compilador.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.18\",\"versionEndExcluding\":\"4.19.317\",\"matchCriteriaId\":\"0282C447-EB90-4DB1-AA50-CAF78F9D8C63\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.279\",\"matchCriteriaId\":\"F4E38E58-1B9F-4DF2-AD3D-A8BEAA2959D8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.221\",\"matchCriteriaId\":\"659E1520-6345-41AF-B893-A7C0647585A0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.162\",\"matchCriteriaId\":\"10A39ACC-3005-40E8-875C-98A372D1FFD5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.97\",\"matchCriteriaId\":\"748B6C4B-1F61-47F9-96CC-8899B8412D84\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.37\",\"matchCriteriaId\":\"D72E033B-5323-4C4D-8818-36E1EBC3535F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.9.8\",\"matchCriteriaId\":\"E95105F2-32E3-4C5F-9D18-7AEFD0E6275C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"2EBB4392-5FA6-4DA9-9772-8F9C750109FA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"331C2F14-12C7-45D5-893D-8C52EE38EA10\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"3173713D-909A-4DD3-9DD4-1E171EB057EE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"79F18AFA-40F7-43F0-BA30-7BDB65F918B9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"BD973AA4-A789-49BD-8D57-B2846935D3C7\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:54:32.275Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-42089\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:18:44.318855Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:14.084Z\"}}], \"cna\": {\"title\": \"ASoC: fsl-asoc-card: set priv->pdev before using it\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"ae81535ce250\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"8896e18b7c36\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"3662eb2170e5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"544ab46b7ece\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"8faf91e58425\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"29bc9e7c7539\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"7c18b4d89ff9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"708b4351f08c\", \"lessThan\": \"90f3feb24172\", \"versionType\": \"git\"}], \"programFiles\": [\"sound/soc/fsl/fsl-asoc-card.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.18\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.18\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.317\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.279\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.221\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.162\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.97\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.8\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"sound/soc/fsl/fsl-asoc-card.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ae81535ce2503aabc4adab3472f4338070cdeb6a\"}, {\"url\": \"https://git.kernel.org/stable/c/8896e18b7c366f8faf9344abfd0971435f1c723a\"}, {\"url\": \"https://git.kernel.org/stable/c/3662eb2170e59b58ad479982dc1084889ba757b9\"}, {\"url\": \"https://git.kernel.org/stable/c/544ab46b7ece6d6bebbdee5d5659c0a0f804a99a\"}, {\"url\": \"https://git.kernel.org/stable/c/8faf91e58425c2f6ce773250dfd995f1c2d461ac\"}, {\"url\": \"https://git.kernel.org/stable/c/29bc9e7c75398b0d12fc30955f2e9b2dd29ffaed\"}, {\"url\": \"https://git.kernel.org/stable/c/7c18b4d89ff9c810b6e562408afda5ce165c4ea6\"}, {\"url\": \"https://git.kernel.org/stable/c/90f3feb24172185f1832636264943e8b5e289245\"}], \"x_generator\": {\"engine\": \"bippy-9e1c9544281a\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nASoC: fsl-asoc-card: set priv->pdev before using it\\n\\npriv->pdev pointer was set after being used in\\nfsl_asoc_card_audmux_init().\\nMove this assignment at the start of the probe function, so\\nsub-functions can correctly use pdev through priv.\\n\\nfsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the\\ndev struct, used with dev_err macros.\\nAs priv is zero-initialised, there would be a NULL pointer dereference.\\nNote that if priv->dev is dereferenced before assignment but never used,\\nfor example if there is no error to be printed, the driver won't crash\\nprobably due to compiler optimisations.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-11-05T09:37:11.465Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2024-42089\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-11-05T09:37:11.465Z\", \"dateReserved\": \"2024-07-29T15:50:41.171Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-29T16:26:29.288Z\", \"assignerShortName\": \"Linux\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.
  • 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.