In the Linux kernel, the following vulnerability has been resolved:
powerpc/iommu: fix memory leak with using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 5.15.103 |
| linux / linux_kernel | 5.16 | 6.1.20 |
| linux / linux_kernel | 6.2 | 6.2.7 |