CVE-2026-31762

In the Linux kernel, the following vulnerability has been resolved:

iio: gyro: mpu3050: Fix irq resource leak

The interrupt handler is setup but only a few lines down if
iio_trigger_register() fails the function returns without properly
releasing the handler.

Add cleanup goto to resolve resource leak.

Detected by Smatch:
drivers/iio/gyro/mpu3050-core.c:1128 mpu3050_trigger_probe() warn:
‘irq’ from request_threaded_irq() not released on lines: 1124.

More information : https://git.kernel.org/stable/c/3a8e68d65a443de05061818823037931674740e0