In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible UAF when kfifo_alloc() fails If kfifo_alloc() fails in mport_cdev_open(), goto err_fifo and just free priv. But priv is still in the chdev->file_list, then list traversal may cause UAF. This fixes the following smatch warning: drivers/rapidio/devices/rio_mport_cdev.c:1930 mport_cdev_open() warn: '&priv->list' not removed from list
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | Windows 10 Version 1607 for x64-based Systems |
| Linux | Linux | Windows 10 Version 1703 for 32-bit Systems |
| Linux | Linux | 8.1 for 32-bit systems |
| Linux | Linux | 10 for 32-bit Systems |