In the Linux kernel, the following vulnerability has been resolved: drivers/base/node: fix UAF on device_register() failure node_init_node_access() frees the access node with kfree() if device_register() fails. After device_register() the embedded device is initialized and must be released with put_device() so that node_access_release() can free it.
https://git.kernel.org/stable/c/eac6c38aa553a0d8e206173a12636f915a5ec9e6
https://git.kernel.org/stable/c/c2f9766f89f81fb5a7f47d53c237cbab334679bb
https://git.kernel.org/stable/c/722dbb4fbea67b58d8303301db34d212d1a6f027
https://git.kernel.org/stable/c/6d7e9bc51d8f2d73b3403c759c769f880082f9ae
https://git.kernel.org/stable/c/3fde0b4401e35cb0ba8ad423e987485b9a2f49af
https://git.kernel.org/stable/c/21a1519dd996f197cdd79312acbf066552fc6a4f
https://git.kernel.org/stable/c/146da0d4cf6eece2a6ca4e76c6943d0b9c226693
https://git.kernel.org/stable/c/108cb5438af7f24f7154255577310292b22025e5