CVE-2022-50266 Details
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.
A vulnerability in the Linux kernel's kprobes functionality has been addressed. The issue arose in the kill_kprobe() function, where the check for whether to call disarm_kprobe_ftrace() was always failing. This failure occurred because the KPROBE_FLAG_GONE flag was set before the check, causing it to misreport the probe's status. As a result, the disarm_kprobe_ftrace() call, which was introduced to fix a NULL pointer dereference issue, was not properly executed when needed. The vulnerability has been resolved by reordering the logic to check the probe's status before marking it as gone.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb | kernel.org | Patch |
| https://git.kernel.org/stable/c/c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f20a067f13106565816b4b6a6b665b2088a63824 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.4.238, < 4.5 >= 4.9.238, < 4.10 >= 4.14.200, < 4.15 >= 4.19.149, < 4.20 >= 5.4.69, < 5.5 >= 5.8.13, < 5.9 >= 5.9.1, < 6.0.16 >= 6.1, < 6.1.2 5.9 - 5.9 rc7 5.9 rc8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |