{"id":"CVE-2026-143100","state":"PUBLISHED","title":"software node: only let the owner release a managed node","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoftware node: only let the owner release a managed node\n\ndevice_create_managed_software_node() creates a node whose lifetime is\ntied to the device it was created for. software_node_notify_remove() is\ncalled for every device that has the node as its fwnode (primary OR\nsecondary) and, if the node is managed, unconditionally detaches it from\nthat device and drops the creation reference.\n\nThis breaks when the node is shared with another device. Example: the\ni2c-designware copies the parent's fwnode to the adapter's struct device.\nWhen the adapter is deleted, it releases the reference that belongs to\nthe owner and the latter ends up with a dangling pointer.\n\nRecord the device's \"manager\" and only perform the actual release when\nnotify is called for that \"owner\" device.\n\nNote that it was never the intention that managed software nodes would\nbe shared, but descendants reusing ancestor firmware nodes is not\nuncommon and such use is hard to predict when allocating software nodes.\n\n[ johan: drop temporary variable; skip clearing owner field;\n         mention reuse not intended in commit message ]","publishedAt":"2026-12-03T09:19:19.273Z","updatedAt":"2026-12-03T09:19:19.273Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"c3596a3e50d01f8178650e3ca7db132d4b556143","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"372911fb48a3052dea969b6bef64211f31b86bc5","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"8130bccfc026882ea2316c7cfe6249af5b3a514c","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"d328ac6af117174643390728b8a285feeec9bf68","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"f8623ce596492d2e96ca57eeec992938d3d79f00","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/swnode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/swnode.c"]}],"references":["https://git.kernel.org/stable/c/c3596a3e50d01f8178650e3ca7db132d4b556143","https://git.kernel.org/stable/c/372911fb48a3052dea969b6bef64211f31b86bc5","https://git.kernel.org/stable/c/8130bccfc026882ea2316c7cfe6249af5b3a514c","https://git.kernel.org/stable/c/d328ac6af117174643390728b8a285feeec9bf68","https://git.kernel.org/stable/c/f8623ce596492d2e96ca57eeec992938d3d79f00"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143100.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143100","state":"PUBLISHED","datePublished":"2026-12-03T09:19:19.273Z","dateUpdated":"2026-12-03T09:19:19.273Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.349Z"},"containers":{"cna":{"title":"software node: only let the owner release a managed node","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoftware node: only let the owner release a managed node\n\ndevice_create_managed_software_node() creates a node whose lifetime is\ntied to the device it was created for. software_node_notify_remove() is\ncalled for every device that has the node as its fwnode (primary OR\nsecondary) and, if the node is managed, unconditionally detaches it from\nthat device and drops the creation reference.\n\nThis breaks when the node is shared with another device. Example: the\ni2c-designware copies the parent's fwnode to the adapter's struct device.\nWhen the adapter is deleted, it releases the reference that belongs to\nthe owner and the latter ends up with a dangling pointer.\n\nRecord the device's \"manager\" and only perform the actual release when\nnotify is called for that \"owner\" device.\n\nNote that it was never the intention that managed software nodes would\nbe shared, but descendants reusing ancestor firmware nodes is not\nuncommon and such use is hard to predict when allocating software nodes.\n\n[ johan: drop temporary variable; skip clearing owner field;\n         mention reuse not intended in commit message ]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"c3596a3e50d01f8178650e3ca7db132d4b556143","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"372911fb48a3052dea969b6bef64211f31b86bc5","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"8130bccfc026882ea2316c7cfe6249af5b3a514c","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"d328ac6af117174643390728b8a285feeec9bf68","versionType":"git"},{"version":"151f6ff78cdf1d6de76e90556cfc43f1e48abe18","status":"affected","lessThan":"f8623ce596492d2e96ca57eeec992938d3d79f00","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/swnode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/base/swnode.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c3596a3e50d01f8178650e3ca7db132d4b556143"},{"url":"https://git.kernel.org/stable/c/372911fb48a3052dea969b6bef64211f31b86bc5"},{"url":"https://git.kernel.org/stable/c/8130bccfc026882ea2316c7cfe6249af5b3a514c"},{"url":"https://git.kernel.org/stable/c/d328ac6af117174643390728b8a285feeec9bf68"},{"url":"https://git.kernel.org/stable/c/f8623ce596492d2e96ca57eeec992938d3d79f00"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:19.273Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}