Description
In the Linux kernel, the following vulnerability has been resolved:
mm/mremap: correctly uncharge accountable VMAs in error path
The mremap error path is a fragile and unwieldy beast - it reverses the
page table move then updates vma_remap_struct state to swap VMA, length and
address between old and new VMAs in copy_vma_and_data().
If the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller,
move_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather
than the old one.
For accountable VMAs when MREMAP_DONTUNMAP is not specified,
unmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that
only the delta of a VMA expansion is charged (performed by
vrm_calc_charge() earlier).
Therefore nothing uncharges the expanded VMA size, and there is a permanent
leak in global Committed_AS.
Resolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 5.16 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <813d75b25c3d893eafde79914026ddf85369396d | — |
| Linux | Linux | patch: 6.18.63 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <58ba5e82d41e8445e563e1604e9adb68e567a266 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <ee5a280ddecd4284a372280e4935ba3ac56b4fb7 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <22464b99348bde3a3804a26e0a30878358c3dd94 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <e251079d676c481cc905d1ac226851b1ef49a4b8 | — |
| Linux | Linux | fdbef61491359947753c13581098878e8d038286 <65e722a74df992719676ead85a9e93fb2b5a0983 | — |
| Linux | Linux | patch: 6.1.193 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux | No fix yet | — |
| Debian 12 | linux-6.12 | 6.12.118-1~deb12u1 | DLA-4961-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +42 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
Advisories 2
- DLA-4961-1 linux-6.12 - security update Debian Security (DSA / DLA) · Dec 2, 2026
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
References
- https://git.kernel.org/stable/c/ee5a280ddecd4284a372280e4935ba3ac56b4fb7
- https://git.kernel.org/stable/c/58ba5e82d41e8445e563e1604e9adb68e567a266
- https://git.kernel.org/stable/c/813d75b25c3d893eafde79914026ddf85369396d
- https://git.kernel.org/stable/c/e251079d676c481cc905d1ac226851b1ef49a4b8
- https://git.kernel.org/stable/c/22464b99348bde3a3804a26e0a30878358c3dd94
- https://git.kernel.org/stable/c/65e722a74df992719676ead85a9e93fb2b5a0983