Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-71152

published

net: dsa: properly keep track of conduit reference

Published
23 Jan 2026, 14:25:52 UTC
Updated
30 Oct 2026, 12:23:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux83c0afaec7b730b16c518aecc8e6246ec91b265e to < bc3305eeeee5d8e43005ad46e252991e46d10f33 · 83c0afaec7b730b16c518aecc8e6246ec91b265e to < ec2b34acb1894cfc10ed22d8277ca4f11e9f4b23 · 83c0afaec7b730b16c518aecc8e6246ec91b265e to < b358fc6ff3b35a29f7f677da1c67af67d0d560cb · 83c0afaec7b730b16c518aecc8e6246ec91b265e to < 0e766b77ba5093583dfe609fae0aa1545c46dbbd · 83c0afaec7b730b16c518aecc8e6246ec91b265e to < 06e219f6a706c367c93051f408ac61417643d2f9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.130 through 6.6.* (unaffected · semver) · 6.12.78 through 6.12.* (unaffected · semver) · 6.18.4 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el10uek ELSA-2026-50372
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-204.92.4.2.el9uek ELSA-2026-50372

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: properly keep track of conduit reference Problem description ------------------- DSA has a mumbo-jumbo of reference handling of the conduit net device and its kobject which, sadly, is just wrong and doesn't make sense. There are two distinct problems. 1. The OF path, which uses of_find_net_device_by_node(), never releases the elevated refcount on the conduit's kobject. Nominally, the OF and non-OF paths should result in objects having identical reference counts taken, and it is already suspicious that dsa_dev_to_net_device() has a put_device() call which is missing in dsa_port_parse_of(), but we can actually even verify that an issue exists. With CONFIG_DEBUG_KOBJECT_RELEASE=y, if we run this command "before" and "after" applying this patch: (unbind the conduit driver for net device eno2) echo 0000:00:00.2 > /sys/bus/pci/drivers/fsl_enetc/unbind we see these lines in the output diff which appear only with the patch applied: kobject: 'eno2' (ffff002009a3a6b8): kobject_release, parent 0000000000000000 (delayed 1000) kobject: '109' (ffff0020099d59a0): kobject_release, parent 0000000000000000 (delayed 1000) 2. After we find the conduit interface one way (OF) or another (non-OF), it can get unregistered at any time, and DSA remains with a long-lived, but in this case stale, cpu_dp->conduit pointer. Holding the net device's underlying kobject isn't actually of much help, it just prevents it from being freed (but we never need that kobject directly). What helps us to prevent the net device from being unregistered is the parallel netdev reference mechanism (dev_hold() and dev_put()). Actually we actually use that netdev tracker mechanism implicitly on user ports since commit 2f1e8ea726e9 ("net: dsa: link interfaces with the DSA master to get rid of lockdep warnings"), via netdev_upper_dev_link(). But time still passes at DSA switch probe time between the initial of_find_net_device_by_node() code and the user port creation time, time during which the conduit could unregister itself and DSA wouldn't know about it. So we have to run of_find_net_device_by_node() under rtnl_lock() to prevent that from happening, and release the lock only with the netdev tracker having acquired the reference. Do we need to keep the reference until dsa_unregister_switch() / dsa_switch_shutdown()? 1: Maybe yes. A switch device will still be registered even if all user ports failed to probe, see commit 86f8b1c01a0a ("net: dsa: Do not make user port errors fatal"), and the cpu_dp->conduit pointers remain valid. I haven't audited all call paths to see whether they will actually use the conduit in lack of any user port, but if they do, it seems safer to not rely on user ports for that reference. 2. Definitely yes. We support changing the conduit which a user port is associated to, and we can get into a situation where we've moved all user ports away from a conduit, thus no longer hold any reference to it via the net device tracker. But we shouldn't let it go nonetheless - see the next change in relation to dsa_tree_find_first_conduit() and LAG conduits which disappear. We have to be prepared to return to the physical conduit, so the CPU port must explicitly keep another reference to it. This is also to say: the user ports and their CPU ports may not always keep a reference to the same conduit net device, and both are needed. As for the conduit's kobject for the /sys/class/net/ entry, we don't care about it, we can release it as soon as we hold the net device object itself. History and blame attribution ----------------------------- The code has been refactored so many times, it is very difficult to follow and properly attribute a blame, but I'll try to make a short history which I hope to be correct. We have two distinct probing paths: - one for OF, introduced in 2016 i ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

32

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 83c0afaec7b730b16c518aecc8e6246ec91b265e to < bc3305eeeee5d8e43005ad46e252991e46d10f33 (affected · git)83c0afaec7b730b16c518aecc8e6246ec91b265e to < ec2b34acb1894cfc10ed22d8277ca4f11e9f4b23 (affected · git)83c0afaec7b730b16c518aecc8e6246ec91b265e to < b358fc6ff3b35a29f7f677da1c67af67d0d560cb (affected · git)83c0afaec7b730b16c518aecc8e6246ec91b265e to < 0e766b77ba5093583dfe609fae0aa1545c46dbbd (affected · git)83c0afaec7b730b16c518aecc8e6246ec91b265e to < 06e219f6a706c367c93051f408ac61417643d2f9 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.8 (affected)0 to < 4.8 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.130 through 6.6.* (unaffected · semver)6.12.78 through 6.12.* (unaffected · semver)6.18.4 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

net: dsa: properly keep track of conduit reference

Provenance

Schema
5.2
Searchable
yes
Content hash
37738170cfac6c6a015d0a77ef65c03f545eb6fe1dc5df0790f179f135e884ff
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected