A resource leak vulnerability was fixed in the Linux kernel's viai2c-wmt driver. The issue involved the clock reference count not being decremented properly when errors occurred or the module was unloaded, due to improper management of the clock resource in wmt_i2c_probe().