Skip to content

In the Linux kernel, the following vulnerability has been...

Unreviewed Published Sep 7, 2025 to the GitHub Advisory Database • Updated Sep 7, 2025

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

In the Linux kernel, the following vulnerability has been resolved:

mm: swap: fix potential buffer overflow in setup_clusters()

In setup_swap_map(), we only ensure badpages are in range (0, last_page].
As maxpages might be < last_page, setup_clusters() will encounter a buffer
overflow when a badpage is >= maxpages.

Only call inc_cluster_info_page() for badpage which is < maxpages to fix
the issue.

References

Published by the National Vulnerability Database Sep 7, 2025
Published to the GitHub Advisory Database Sep 7, 2025
Last updated Sep 7, 2025

Severity

Unknown

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(6th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2025-39727

GHSA ID

GHSA-x952-wmpf-82wc

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.