dpaa2-switch: put MAC endpoint device on disconnect

Summary

CVECVE-2026-68333
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-10 13:20:23 UTC
Updated2026-08-10 13:20:23 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: dpaa2-switch: put MAC endpoint device on disconnect fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The switch port connect path stores that device in mac->mc_dev and keeps it for the lifetime of the connected MAC object. However, the disconnect path only closes the MAC and frees the dpaa2_mac object. It does not drop the endpoint device reference stored in mac->mc_dev, so every successful connect leaks that device reference when the MAC is later disconnected. Drop the endpoint device reference before freeing the dpaa2_mac object.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 84cba72956fddf29ba666f885c39ed147024c125 1f4ca61b7a93de3dfa5161bcd38ecb99bb091c38 git Not specified
CNA Linux Linux affected 84cba72956fddf29ba666f885c39ed147024c125 680eecc850d36a280df9780496bc603fec17b2d6 git Not specified
CNA Linux Linux affected 84cba72956fddf29ba666f885c39ed147024c125 26ac2d3602347f0377fbcd5214bc28a9d735ae68 git Not specified
CNA Linux Linux affected 84cba72956fddf29ba666f885c39ed147024c125 c27694ff6748e08fcd2fdba89018439d75b8198f git Not specified
CNA Linux Linux affected 84cba72956fddf29ba666f885c39ed147024c125 4c1eabbef7a1707635652e956e39db1269c3af2b git Not specified
CNA Linux Linux affected 5.15 Not specified
CNA Linux Linux unaffected 5.15 semver Not specified
CNA Linux Linux unaffected 6.6.148 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.101 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.42 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.6 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc5 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/4c1eabbef7a1707635652e956e39db1269c3af2b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c27694ff6748e08fcd2fdba89018439d75b8198f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/680eecc850d36a280df9780496bc603fec17b2d6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/26ac2d3602347f0377fbcd5214bc28a9d735ae68 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1f4ca61b7a93de3dfa5161bcd38ecb99bb091c38 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report