CVE-2022-50266

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: kprobes: Fix check for probe enabled in kill_kprobe() In kill_kprobe(), the check whether disarm_kprobe_ftrace() needs to be called always fails. This is because before that we set the KPROBE_FLAG_GONE flag for kprobe so that "!kprobe_disabled(p)" is always false. The disarm_kprobe_ftrace() call introduced by commit: 0cb2f1372baa ("kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler") to fix the NULL pointer reference problem. When the probe is enabled, if we do not disarm it, this problem still exists. Fix it by putting the probe enabled check before setting the KPROBE_FLAG_GONE flag.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedSep 15, 2025
First seenSep 15, 2025

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.4.238 ≤ v < 4.5, 4.9.238 ≤ v < 4.10, 4.14.200 ≤ v < 4.15, 4.19.149 ≤ v < 4.20, 5.4.69 ≤ v < 5.5, 5.8.13 ≤ v < 5.9, 5.9.1 ≤ v < 6.0.16, 6.1 ≤ v < 6.1.2, 5.94.5, 4.10, 4.15, 4.20, 5.5, 5.9, 6.0.16, 6.1.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.