PT-2025-43089 · Linux+1 · Linux Kernel+1

Published

2022-09-29

·

Updated

2025-12-04

·

CVE-2022-50579

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.0.0-rc6-00151-gcd722513a189-dirty #22
Description The Linux kernel contains a flaw in the arm64 ftrace subsystem related to module PLTs and mcount-based ftrace. A commit introduced a change that caused issues when modules are loaded at a sufficient distance from the kernel, leading to the creation of out-of-range PLTs. This impacts mcount call sites, where ftrace make nop() incorrectly assumes initialization to the ftrace trampoline PLT, and ftrace find callable addr() rejects other cases. Consequently, when ftrace attempts to initialize a call site, it fails to locate the mcount stub, resulting in a kernel panic. The issue is triggered when loading an out-of-tree module.
Recommendations Apply the fix by reverting to the previous behavior of ignoring the old instruction when initializing an mcount callsite in a module. This was the behavior prior to commit a6253579977e4c6f.

Exploit

Fix

Improper Initialization

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

Weakness Enumeration

Related Identifiers

BDU:2026-04020
CVE-2022-50579
SUSE-SU-2025:4111-1
SUSE-SU-2025:4139-1
SUSE-SU-2025:4149-1
SUSE-SU-2025:4320-1

Affected Products

Linux Kernel
Suse