CVE-2025-39992
publishedmm: swap: check for stable address space before operating on the VMA
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd2406291483775ecddaee929231a39c70c08fda2 to < 4e5f060d7347466f77aaff1c0d5a6c4f1fb217ac · d2406291483775ecddaee929231a39c70c08fda2 to < 9cddad3b26dac830407d2d3c0de5205ff6d6dda0 · d2406291483775ecddaee929231a39c70c08fda2 to < e4e99d69b8b8295c501b2eef89e13306b738b667 · d2406291483775ecddaee929231a39c70c08fda2 to < 1367da7eb875d01102d2ed18654b24d261ff5393 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.51 through 6.12.* (unaffected · semver) · 6.16.11 through 6.16.* (unaffected · semver) · 6.17.1 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1254 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-extraaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaults390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseaarch64 | Advisory build | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseppc64le | Advisory build | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-basex86_64 | Advisory build | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-devels390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extraaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrappc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extras390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrax86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchs390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-vdsox86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-develnoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-docsnoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-docs-htmlnoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-vdsox86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-macrosnoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qaaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qappc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qas390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qax86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-sourcenoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-source-vanillanoarch | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsaarch64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsppc64le | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-symss390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsx86_64 | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | SLE-16 | kernel-zfcpdumps390x | Advisory build | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtx86_64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtx86_64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-allwinneraarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-alteraaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amazonaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amdaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amlogicaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-apmaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-appleaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-armaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-broadcomaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-caviumaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-exynosaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-freescaleaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-hisiliconaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-lgaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-marvellaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-mediatekaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-nvidiaaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-qcomaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-renesasaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-rockchipaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-socionextaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-sprdaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-xilinxaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.7.1 | OPENSUSE-SU-2025:20091-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mm: swap: check for stable address space before operating on the VMA It is possible to hit a zero entry while traversing the vmas in unuse_mm() called from swapoff path and accessing it causes the OOPS: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000446--> Loading the memory from offset 0x40 on the XA_ZERO_ENTRY as address. Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault The issue is manifested from the below race between the fork() on a process and swapoff: fork(dup_mmap()) swapoff(unuse_mm) --------------- ----------------- 1) Identical mtree is built using __mt_dup(). 2) copy_pte_range()--> copy_nonpresent_pte(): The dst mm is added into the mmlist to be visible to the swapoff operation. 3) Fatal signal is sent to the parent process(which is the current during the fork) thus skip the duplication of the vmas and mark the vma range with XA_ZERO_ENTRY as a marker for this process that helps during exit_mmap(). 4) swapoff is tried on the 'mm' added to the 'mmlist' as part of the 2. 5) unuse_mm(), that iterates through the vma's of this 'mm' will hit the non-NULL zero entry and operating on this zero entry as a vma is resulting into the oops. The proper fix would be around not exposing this partially-valid tree to others when droping the mmap lock, which is being solved with [1]. A simpler solution would be checking for MMF_UNSTABLE, as it is set if mm_struct is not fully initialized in dup_mmap(). Thanks to Liam/Lorenzo/David for all the suggestions in fixing this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d2406291483775ecddaee929231a39c70c08fda2 to < 4e5f060d7347466f77aaff1c0d5a6c4f1fb217ac (affected · git)d2406291483775ecddaee929231a39c70c08fda2 to < 9cddad3b26dac830407d2d3c0de5205ff6d6dda0 (affected · git)d2406291483775ecddaee929231a39c70c08fda2 to < e4e99d69b8b8295c501b2eef89e13306b738b667 (affected · git)d2406291483775ecddaee929231a39c70c08fda2 to < 1367da7eb875d01102d2ed18654b24d261ff5393 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.51 through 6.12.* (unaffected · semver)6.16.11 through 6.16.* (unaffected · semver)6.17.1 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
mm: swap: check for stable address space before operating on the VMA
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4f17deaa4c02f8756477469977bbc9b1c23ba5cc303da75522ba171817601712
- Ingested
- 23 Sep 2026, 08:47:25 UTC
- Source record
- Official CVE record