CVE-2022-50500

netdevsim: fix memory leak in nsim_drv_probe() when nsim_dev_resources_register() failed

References

Notes

 carnil> Introduced in 37923ed6b8ce ("netdevsim: Add simple FIB resource controller via
 carnil> devlink"). Vulnerable versions: 4.17.

Bugs

Status

Branch Status
upstream released (6.1-rc3) [6b1da9f7126f05e857da6db24c6a04aa7974d644]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.16-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 (6.0.7-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