CVE-2022-48975

gpiolib: fix memory leak in gpiochip_setup_dev()

References

Notes

 carnil> Introduced in 159f3cd92f17 ("gpiolib: Defer gpio device setup until after
 carnil> gpiolib initialization"). Vulnerable versions: 4.6-rc3.

Bugs

Status

Branch Status
upstream released (6.1) [ec851b23084b3a0af8bf0f5e51d33a8d678bdc49]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.11-upstream-stable N/A "Fixed before branching point"
6.10-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.1.4-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