{"id":"CVE-2026-98856","summary":"kprobes: Skip disarmed probes when checking optkprobe overlap","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nkprobes: Skip disarmed probes when checking optkprobe overlap\n\nOn x86, an optkprobe at A replaces five bytes with a jump. If a disabled\nprobe B is at A+2, get_optimized_kprobe() stops at B when arming a new\nprobe C at A+4. It leaves A optimized:\n\n              A    A+1  A+2  A+3  A+4\n  A's jump  | e9 | d0 | d1 | d2 | d3 |\n  after C   | e9 | d0 | d1 | d2 | cc |\n\nThe INT3 for C overwrites the last byte of A's jump displacement, so\nexecution can jump to the wrong address. B can have prepared optinsns\nwhile disarmed, but has no jump to unoptimize.\n\nContinue past disarmed and unprepared probes to find the active optimized\nprobe before arming a probe in its jump.","modified":"2026-10-19T02:47:36.239732577Z","published":"2026-10-18T15:51:12.359Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98856.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/526fac219e8b7d3369b43026bd0a1df51b811cd4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6745fa65f4115045431c0c15610e876855a04625"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a39c732a22ec4a369af9e19fbe3d666ec83eec4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/985a568171e7bdba6dcde3420d0e5bb515813457"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98856.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98856"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"afd66255b9a48f5851326ddae50e2203fbf71dc9"},{"fixed":"985a568171e7bdba6dcde3420d0e5bb515813457"},{"fixed":"6745fa65f4115045431c0c15610e876855a04625"},{"fixed":"526fac219e8b7d3369b43026bd0a1df51b811cd4"},{"fixed":"7a39c732a22ec4a369af9e19fbe3d666ec83eec4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98856.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98856.json"}}],"schema_version":"1.9.0"}