CVE-2026-68333 PUBLISHED

dpaa2-switch: put MAC endpoint device on disconnect

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

In 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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 84cba72956fddf29ba666f885c39ed147024c125 to 1f4ca61b7a93de3dfa5161bcd38ecb99bb091c38 (excl.)
  • affected from 84cba72956fddf29ba666f885c39ed147024c125 to 680eecc850d36a280df9780496bc603fec17b2d6 (excl.)
  • affected from 84cba72956fddf29ba666f885c39ed147024c125 to 26ac2d3602347f0377fbcd5214bc28a9d735ae68 (excl.)
  • affected from 84cba72956fddf29ba666f885c39ed147024c125 to c27694ff6748e08fcd2fdba89018439d75b8198f (excl.)
  • affected from 84cba72956fddf29ba666f885c39ed147024c125 to 4c1eabbef7a1707635652e956e39db1269c3af2b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.15 is affected
  • unaffected from 0 to 5.15 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References