Skip to content
Heist/ feed
Back to feed
UnratedFix available

of: overlay: Call of_changeset_init() early

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: of: overlay: Call of_changeset_init() early When of_overlay_fdt_apply() fails, the changeset may be partially applied, and the caller is still expected to call of_overlay_remove() to clean up this partial state. However, of_overlay_apply() calls of_resolve_phandles() before init_overlay_changeset(). Hence if the overlay fails to apply due to an unresolved symbol, the overlay_changeset.cset.entries list is still uninitialized, and cleanup will crash with a NULL-pointer dereference in overlay_removal_is_ok(). Fix this by moving the call to of_changeset_init() from init_overlay_changeset() to of_overlay_fdt_apply(), where all other early initialization is done.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.132, 6.1.53, 6.4.16, 6.5.3
CVEs
CVE-2023-53856
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:46 UTC · Revision 1

Source evidence

of: overlay: Call of_changeset_init() early

core-osv · Original source

Published 9 Dec 2025, 01:30 UTC

In the Linux kernel, the following vulnerability has been resolved: of: overlay: Call of_changeset_init() early When of_overlay_fdt_apply() fails, the changeset may be partially applied, and the caller is still expected to call of_overlay_remove() to clean up this partial state. However, of_overlay_apply() calls of_resolve_phandles() before init_overlay_changeset(). Hence if the overlay fails to apply due to an unresolved symbol, the overlay_changeset.cset.entries list is still uninitialized, and cleanup will crash with a NULL-pointer dereference in overlay_removal_is_ok(). Fix this by moving the call to of_changeset_init() from init_overlay_changeset() to of_overlay_fdt_apply(), where all other early initialization is done.

osv:CVE-2023-53856

Kernel

Fixed versions: 5.15.132, 6.1.53, 6.4.16, 6.5.3

Complete source record
{
  "id": "b263fd0192361a6bf5b87e69e8b60ea953bd53371b8cb856ebd650f7da9c6fa8",
  "url": "https://osv.dev/vulnerability/CVE-2023-53856",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "of: overlay: Call of_changeset_init() early",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: of: overlay: Call of_changeset_init() early When of_overlay_fdt_apply() fails, the changeset may be partially applied, and the caller is still expected to call of_overlay_remove() to clean up this partial state. However, of_overlay_apply() calls of_resolve_phandles() before init_overlay_changeset(). Hence if the overlay fails to apply due to an unresolved symbol, the overlay_changeset.cset.entries list is still uninitialized, and cleanup will crash with a NULL-pointer dereference in overlay_removal_is_ok(). Fix this by moving the call to of_changeset_init() from init_overlay_changeset() to of_overlay_fdt_apply(), where all other early initialization is done.",
    "evidence": "osv:CVE-2023-53856",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.132",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53856",
      "aliases": [
        "CVE-2023-53856"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f948d6d8b792bb90041edc12eac35faf83030994"
                },
                {
                  "fixed": "01bb96ad38089f5cc6de7746dac13437d35eb1dc"
                },
                {
                  "fixed": "3fb210cd521c9efcb211e9f5ce40fc907200bf13"
                },
                {
                  "fixed": "be86241bf5d1efd16d8a7231c13b33459c5d755d"
                },
                {
                  "fixed": "c403c81b577a67fe9ec6a2e89d143256487be50f"
                },
                {
                  "fixed": "a9515ff4fb142b690a0d2b58782b15903b990dba"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53856.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.15.132"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.4.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.5.0"
                },
                {
                  "fixed": "6.5.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53856.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.325179011Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/01bb96ad38089f5cc6de7746dac13437d35eb1dc",
        "https://git.kernel.org/stable/c/3fb210cd521c9efcb211e9f5ce40fc907200bf13",
        "https://git.kernel.org/stable/c/a9515ff4fb142b690a0d2b58782b15903b990dba",
        "https://git.kernel.org/stable/c/be86241bf5d1efd16d8a7231c13b33459c5d755d",
        "https://git.kernel.org/stable/c/c403c81b577a67fe9ec6a2e89d143256487be50f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53856.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53856",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53856.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53856",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 522327,
  "published_at": "2025-12-09T01:30:22.012+00:00"
}