{
  "id": "CVE-2026-53156",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53156",
  "published_at": "2026-06-25T08:38:39.495Z",
  "title": "nvmem: core: fix use-after-free bugs in error paths",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmem: core: fix use-after-free bugs in error paths\n\nFix several instances of error paths in which we call\n__nvmem_device_put() - which may end up freeing the underlying memory\nand other resources - and then keep on using the nvmem structure. Always\nput the reference to the nvmem device as the last step before returning\nthe error code.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e888d445ac33a5b0288d670ecd970908b13f07cd, \u003c 6cdcf0d16c80900f42d60252480cd131c1a83d23",
          "\u003e= e888d445ac33a5b0288d670ecd970908b13f07cd, \u003c e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7",
          "\u003e= e888d445ac33a5b0288d670ecd970908b13f07cd, \u003c cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae",
          "\u003e= e888d445ac33a5b0288d670ecd970908b13f07cd, \u003c 40e2a459c0dd1333b2343831480a0ad80dc07614",
          "\u003e= e888d445ac33a5b0288d670ecd970908b13f07cd, \u003c 5b6b6fc491899d583eaa75344e094796ae9b530b"
        ],
        "fixed_in": [
          "6cdcf0d16c80900f42d60252480cd131c1a83d23",
          "e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7",
          "cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae",
          "40e2a459c0dd1333b2343831480a0ad80dc07614",
          "5b6b6fc491899d583eaa75344e094796ae9b530b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.20"
        ],
        "fixed_in": [
          "0",
          "6.6.160",
          "6.12.94",
          "6.18.36",
          "7.0.13",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6cdcf0d16c80900f42d60252480cd131c1a83d23 or e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7 or cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae or 40e2a459c0dd1333b2343831480a0ad80dc07614 or 5b6b6fc491899d583eaa75344e094796ae9b530b or later.",
      "Upgrade Linux to 0 or 6.6.160 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
