{"id":"CVE-2022-50266","title":"kprobes: Fix check for probe enabled in kill_kprobe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nkprobes: Fix check for probe enabled in kill_kprobe()\n\nIn kill_kprobe(), the check whether disarm_kprobe_ftrace() needs to be\ncalled always fails. This is because befor…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < f20a067f13106565816b4b6a6b665b2088a63824","Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7","Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < 0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb","Linux 3c5f8d371b7fef3e3714c4a062c7f3b4aa41d122","Linux 9b55d84deec88c02b053a819acf08a6d471dda02","Linux 2295608b44c91df767a5c68027f9c9e52ecb28e7","Linux ce7ff920092130f249b75f9fe177edb3362fefe8","Linux 3995f7a60feceba6c8f762f4aff3184f90a1291d","Linux 247c62ebdfae450bb76dd89cd4724df6be07df75","Linux >= 4.4.238 < 4.5","Linux >= 4.9.238 < 4.10","Linux >= 4.14.200 < 4.15","Linux >= 4.19.149 < 4.20","Linux >= 5.4.69 < 5.5","Linux >= 5.8.13 < 5.9","Linux 5.9"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:08:08.331534Z"},"published":"2025-09-15","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:10:31.712Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50266","references":[{"url":"https://git.kernel.org/stable/c/f20a067f13106565816b4b6a6b665b2088a63824"},{"url":"https://git.kernel.org/stable/c/c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7"},{"url":"https://git.kernel.org/stable/c/0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb"}],"tags":["cve.org"],"epss":0.00157,"epssPercentile":0.0491,"ingestedAt":"2026-11-05T22:38:31.713Z","slug":"CVE-2022-50266","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nkprobes: Fix check for probe enabled in kill_kprobe()\n\nIn kill_kprobe(), the check whether disarm_kprobe_ftrace() needs to be\ncalled always fails. This is because before that we set the\nKPROBE_FLAG_GONE flag for kprobe so that \"!kprobe_disabled(p)\" is always\nfalse.\n\nThe disarm_kprobe_ftrace() call introduced by commit:\n\n  0cb2f1372baa (\"kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler\")\n\nto fix the NULL pointer reference problem. When the probe is enabled, if\nwe do not disarm it, this problem still exists.\n\nFix it by putting the probe enabled check before setting the\nKPROBE_FLAG_GONE flag.\n\n## Affected\n\n- `Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < f20a067f13106565816b4b6a6b665b2088a63824`\n- `Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < c909985dd0c0f74b61e3f8f0e04bf8aa9c8b97c7`\n- `Linux >= 3031313eb3d549b7ad6f9fbcc52ba04412e3eb9e < 0c76ef3f26d5ef2ac2c21b47e7620cff35809fbb`\n- `Linux 3c5f8d371b7fef3e3714c4a062c7f3b4aa41d122`\n- `Linux 9b55d84deec88c02b053a819acf08a6d471dda02`\n- `Linux 2295608b44c91df767a5c68027f9c9e52ecb28e7`\n- `Linux ce7ff920092130f249b75f9fe177edb3362fefe8`\n- `Linux 3995f7a60feceba6c8f762f4aff3184f90a1291d`\n- `Linux 247c62ebdfae450bb76dd89cd4724df6be07df75`\n- `Linux >= 4.4.238 < 4.5`\n- `Linux >= 4.9.238 < 4.10`\n- `Linux >= 4.14.200 < 4.15`\n- `Linux >= 4.19.149 < 4.20`\n- `Linux >= 5.4.69 < 5.5`\n- `Linux >= 5.8.13 < 5.9`\n- `Linux 5.9`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}