CVE-2022-50266: kprobes: Fix check for probe enabled in kill_kprobe()
Vulnerability summary
CVE-2022-50266 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu124 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < f20a067f13106565816b4b6a6b665b2088a63824 | ≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7 | ≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < 0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb | 3c5f8d371b7fef3e3714c4a062c7f3b4aa41d122 | 9b55d84deec88c02b053a819acf08a6d471dda02 | 2295608b44c91df767a5c68027f9c9e52ecb28e7 | ce7ff920092130f249b75f9fe177edb3362fefe8 | 3995f7a60feceba6c8f762f4aff3184f90a1291d | 247c62ebdfae450bb76dd89cd4724df6be07df75 | ≥ 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
- 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
Debian1 product
- linux< 6.1.4-1
3 vendors · 127 products