Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-46042

published

mm/mempolicy: fix memory leaks in weighted_interleave_auto_store()

Published
27 May 2026, 12:56:56 UTC
Updated
14 Jun 2026, 17:50:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe341f9c3c8412e57fe0042a33a2640245ecdf619 to < c42a7efb9060d89b72708ffaf255d0002c2164a7 · e341f9c3c8412e57fe0042a33a2640245ecdf619 to < 39caa9ca863f96b3d00447c5aa200cabda489856 · e341f9c3c8412e57fe0042a33a2640245ecdf619 to < 6fae274ce0e3109cbbc4c18b354eaace1f0af7d7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.27 through 6.18.* (unaffected · semver) · 7.0.4 through 7.0.* (unaffected · semver) · 7.1 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-2026-1754 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.0.11-1.1 OPENSUSE-SU-2026:10954-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-cloud-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-headers-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-headers-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-lib-rust-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-evdi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu6-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu7-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-usbio-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-vision-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-tools-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-27.27 USN-8488-1
Ubuntu resolute linux Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-headers-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-tools-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-gcp-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-oracle Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-oracle-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-oem Advisory build 7.0.0-1008.8 USN-8489-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-ibm Advisory build 7.0.0-1009.9 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1013-nvidia Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-buildinfo-7.0.0-1013-nvidia-64k Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-buildinfo-7.0.0-1014-raspi Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-buildinfo-7.0.0-1014-raspi-realtime Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-buildinfo-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-generic-64k Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-realtime-64k Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-27 Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-cloud-tools-common Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-gcp-headers-7.0.0-1007 Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-gcp-tools-7.0.0-1007 Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-gcp-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-oracle Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-oracle-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1008-oem Advisory build 7.0.0-1008.8 USN-8489-1
Ubuntu resolute linux-headers-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1009-ibm Advisory build 7.0.0-1009.9 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1013-nvidia Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-headers-7.0.0-1013-nvidia-64k Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-headers-7.0.0-1014-raspi Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-headers-7.0.0-1014-raspi-realtime Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-headers-7.0.0-27 Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-generic-64k Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-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/mempolicy: fix memory leaks in weighted_interleave_auto_store() weighted_interleave_auto_store() fetches old_wi_state inside the if (!input) block only. This causes two memory leaks: 1. When a user writes "false" and the current mode is already manual, the function returns early without freeing the freshly allocated new_wi_state. 2. When a user writes "true", old_wi_state stays NULL because the fetch is skipped entirely. The old state is then overwritten by rcu_assign_pointer() but never freed, since the cleanup path is gated on old_wi_state being non-NULL. A user can trigger this repeatedly by writing "1" in a loop. Fix both leaks by moving the old_wi_state fetch before the input check, making it unconditional. This also allows a unified early return for both "true" and "false" when the requested mode matches the current mode. Reviewed by: Donet Tom <[email protected]>

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e341f9c3c8412e57fe0042a33a2640245ecdf619 to < c42a7efb9060d89b72708ffaf255d0002c2164a7 (affected · git)e341f9c3c8412e57fe0042a33a2640245ecdf619 to < 39caa9ca863f96b3d00447c5aa200cabda489856 (affected · git)e341f9c3c8412e57fe0042a33a2640245ecdf619 to < 6fae274ce0e3109cbbc4c18b354eaace1f0af7d7 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.27 through 6.18.* (unaffected · semver)7.0.4 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

mm/mempolicy: fix memory leaks in weighted_interleave_auto_store()

Provenance

Schema
5.2
Searchable
yes
Content hash
3ce93d96c31e682ab5f602b058c05eaf7f2c9ebc766cbac1208e833c5e82f3e6
Ingested
23 Sep 2026, 09:16:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected