Skip to main content
Network Thinking Solutions Logo

CVE-2022-50266

Linux kernel: kprobes: Fix check for probe enabled in kill_kprobe()

All CVEs
CVE-2022-50266Published 9/15/2025

Linux kernel: kprobes: Fix check for probe enabled in kill_kprobe()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
9/15/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.4.238, < 4.5

Verify advisory

Source
linux kernel
linux
≥ 4.9.238, < 4.10

Verify advisory

Source
linux kernel
linux
≥ 4.14.200, < 4.15

Verify advisory

Source
linux kernel
linux
≥ 4.19.149, < 4.20

Verify advisory

Source
linux kernel
linux
≥ 5.4.69, < 5.5

Verify advisory

Source
linux kernel
linux
≥ 5.8.13, < 5.9

Verify advisory

Source
linux kernel
linux
≥ 5.9.1, < 6.0.16

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.2

Verify advisory

Source
linux kernel
linux
5.9

Verify advisory

Source
linux kernel
linux
5.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < f20a067f13106565816b4b6a6b665b2088a63824

Verify advisory

Source
Linux
Linux
≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7

Verify advisory

Source
Linux
Linux
≥ 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e, < 0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb

Verify advisory

Source
Linux
Linux
3c5f8d371b7fef3e3714c4a062c7f3b4aa41d122

Verify advisory

Source
Linux
Linux
9b55d84deec88c02b053a819acf08a6d471dda02

Verify advisory

Source
Linux
Linux
2295608b44c91df767a5c68027f9c9e52ecb28e7

Verify advisory

Source
Linux
Linux
ce7ff920092130f249b75f9fe177edb3362fefe8

Verify advisory

Source
Linux
Linux
3995f7a60feceba6c8f762f4aff3184f90a1291d

Verify advisory

Source
Linux
Linux
247c62ebdfae450bb76dd89cd4724df6be07df75

Verify advisory

Source
Linux
Linux
≥ 4.4.238, < 4.5

Verify advisory

Source
Linux
Linux
≥ 4.9.238, < 4.10

Verify advisory

Source
Linux
Linux
≥ 4.14.200, < 4.15

Verify advisory

Source
Linux
Linux
≥ 4.19.149, < 4.20

Verify advisory

Source
Linux
Linux
≥ 5.4.69, < 5.5

Verify advisory

Source
Linux
Linux
≥ 5.8.13, < 5.9

Verify advisory

Source
Linux
Linux
5.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.