tag name | immutable-swapfiles_2019-08-26 (a95334069f6102c91b29adbbebcecb206189e594) |
tag date | 2019-08-26 13:55:16 -0700 |
tagged by | Darrick J. Wong <darrick.wong@oracle.com> |
tagged object | commit 6501298adb... |
xfs: various fixes for 5.3
I discovered that it's possible for userspace to write to active swap
files and swap devices. While activated, the kernel effectively holds
an irrevocable (except by swapoff) longterm lease on the storage
associated with the swap device, so we need to shut down this vector for
memory corruption of userspace programs.