CVE-2022-50266
MEDIUM EPSS 4.0%
Published Sep 15, 20259mo ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Sep 15, 2025 9mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
4.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-476 NULL Pointer Dereference Memory Safety
Affected Products 11
| Vendor | Product | Version | Range |
|---|---|---|---|
| linux | linux_kernel | * | ≥4.4.238 – <4.5 |
| linux | linux_kernel | * | ≥4.9.238 – <4.10 |
| linux | linux_kernel | * | ≥4.14.200 – <4.15 |
| linux | linux_kernel | * | ≥4.19.149 – <4.20 |
| linux | linux_kernel | * | ≥5.4.69 – <5.5 |
| linux | linux_kernel | * | ≥5.8.13 – <5.9 |
| linux | linux_kernel | * | ≥5.9.1 – <6.0.16 |
| linux | linux_kernel | * | ≥6.1 – <6.1.2 |
| linux | linux_kernel | 5.9 | any |
| linux | linux_kernel | 5.9 | any |
| linux | linux_kernel | 5.9 | any |
References 3
- git.kernel.org https://git.kernel.org/stable/c/0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb
- git.kernel.org https://git.kernel.org/stable/c/c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7
- git.kernel.org https://git.kernel.org/stable/c/f20a067f13106565816b4b6a6b665b2088a63824
Remediation
- git.kernel.org https://git.kernel.org/stable/c/0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb
- git.kernel.org https://git.kernel.org/stable/c/c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7
- git.kernel.org https://git.kernel.org/stable/c/f20a067f13106565816b4b6a6b665b2088a63824