macsec: fix UAF bug for real_dev
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.17.15 by commit 78933cbc143b82d02330e00900d2fd08f2682f4e, it was introduced in version v5.4 by commit 2bce1ebed17da54c65042ec2b962e3234bad5b47. For more details please see the references link.