{"description": "To set the runtime status of the <code>vm.mmap_min_addr</code> kernel parameter, run the following command: <pre>$ sudo sysctl -w vm.mmap_min_addr=65536</pre>\nTo make sure that the setting is persistent, add the following line to a file in the directory <tt>/etc/sysctl.d</tt>: <pre>vm.mmap_min_addr = 65536</pre>", "rationale": "The <tt>vm.mmap_min_addr</tt> parameter specifies the minimum virtual\naddress that a process is allowed to mmap. Allowing a process to mmap low\nportion of virtual memory can have security implications such as such as\nheightened risk of kernel null pointer dereference defects.", "severity": "medium", "references": {"anssi": ["R8"]}, "control_references": {"anssi": ["R8"]}, "components": [], "identifiers": {}, "ocil_clause": "the correct value is not returned", "ocil": "The runtime status of the <code>vm.mmap_min_addr</code> kernel parameter can be queried\nby running the following command:\n<pre>$ sysctl vm.mmap_min_addr</pre>\n<code>65536</code>.\n", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "system_with_kernel", "platforms": ["system_with_kernel"], "sce_metadata": {"check-import": "stdout", "platform": ["multi_platform_all"], "environment": "any", "filename": "sysctl_vm_mmap_min_addr.sh", "relative_path": "ubuntu2204/checks/sce/sysctl_vm_mmap_min_addr.sh"}, "inherited_platforms": [], "cpe_platform_names": ["system_with_kernel"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Prevent applications from mapping low portion of virtual memory", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/restrictions/sysctl_vm_mmap_min_addr/rule.yml", "template": {"name": "sysctl", "vars": {"sysctlvar": "vm.mmap_min_addr", "sysctlval": "65536", "datatype": "int"}, "backends": {}}}