Description
In the Linux kernel, the following vulnerability has been resolved: usb: phy: isp1301: fix non-OF device reference imbalance A recent change fixing a device reference leak in a UDC driver introduced a potential use-after-free in the non-OF case as the isp1301_get_client() helper only increases the reference count for the returned I2C device in the OF case. Increment the reference count also for non-OF so that the caller can decrement it unconditionally. Note that this is inherently racy just as using the returned I2C device is since nothing is preventing the PHY driver from being unbound while in use.
Product status
0c2b0e747010fa645342138d71339a0ecb823bb0 (git) before 43e58abad6c08c5f0943594126ef4cd6559aac0b
33c2e2a87313bc1afe9f7febbbb2014c431a2c5d (git) before 03bbdaa4da8c6ea0c8431a5011db188a07822c8a
8481323710062051b3c42bff94ee5b18a2b496ca (git) before 75c5d9bce072abbbc09b701a49869ac23c34a906
8bd518ea03b81eb7b4a734b7b901866c448f6c07 (git) before 5d3df03f70547d4e3fc10ed4381c052eff51b157
cefaad839a384a72331aedad927b1944fb6943dc (git) before 7501ecfe3e5202490c2d13dc7e181203601fcd69
c84117912bddd9e5d87e68daf182410c98181407 (git) before b4b64fda4d30a83a7f00e92a0c8a1d47699609f3
21c7c83d592e6335bfb6d65608da3726f976bad4 (git)
References
git.kernel.org/...c/43e58abad6c08c5f0943594126ef4cd6559aac0b
git.kernel.org/...c/03bbdaa4da8c6ea0c8431a5011db188a07822c8a
git.kernel.org/...c/75c5d9bce072abbbc09b701a49869ac23c34a906
git.kernel.org/...c/5d3df03f70547d4e3fc10ed4381c052eff51b157
git.kernel.org/...c/7501ecfe3e5202490c2d13dc7e181203601fcd69
git.kernel.org/...c/b4b64fda4d30a83a7f00e92a0c8a1d47699609f3