mm/mprotect: only reference swap pfn page if type match
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.6 by commit 5fcf81e308d1f4ae95f31690d2a80b7061385ff9, it was introduced in version v5.19 by commit 6c287605fd56466e645693eff3ae7c08fba56e0a. For more details please see the references link.