VDB

CVE-2024-35879

CVE-2024-35879 PUBLISHED CVSS 7.8 HIGH

of: dynamic: Synchronize of_changeset_destroy() with the devlink removals

Reported by linux · Published May 19, 2024

In the Linux kernel, the following vulnerability has been resolved: of: dynamic: Synchronize of_changeset_destroy() with the devlink removals In the following sequence: 1) of_platform_depopulate() 2) of_overlay_remove() During the step 1, devices are destroyed and devlinks are removed. During the step 2, OF nodes are destroyed but __of_changeset_entry_destroy() can raise warnings related to missing of_node_put(): ERROR: memory leak, expected refcount 1 instead of 2 ... Indeed, during the devlink removals performed at step 1, the removal itself releasing the device (and the attached of_node) is done by a job queued in a workqueue and so, it is done asynchronously with respect to function calls. When the warning is present, of_node_put() will be called but wrongly too late from the workqueue job. In order to be sure that any ongoing devlink removals are done before the of_node destruction, synchronize the of_changeset_destroy() with the devlink removals.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.5, 6.6.26, 6.1.85, 5.15.154, 5.13, 5.10.215

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd007150b4e15bfcb8d36cfd88a5645d42e44d383, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f
LinuxLinux5.13, 0, 5.10.215
linuxlinux_kernel5.13, 5.13, 5.13
LinuxLinux*, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f

Timeline

  • May 19, 2024 CVE Published
  • May 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (442 in total, the first dated here)
  • Jan 10, 2026 CVE Updated
  • Mar 31, 2026 Distribution Patch (337 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35879
vulnetix vdb fixes CVE-2024-35879

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35879/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›