Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2025-22015
linux linux kernel

Score5.5 Medium
CVSS 3.1
Exploit probability (EPSS)0.31%
within the next 30 days
CategoryMemory corruption
Published8 April 2025
Last modified: 10 November 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Weakness type: NULL pointer dereference.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In the Linux kernel, the following vulnerability has been resolved: mm/migrate: fix shmem xarray update during migration A shmem folio can be either in page cache or in swap cache, but not at the same time. Namely, once it is in swap cache, folio->mapping should be NULL, and the folio is no longer in a shmem mapping. In __folio_migrate_mapping(), to determine the number of xarray entries to update, folio_test_swapbacked() is used, but that conflates shmem in page cache case and shmem in swap cache case. It leads to xarray multi-index entry corruption, since it turns a sibling entry to a normal entry during xas_store() (see [1] for a userspace reproduction). Fix it by only using folio_test_swapcache() to determine whether xarray is storing swap cache entries or not to choose the right number of xarray entries to update. [1] https://lore.kernel.org/linux-mm/[email protected]/ Note: In __split_huge_page(), folio_test_anon() && folio_test_swapcache() is used to get swap_cache address space, but that ignores the shmem folio in swap cache case. It could lead to NULL pointer dereferencing when a in-swap-cache shmem folio is split at __xa_store(), since !folio_test_anon() is true and folio->mapping is NULL. But fortunately, its caller split_huge_page_to_list_to_order() bails out early with EBUSY when folio->mapping is NULL. So no need to take care of it here.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-476 – NULL pointer dereference

Affected products

VendorProductVersions
linuxlinux kernel>=6.1.71 <6.1.132
linuxlinux kernel>=6.6.10 <6.6.85
linuxlinux kernel>=6.7.1 <6.12.21
linuxlinux kernel>=6.13 <6.13.9
linuxlinux kernel6.7
linuxlinux kernel6.14

Sources

Latest in the same category

  • CVE-2026-119225 High 8.7
    A NULL pointer dereference in the binary command protocol handler of Reprise Software Reprise License Manager allows an unauthenticated remote attacker to cause a denial of service via a crafted network request. A…
    Memory corruption · 30 November 2026
  • CVE-2026-119224 Critical 9.2
    A stack-based buffer overflow in the embedded web server of Reprise Software Reprise License Manager, allows an unauthenticated remote attacker to cause denial of service and potentially execute code via an oversized…
    Memory corruption · 30 November 2026
  • CVE-2026-138781 High 7.8
    A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow…
    Memory corruption · 30 November 2026
  • CVE-2026-138700 High 7.5
    A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to…
    Memory corruption · 30 November 2026
  • CVE-2025-6622 Low 1.8
    Improper Validation of Specified Quantity in Input vulnerability in ABB KNXnet/IP Interface IPS/S3.1.1. This issue affects KNXnet/IP Interface IPS/S3.1.1: through 1.0.494.
    Memory corruption · 30 November 2026
  • CVE-2025-59850 Low 1.6
    HCL CAMWorks is affected by an Insecure Binary Compilation vulnerability where an attacker could potentially reverse engineer the binary and leak information or tamper with the code.
    Memory corruption · 30 November 2026