CVE-2026-143100
not scored yetsoftware node: only let the owner release a managed node
In the Linux kernel, the following vulnerability has been resolved:
software node: only let the owner release a managed node
device_create_managed_software_node() creates a node whose lifetime is
tied to the device it was created for. software_node_notify_remove() is
called for every device that has the node as its fwnode (primary OR
secondary) and, if the node is managed, unconditionally detaches it from
that device and drops the creation reference.
This breaks when the node is shared with another device. Example: the
i2c-designware copies the parent's fwnode to the adapter's struct device.
When the adapter is deleted, it releases the reference that belongs to
the owner and the latter ends up with a dangling pointer.
Record the device's "manager" and only perform the actual release when
notify is called for that "owner" device.
Note that it was never the intention that managed software nodes would
be shared, but descendants reusing ancestor firmware nodes is not
uncommon and such use is hard to predict when allocating software nodes.
[ johan: drop temporary variable; skip clearing owner field;
mention reuse not intended in commit message ]
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 151f6ff78cdf1d6de76e90556cfc43f1e48abe18, < c3596a3e50d01f8178650e3ca7db132d4b556143; >= 151f6ff78cdf1d6de76e90556cfc43f1e48abe18, < 372911fb48a3052dea969b6bef64211f31b86bc5; >= 151f6ff78cdf1d6de76e90556cfc43f1e48abe18, < 8130bccfc026882ea2316c7cfe6249af5b3a514c; >= 151f6ff78cdf1d6de76e90556cfc43f1e48abe18, < d328ac6af117174643390728b8a285feeec9bf68; >= 151f6ff78cdf1d6de76e90556cfc43f1e48abe18, < f8623ce596492d2e96ca57eeec992938d3d79f00 | c3596a3e50d01f8178650e3ca7db132d4b556143, 372911fb48a3052dea969b6bef64211f31b86bc5, 8130bccfc026882ea2316c7cfe6249af5b3a514c, d328ac6af117174643390728b8a285feeec9bf68, f8623ce596492d2e96ca57eeec992938d3d79f00 |
| CVE List | Linux | Linux | = 5.12 |
References
- https://git.kernel.org/stable/c/372911fb48a3052dea969b6bef64211f31b86bc5
- https://git.kernel.org/stable/c/8130bccfc026882ea2316c7cfe6249af5b3a514c
- https://git.kernel.org/stable/c/c3596a3e50d01f8178650e3ca7db132d4b556143
- https://git.kernel.org/stable/c/d328ac6af117174643390728b8a285feeec9bf68
- https://git.kernel.org/stable/c/f8623ce596492d2e96ca57eeec992938d3d79f00
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)