CVE-2022-49390

macsec: fix UAF bug for real_dev

References

Notes

 carnil> Introduced in 2bce1ebed17d ("macsec: fix refcnt leak in module exit routine").
 carnil> Vulnerable versions: 4.14.154 4.19.84 5.3.11 5.4-rc6.

Bugs

Status

Branch Status
upstream released (5.19-rc1) [196a888ca6571deb344468e1d7138e3273206335]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.13-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable N/A "Fixed before branching point"
5.10-upstream-stable needed
sid released (5.18.5-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed