GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-49435 (GCVE-0-2022-49435)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:12 – Updated: 2026-05-11 18:59
VLAI
Title
mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
Summary
In the Linux kernel, the following vulnerability has been resolved: mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe() It will cause null-ptr-deref when using 'res', if platform_get_resource() returns NULL, so move using 'res' after devm_ioremap_resource() that will check it to avoid null-ptr-deref. And use devm_platform_get_and_ioremap_resource() to simplify code.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < 49c1e32e7b3f301642a60448700ec531df981269 (git)
Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < a1d4941d9a24999f680799f9bbde7f57351ca637 (git)
Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < 5289795824b77489803b0802cd9edc13824a2d0b (git)
Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < 2d00158a06efe6bbcd020108634ea0f2ed8b32f7 (git)
Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < 579944b9f38727d9ff570b58f83bc424e8af8398 (git)
Affected: b5e29aa880be84c271be8d0726cec4018bfbfd74 , < 311242c7703df0da14c206260b7e855f69cb0264 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.4
Unaffected: 0 , < 5.4 (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.121 , ≤ 5.10.* (semver)
Unaffected: 5.15.46 , ≤ 5.15.* (semver)
Unaffected: 5.17.14 , ≤ 5.17.* (semver)
Unaffected: 5.18.3 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mfd/davinci_voicecodec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "49c1e32e7b3f301642a60448700ec531df981269",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            },
            {
              "lessThan": "a1d4941d9a24999f680799f9bbde7f57351ca637",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            },
            {
              "lessThan": "5289795824b77489803b0802cd9edc13824a2d0b",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            },
            {
              "lessThan": "2d00158a06efe6bbcd020108634ea0f2ed8b32f7",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            },
            {
              "lessThan": "579944b9f38727d9ff570b58f83bc424e8af8398",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            },
            {
              "lessThan": "311242c7703df0da14c206260b7e855f69cb0264",
              "status": "affected",
              "version": "b5e29aa880be84c271be8d0726cec4018bfbfd74",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mfd/davinci_voicecodec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()\n\nIt will cause null-ptr-deref when using \u0027res\u0027, if platform_get_resource()\nreturns NULL, so move using \u0027res\u0027 after devm_ioremap_resource() that\nwill check it to avoid null-ptr-deref.\nAnd use devm_platform_get_and_ioremap_resource() to simplify code."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T18:59:45.874Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/49c1e32e7b3f301642a60448700ec531df981269"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1d4941d9a24999f680799f9bbde7f57351ca637"
        },
        {
          "url": "https://git.kernel.org/stable/c/5289795824b77489803b0802cd9edc13824a2d0b"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d00158a06efe6bbcd020108634ea0f2ed8b32f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/579944b9f38727d9ff570b58f83bc424e8af8398"
        },
        {
          "url": "https://git.kernel.org/stable/c/311242c7703df0da14c206260b7e855f69cb0264"
        }
      ],
      "title": "mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49435",
    "datePublished": "2025-02-26T02:12:51.554Z",
    "dateReserved": "2025-02-26T02:08:31.570Z",
    "dateUpdated": "2026-05-11T18:59:45.874Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-49435",
      "date": "2026-09-16",
      "epss": "0.00257",
      "percentile": "0.17574"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49435\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:01:19.957\",\"lastModified\":\"2026-06-17T05:18:02.493\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()\\n\\nIt will cause null-ptr-deref when using \u0027res\u0027, if platform_get_resource()\\nreturns NULL, so move using \u0027res\u0027 after devm_ioremap_resource() that\\nwill check it to avoid null-ptr-deref.\\nAnd use devm_platform_get_and_ioremap_resource() to simplify code.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mfd: davinci_voicecodec: Se corrige la posible eliminaci\u00f3n de PTR nula con davinci_vc_probe(). Esto provocar\u00e1 una eliminaci\u00f3n de PTR nula al usar \u0027res\u0027, si platform_get_resource() devuelve NULL, por lo que se debe mover el uso de \u0027res\u0027 despu\u00e9s de devm_ioremap_resource() que lo comprobar\u00e1 para evitar la eliminaci\u00f3n de PTR nula. Y se usa devm_platform_get_and_ioremap_resource() para simplificar el c\u00f3digo.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/mfd/davinci_voicecodec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"49c1e32e7b3f301642a60448700ec531df981269\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"a1d4941d9a24999f680799f9bbde7f57351ca637\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"5289795824b77489803b0802cd9edc13824a2d0b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"2d00158a06efe6bbcd020108634ea0f2ed8b32f7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"579944b9f38727d9ff570b58f83bc424e8af8398\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5e29aa880be84c271be8d0726cec4018bfbfd74\",\"lessThan\":\"311242c7703df0da14c206260b7e855f69cb0264\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/mfd/davinci_voicecodec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.198\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.121\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.46\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.17.14\",\"lessThanOrEqual\":\"5.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.18.3\",\"lessThanOrEqual\":\"5.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"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\":\"5.4\",\"versionEndExcluding\":\"5.4.198\",\"matchCriteriaId\":\"6653E620-9B05-4D69-80AC-D2E6B47B3ED1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.121\",\"matchCriteriaId\":\"34ACD872-E5BC-401C-93D5-B357A62426E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.46\",\"matchCriteriaId\":\"20D41697-0E8B-4B7D-8842-F17BF2AA21E1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.17.14\",\"matchCriteriaId\":\"15E2DD33-2255-4B76-9C15-04FF8CBAB252\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.18\",\"versionEndExcluding\":\"5.18.3\",\"matchCriteriaId\":\"8E122216-2E9E-4B3E-B7B8-D575A45BA3C2\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2d00158a06efe6bbcd020108634ea0f2ed8b32f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/311242c7703df0da14c206260b7e855f69cb0264\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/49c1e32e7b3f301642a60448700ec531df981269\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5289795824b77489803b0802cd9edc13824a2d0b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/579944b9f38727d9ff570b58f83bc424e8af8398\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a1d4941d9a24999f680799f9bbde7f57351ca637\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:25:02+00:00",
      "cve": "CVE-2022-49435",
      "id": "CVE-2022-49435",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49435.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T01:31:17Z",
      "cve": "CVE-2022-49435",
      "id": "CVE-2022-49435",
      "initial_release_date": "2025-02-27T03:06:58Z",
      "product_status:known_affected": "334",
      "product_status:known_not_affected": "401",
      "product_status:recommended": "223",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-49435",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-49435.json",
      "version": "44"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…