PT-2025-49634 · Linux · Linux Kernel

CVE-2022-50654

·

Published

2022-12-24

·

Updated

2025-12-22

CVSS v2.0

4.6

Medium

VectorAV:L/AC:L/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.1.0 #5
Description The Linux kernel contained a flaw related to the handling of page attributes within the BPF (Berkeley Packet Filter) subsystem. Specifically, a panic could occur when livepatch and kretfunc were used concurrently. This was due to an incorrect page attribute setting for the im->image structure, leading to a fault during read/write operations. The issue was triggered when arch prepare bpf trampoline was re-executed after modify fentry or register fentry returned -EAGAIN from bpf tramp ftrace ops func. The root cause was the pageattr of im->image being set to rox, causing a fault when arch prepare bpf trampoline attempted to read and write to it.
Recommendations Update to a version newer than 6.1.0 #5.

Exploit

Fix

Buffer Overflow

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

Weakness Enumeration

Related Identifiers

BDU:2026-10371
CVE-2022-50654

Affected Products

Linux Kernel