# CVE-2024-53111: linux: In the Linux kernel, the following vulnerability has been resolved:  mm/mremap: fix address wraparound in move_page_t...

CVE-2024-53111 is fixed in 26 products on 1 platform, first by DEBIAN-CVE-2024-53111, released December 2, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-53111
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 2, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  mm/mremap: fix address wraparound in move_page_tables()  On 32-bit platforms, it is possible for the expression `len + old_addr < old_end` to be false-positive if `len + old_addr` wraps around.  `old_addr` is the cursor in the old range up to which page table entries have been moved; so if the operation succeeded, `old_addr` is the *end* of the old region, and adding `len` to it can wrap.  The overflow causes mremap() to mistakenly believe that PTEs have been copied; the consequence is that mremap() bails out, but doesn't move the PTEs back before the new VMA is unmapped, causing anonymous pages in the region to be lost.  So basically if userspace tries to mremap() a private-anon region and hits this bug, mremap() will return an error and the private-anon region's contents appear to have been zeroed.  The idea of this check is that `old_end - len` is the original start address, and writing the check that way also makes it easier to read; so fix the check by rearranging the comparison accordingly.  (An alternate fix would be to refactor this function by introducing an "orig_old_start" variable or such.)   Tested in a VM with a 32-bit X86 kernel; without the patch:  ``` user@horn:~/big_mremap$ cat test.c #define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <err.h> #include <sys/mman.h>  #define ADDR1 ((void*)0x60000000) #define ADDR2 ((void*)0x10000000) #define SIZE          0x50000000uL  int main(void) {   unsigned char *p1 = mmap(ADDR1, SIZE, PROT_READ|PROT_WRITE,       MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED_NOREPLACE, -1, 0);   if (p1 == MAP_FAILED)     err(1, "mmap 1");   unsigned char *p2 = mmap(ADDR2, SIZE, PROT_NONE,       MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED_NOREPLACE, -1, 0);   if (p2 == MAP_FAILED)     err(1, "mmap 2");   *p1 = 0x41;   printf("first char is 0x%02hhx\n", *p1);   unsigned char *p3 = mremap(p1, SIZE, SIZE,       MREMAP_MAYMOVE|MREMAP_FIXED, p2);   if (p3 == MAP_FAILED) {     printf("mremap() failed; first char is 0x%02hhx\n", *p1);   } else {     printf("mremap() succeeded; first char is 0x%02hhx\n", *p3);   } } user@horn:~/big_mremap$ gcc -static -o test test.c user@horn:~/big_mremap$ setarch -R ./test first char is 0x41 mremap() failed; first char is 0x00 ```  With the patch:  ``` user@horn:~/big_mremap$ setarch -R ./test first char is 0x41 mremap() succeeded; first char is 0x41 ```

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-64kb opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-64kb sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-azure opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-azure sles 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-coco_debug sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-debug opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-default opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-default sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-default-base opensuse-leap 15.6 | 6.4.0-150600.23.33.1.150600.12.14.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-default-base sles 15.6 | 6.4.0-150600.23.33.1.150600.12.14.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-docs opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-docs sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-kvmsmall opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-livepatch-SLE15-SP6-RT_Update_7 sles 15.6 | 1-150600.1.3.1 | [SUSE-SU-2025:0153-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0153-1.md) | Jan 17, 2025 |
| Linux | kernel-livepatch-SLE15-SP6_Update_7 sles 15.6 | 1-150600.13.3.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-obs-build opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-obs-build sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-obs-qa opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-rt opensuse-leap 15.6 | 6.4.0-150600.10.23.1 | [SUSE-SU-2025:0153-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0153-1.md) | Jan 17, 2025 |
| Linux | kernel-rt_debug opensuse-leap 15.6 | 6.4.0-150600.10.23.1 | [SUSE-SU-2025:0153-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0153-1.md) | Jan 17, 2025 |
| Linux | kernel-source opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-source sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-source-azure opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-source-azure sles 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-source-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-source-rt opensuse-leap 15.6 | 6.4.0-150600.10.23.1 | [SUSE-SU-2025:0153-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0153-1.md) | Jan 17, 2025 |
| Linux | kernel-syms opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-syms sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-syms-azure opensuse-leap 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-syms-azure sles 15.6 | 6.4.0-150600.8.23.1 | [SUSE-SU-2025:0117-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0117-1.md) | Jan 15, 2025 |
| Linux | kernel-syms-coco sles 15.6 | 6.4.0-15061.12.coco15sp6.1 | [SUSE-SU-2025:0289-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0289-1.md) | Jan 29, 2025 |
| Linux | kernel-syms-rt opensuse-leap 15.6 | 6.4.0-150600.10.23.1 | [SUSE-SU-2025:0153-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0153-1.md) | Jan 17, 2025 |
| Linux | kernel-zfcpdump opensuse-leap 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | kernel-zfcpdump sles 15.6 | 6.4.0-150600.23.33.1 | [SUSE-SU-2025:0154-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0154-1.md) | Jan 17, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.11.10-1 | [DEBIAN-CVE-2024-53111](https://patchblox.com/security/data/fix/linux/debian-cve-2024-53111.md) | Dec 2, 2024 |
| Linux | linux Debian 14 | 6.11.10-1 | [DEBIAN-CVE-2024-53111](https://patchblox.com/security/data/fix/linux/debian-cve-2024-53111.md) | Dec 2, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
