CVE-2024-35879
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.8.5, 6.6.26, 6.1.85, 5.15.154, 5.13, 5.10.215 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d007150b4e15bfcb8d36cfd88a5645d42e44d383, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f, 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f |
| Linux | Linux | 5.13, 0, 5.10.215 |
| linux | linux_kernel | 5.13, 5.13, 5.13 |
| Linux | Linux | *, 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