# CVE-2024-35879: of: dynamic: Synchronize of\_changeset\_destroy() with the devlink removals

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-19 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-35879, DEBIAN-CVE-2024-35879
- Record: https://cvemate.com/vulnerability/CVE-2024-35879 · JSON: https://cvemate.com/vulnerability/CVE-2024-35879/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.237%, percentile 15.732%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 115)

- debian linux (Debian): \< 6.1.85-1 \| \< 6.8.9-1
- ubuntu linux (Ubuntu): \< 5.15.0-116.126 \| \< 6.8.0-38.38
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1065.71 \| \< 6.8.0-1011.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1011.12~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1065.71+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1068.77 \| \< 6.8.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1068.77~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 23)

- <https://git.kernel.org/stable/c/3127b2ee50c424a96eb3559fbb7b43cf0b111c7a>
- <https://git.kernel.org/stable/c/3ee2424107546d882e1ddd75333ca9c32879908c>
- <https://git.kernel.org/stable/c/7b6df050c45a1ea158fd50bc32a8e1447dd1e951>
- <https://git.kernel.org/stable/c/801c8b8ec5bfb3519566dff16a5ecd48302fca82>
- <https://git.kernel.org/stable/c/ae6d76e4f06c37a623e357e79d49b17411db6f5c>
- <https://git.kernel.org/stable/c/8917e7385346bd6584890ed362985c219fe6ae84>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://ubuntu.com/security/CVE-2024-35879>
- <https://www.cve.org/CVERecord?id=CVE-2024-35879>
- <https://git.kernel.org/linus/8917e7385346bd6584890ed362985c219fe6ae84>
- <https://ubuntu.com/security/notices/USN-6893-1>
- <https://ubuntu.com/security/notices/USN-6898-1>
- <https://ubuntu.com/security/notices/USN-6893-2>
- <https://ubuntu.com/security/notices/USN-6898-2>
- <https://ubuntu.com/security/notices/USN-6898-3>
- <https://ubuntu.com/security/notices/USN-6893-3>
- <https://ubuntu.com/security/notices/USN-6898-4>
- <https://ubuntu.com/security/notices/USN-6917-1>
- <https://ubuntu.com/security/notices/USN-6919-1>
- <https://ubuntu.com/security/notices/USN-6918-1>

---

Data as of 2026-12-05T03:51:40.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
