{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "499fef09a3237497906084da3eede0185fc9abb8"
            },
            {
              "fixed": "95de286200b2a046da01c4aeba02ae9220d68ca4"
            },
            {
              "fixed": "633bad3dc81ce2aa561f704ec091e49eb647bd0b"
            },
            {
              "fixed": "3a2390c6777e3f6662980c6cfc25cafe9e4fef98"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49758.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nreset: uniphier-glue: Fix possible null-ptr-deref\n\nIt will cause null-ptr-deref when resource_size(res) invoked,\nif platform_get_resource() returns NULL.",
  "id": "CVE-2022-49758",
  "modified": "2026-04-01T23:08:12.307760390Z",
  "published": "2025-03-27T16:43:05.465Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3a2390c6777e3f6662980c6cfc25cafe9e4fef98"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/633bad3dc81ce2aa561f704ec091e49eb647bd0b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/95de286200b2a046da01c4aeba02ae9220d68ca4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49758.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49758"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "reset: uniphier-glue: Fix possible null-ptr-deref"
}