Assigner | Linux |
Reserved | 2024-02-25 |
Published | 2024-05-01 |
Updated | 2024-07-05 |
Description
In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is needed Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning: WARNING: CPU: 0 PID: 2569 at fs/dcache.c:762 dput.part.0+0x3f3/0x410 Using the combo of d_drop()/dput() (as mentioned in Documentation/filesystems/vfs.rst) isn't the right approach here, and leads to the reference counting problem seen above. Use d_invalidate() and update the code to not bother checking for error codes that can never happen. ---
Product status
609e28bb139e before db6e5e16f1ee
609e28bb139e before 4cdf9006fc09
609e28bb139e before cb9e802e49c2
609e28bb139e before 340682ed1932
609e28bb139e before a43e0fc5e913
5.8
Any version before 5.8
6.1.83
6.6.23
6.7.11
6.8.2
6.9
References
https://git.kernel.org/stable/c/db6e5e16f1ee9e3b01d2f71c7f0ba945f4bf0f4e
https://git.kernel.org/stable/c/4cdf9006fc095af71da80e9b5f48a32e991b9ed3
https://git.kernel.org/stable/c/cb9e802e49c24eeb3af35e9e8c04d526f35f112a
https://git.kernel.org/stable/c/340682ed1932b8e3bd0bfc6c31a0c6354eb57cc6
https://git.kernel.org/stable/c/a43e0fc5e9134a46515de2f2f8d4100b74e50de3