HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/usr/share/setroubleshoot/plugins/__pycache__/mmap_zero.cpython-39.opt-1.pyc
a

�Z`M	�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sLeZdZed�Zed�ZdZdZed�Zed�Z	ed�Z
dd�Zd	d
�ZdS)�pluginze
    Your system may be seriously compromised! $SOURCE_PATH attempted to mmap low kernel memory.
    a7
    SELinux has denied the $SOURCE the ability to mmap low area of the kernel 
    address space.  The ability to mmap a low area of the address space is 
    configured by /proc/sys/kernel/mmap_min_addr.  Preventing such mappings 
    helps protect against exploiting null deref bugs in the kernel. All 
    applications that need this access should have already had policy written 
    for them.  If a compromised application tries to modify the kernel, this AVC 
    would be generated. This is a serious issue. Your system may very well be 
    compromised.
    z:Contact your security administrator and report this issue.�zNIf you do not think $SOURCE_PATH should need to mmap low memory in the kernel.zEyou may be under attack by a hacker, this is a very dangerous access.cCs t�|t�|�d�d|_dS)N�
Zred)r�__init__�__name__Zset_priority�level)�self�r�./usr/share/setroubleshoot/plugins/mmap_zero.pyr1s
zplugin.__init__cCs|�dg�r|��SdS)NZ	mmap_zero)Zhas_any_access_inZreport)r
Zavcrrr�analyze5szplugin.analyzeN)
r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ	then_textZdo_textrr
rrrrrsr)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrrrrr�<module>s