mirror of https://github.com/torvalds/linux.git
validate_addr() checks whether the address returned by mmap() lies in the
low or high VA space, according to whether a high addr hint was passed or
not. The fix commit mentioned below changed the code in such a way that
this function will always return failure when passed high_addr == 1; addr
will be >= HIGH_ADDR_MARK always, we will fall down to "if (addr >
HIGH_ADDR_MARK)" and return failure. Fix this.
Link: https://lkml.kernel.org/r/20250620111150.50344-1-dev.jain@arm.com
Fixes:
|
||
|---|---|---|
| .. | ||
| page_frag | ||
| .gitignore | ||
| Makefile | ||
| charge_reserved_hugetlb.sh | ||
| check_config.sh | ||
| compaction_test.c | ||
| config | ||
| cow.c | ||
| droppable.c | ||
| guard-regions.c | ||
| gup_longterm.c | ||
| gup_test.c | ||
| hmm-tests.c | ||
| hugepage-mmap.c | ||
| hugepage-mremap.c | ||
| hugepage-shm.c | ||
| hugepage-vmemmap.c | ||
| hugetlb-madvise.c | ||
| hugetlb-read-hwpoison.c | ||
| hugetlb-soft-offline.c | ||
| hugetlb_dio.c | ||
| hugetlb_fault_after_madv.c | ||
| hugetlb_madv_vs_map.c | ||
| hugetlb_reparenting_test.sh | ||
| khugepaged.c | ||
| ksm_functional_tests.c | ||
| ksm_tests.c | ||
| madv_populate.c | ||
| map_fixed_noreplace.c | ||
| map_hugetlb.c | ||
| map_populate.c | ||
| mdwe_test.c | ||
| memfd_secret.c | ||
| merge.c | ||
| migration.c | ||
| mkdirty.c | ||
| mlock-random-test.c | ||
| mlock2-tests.c | ||
| mlock2.h | ||
| mrelease_test.c | ||
| mremap_dontunmap.c | ||
| mremap_test.c | ||
| mseal_helpers.h | ||
| mseal_test.c | ||
| on-fault-limit.c | ||
| pagemap_ioctl.c | ||
| pfnmap.c | ||
| pkey-arm64.h | ||
| pkey-helpers.h | ||
| pkey-powerpc.h | ||
| pkey-x86.h | ||
| pkey_sighandler_tests.c | ||
| pkey_util.c | ||
| protection_keys.c | ||
| run_vmtests.sh | ||
| settings | ||
| soft-dirty.c | ||
| split_huge_page_test.c | ||
| test_hmm.sh | ||
| test_page_frag.sh | ||
| test_vmalloc.sh | ||
| thp_settings.c | ||
| thp_settings.h | ||
| thuge-gen.c | ||
| transhuge-stress.c | ||
| uffd-common.c | ||
| uffd-common.h | ||
| uffd-stress.c | ||
| uffd-unit-tests.c | ||
| uffd-wp-mremap.c | ||
| va_high_addr_switch.c | ||
| va_high_addr_switch.sh | ||
| virtual_address_range.c | ||
| vm_util.c | ||
| vm_util.h | ||
| write_hugetlb_memory.sh | ||
| write_to_hugetlbfs.c | ||