Lucene search
+L

CVE-2025-40270 mm, swap: fix potential UAF issue for VMA readahead

🗓️ 06 Dec 2025 21:50:51Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 40 Views

Fix potential use after free in readahead by obtaining a device reference before accessing swap entries on another device.

Related
Affected
Refs
ReporterTitlePublishedViews
Family
astralinux
AstraLinux
Astra Linux – Vulnerability in Linux 5.10
20 May 202605:53
–astralinux
bdu_fstec
BDU FSTEC
Linux mm swap_state swap_vma_readahead Buffer Overflow
27 Jul 202600:00
–bdu_fstec
circl
Circl
CVE-2025-40270
6 Dec 202523:24
–circl
cnnvd
CNNVD
Linux Kernel Security Vulnerabilities
6 Dec 202500:00
–cnnvd
cve
CVE
CVE-2025-40270
6 Dec 202521:50
–cve
debiancve
Debian CVE
CVE-2025-40270
6 Dec 202521:50
–debiancve
euvd
EUVD
EUVD-2025-201585
7 Dec 202500:30
–euvd
nvd
NVD
CVE-2025-40270
6 Dec 202522:15
–nvd
osv_bell
osv_bell
BELL-CVE-2025-40270
9 Dec 202506:06
–osv_bell
osv_debian
osv_debian
DEBIAN-CVE-2025-40270
6 Dec 202522:15
–osv_debian
Rows per page
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/swap_state.c"
    ],
    "versions": [
      {
        "version": "78524b05f1a3e16a5d00cc9c6259c41a9d6003ce",
        "lessThan": "a4145be7b56bfa87dce56415c3ad993071462b8a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "78524b05f1a3e16a5d00cc9c6259c41a9d6003ce",
        "lessThan": "1c2a936edd71e133f2806e68324ec81a4eb07588",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/swap_state.c"
    ],
    "versions": [
      {
        "version": "6.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.15",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.17.9",
        "lessThanOrEqual": "6.17.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.18",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation