In the Linux kernel, the following vulnerability has been resolved: pinctrl: freescale: Fix a memory out of bounds when num_configs is 1 The config passed in by pad wakeup is 1, when num_configs is 1, Configuration [1] should not be fetched, which will be detected by KASAN as a memory out of bounds condition. Modify to get configs[1] when num_configs is 2.
https://git.kernel.org/stable/c/f85d3cb10f4df5ae3bdb9a9357315c28d781651f
https://git.kernel.org/stable/c/9063777ca1e2e895c5fdd493ee0c3f18fa710ed4
https://git.kernel.org/stable/c/27d9a7585b594bb2f9bb1f65e0003814fcc69c75