# kprobes: Fix check for probe enabled in kill_kprobe()

CVE record · `CVE-2022-50266`

- **Identifiers:** `CVE-2022-50266`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e to before f20a067f13106565816b4b6a6b665b2088a63824` (git)
  - affected: `3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e to before c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7` (git)
  - affected: `3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e to before 0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb` (git)
  - affected: `3c5f8d371b7fef3e3714c4a062c7f3b4aa41d122` (git)
  - affected: `9b55d84deec88c02b053a819acf08a6d471dda02` (git)
  - affected: `2295608b44c91df767a5c68027f9c9e52ecb28e7` (git)
  - affected: `ce7ff920092130f249b75f9fe177edb3362fefe8` (git)
  - affected: `3995f7a60feceba6c8f762f4aff3184f90a1291d` (git)
  - affected: `247c62ebdfae450bb76dd89cd4724df6be07df75` (git)
  - affected: `4.4.238 to before 4.5` (semver)
  - affected: `4.9.238 to before 4.10` (semver)
  - affected: `4.14.200 to before 4.15` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.9`
  - unaffected: `before 5.9` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel kprobes subsystem has a flaw in kill_kprobe(), where the check for whether an enabled probe must be disarmed always fails. This can leave a probe armed after removal, which can lead to a NULL pointer dereference in kprobe_ftrace_handler. The source gives few details on the attacker's required access. The fix is to upgrade to a kernel version that includes the corrected check; the listed fixed versions are 6.0.16 and later in the 6.0 series, 6.1.2 and later in the 6.1 series, and 6.2 and later.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 15 Sept 2025, 14:21 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50266)
- 15 Sept 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50266)

## Sources

- [CVE List: CVE-2022-50266](https://www.cve.org/CVERecord?id=CVE-2022-50266)
- [NVD: CVE-2022-50266](https://nvd.nist.gov/vuln/detail/CVE-2022-50266)

### References from the CNA

- <https://git.kernel.org/stable/c/f20a067f13106565816b4b6a6b665b2088a63824>
- <https://git.kernel.org/stable/c/c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7>
- <https://git.kernel.org/stable/c/0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50266>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50266/>. Everything for agents: <https://agentprime.io/llms.txt>.
