CVE-2026-68331 PUBLISHED

dpaa2-eth: 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-eth: put MAC endpoint device on disconnect

fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The Ethernet 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 disconnects and closes the MAC before freeing 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 after closing the MAC and before freeing the dpaa2_mac object.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 71947923089353f23f4f210864903c4dcf2c1696 to 915012e923316b8b5d5bf8fc771617b47bd7572d (excl.)
  • affected from 71947923089353f23f4f210864903c4dcf2c1696 to e23e4a3b9dfd893469c731318d409cdf04fb1ddf (excl.)
  • affected from 71947923089353f23f4f210864903c4dcf2c1696 to f112df0744e2d77baa68eeebb860021bbaaa022a (excl.)
  • affected from 71947923089353f23f4f210864903c4dcf2c1696 to a3cecf169cc652b558d08661bb6ce55e4c933ec0 (excl.)
  • affected from 71947923089353f23f4f210864903c4dcf2c1696 to b4b201cc93ff70150853aba03e14d314d1980ca0 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.5 is affected
  • unaffected from 0 to 5.5 (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