PT-2025-11028 · Linux+7 · Linux Kernel+7

Erhard Furtner

·

Published

2025-02-12

·

Updated

2026-04-20

·

CVE-2025-21866

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.13
Description: A vulnerability has been resolved in the Linux kernel related to the powerpc/code-patching infrastructure. The issue was reported by Erhard while booting a PowerMac G4 with a KASAN-enabled kernel 6.13-rc6, resulting in a KASAN hit. The problem occurs because the text patching area is flagged as VM ALLOC, which is meant for vmalloc() allocated memory. However, the area allocated by text area cpu up() is not vmalloc memory and is mapped directly on demand when needed by map kernel page(). The fix involves not flagging the text patching area as VM ALLOC, allowing the area to be unpoisoned and usable immediately.
Recommendations: For Linux kernel versions prior to 6.13, update to version 6.13 or later to resolve the issue. As a temporary workaround, consider disabling the text patching infrastructure until a patch is available. Restrict access to the vulnerable area to minimize the risk of exploitation. Avoid using the affected kernel functions until the issue is resolved.

Exploit

Fix

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
ALT-PU-2025-4301
ALT-PU-2025-4807
BDU:2025-12294
CVE-2025-21866
DLA-4193-1
DSA-5900-1
ECHO-8453-5675-4C79
MGASA-2025-0111
MGASA-2025-0112
OESA-2025-1446
OESA-2025-1450
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:1177-1
SUSE-SU-2025:1178-1
SUSE-SU-2025:1180-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01967-1
SUSE-SU-2025_1177-1
SUSE-SU-2025_1178-1
SUSE-SU-2025_1180-1
USN-7510-1
USN-7510-2
USN-7510-3
USN-7510-4
USN-7510-5
USN-7510-6
USN-7510-7
USN-7510-8
USN-7511-1
USN-7511-2
USN-7511-3
USN-7512-1
USN-7516-1
USN-7516-2
USN-7516-3
USN-7516-4
USN-7516-5
USN-7516-6
USN-7516-7
USN-7516-8
USN-7516-9
USN-7517-1
USN-7517-2
USN-7517-3
USN-7518-1
USN-7521-1
USN-7521-2
USN-7521-3
USN-7539-1
USN-7540-1
USN-7593-1
USN-7602-1
USN-7640-1
USN-7703-1
USN-7703-2
USN-7703-3
USN-7703-4
USN-7719-1
USN-7737-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu