{"id":"CVE-2026-45683","aliases":["CVE-2026-45683","GHSA-fjq3-ffvr-vm46","GO-2026-5366"],"related":[],"kind":"vulnerability","state":"published","title":"OpenTelemetry eBPF Instrumentation: Java TLS ioctl kprobe allows kernel memory disclosure","summary":"OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. Prior to version 0.9.0, the Java TLS ioctl probe reads user-controlled ioctl pointers with bpf_probe_read instead of bpf_probe_read_user. An instrumented local process can therefore point OBI at kernel memory and cause that memory to be copied into telemetry. This issue has been patched in version 0.9.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. Prior to version 0.9.0, the Java TLS ioctl probe reads user-controlled ioctl pointers with bpf_probe_read instead of bpf_probe_read_user. An instrumented local process can therefore point OBI at kernel memory and cause that memory to be copied into telemetry. This issue has been patched in version 0.9.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe Java TLS ioctl probe reads user-controlled ioctl pointers with `bpf_probe_read` instead of `bpf_probe_read_user`. An instrumented local process can therefore point OBI at kernel memory and cause that memory to be copied into telemetry.\n\n### Details\n\nThe vulnerable path is in [bpf/generictracer/java_tls.c](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/bpf/generictracer/java_tls.c#L66-L163). The kprobe hooks `do_vfs_ioctl`, filters on `fd == 0` and the Java TLS magic command, and then treats the third ioctl argument as a structured buffer. It reads fields from that pointer using `bpf_probe_read`, including:\n\n- the operation byte from `arg`\n- connection metadata from `arg + 1`\n- the payload length from `arg + 1 + sizeof(connection_info_t)`\n\nIf `len > 0`, it computes `buf = arg + 1 + sizeof(connection_info_t) + sizeof(u32)` and passes that pointer into [`handle_buf_with_connection`](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/bpf/generictracer/k_tracer_defs.h#L67).\n\nThe next stage, [bpf/generictracer/k_tracer_defs.h](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/bpf/generictracer/k_tracer_defs.h#L62), uses [`bpf_probe_read(args->small_buf, MIN_HTTP2_SIZE, (void *)args->u_buf);`](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/bpf/generictracer/k_tracer_defs.h#L62) on the supplied pointer and tail-calls deeper protocol logic. The HTTP protocol path then reads from `u_buf` and emits the bytes through `bpf_ringbuf_output` in [bpf/generictracer/protocol_http.h](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/360521f411213566a3b557a1f0c093e6cd68a4de/bpf/generictracer/protocol_http.h#L477).\n\nBecause the ioctl pointer originates in user space, the probe should be using `bpf_probe_read_user` with strict length validation. Using `bpf_probe_read` instead makes it possible for an instrumented process to supply a kernel pointer and exfiltrate kernel-resident bytes into telemetry.\n\n### PoC\n\nA complete lab reproduction requires:\n\n1. a vulnerable build of OBI with Java TLS instrumentation enabled\n2. a host capable of loading the BPF program\n3. a local process that issues the Java TLS magic ioctl with an attacker-controlled pointer\n\nSuggested reproduction steps:\n\n```bash\ngit checkout v0.0.0-rc.1+build\nmake build\nsudo ./bin/obi\n```\n\nThen run a local helper that issues the matching ioctl command against `fd=0` and supplies a crafted pointer.\n\n```c\n// save as /tmp/ioctl_kernel_ptr.c\n#include <stdio.h>\n#include <stdint.h>\n#include <sys/ioctl.h>\n#include <unistd.h>\n\n#define JAVA_TLS_MAGIC 0x0b10b1\n\nint main(void) {\n  void *ptr = (void *)0xffff888000000000ULL;\n  long rc = ioctl(0, JAVA_TLS_MAGIC, ptr);\n  printf(\"ioctl rc=%ld\\n\", rc);\n  return 0;\n}\n```\n\nCompile and run:\n\n```bash\ncc -O2 -o /tmp/ioctl_kernel_ptr /tmp/ioctl_kernel_ptr.c\n/tmp/ioctl_kernel_ptr\n```\n\nOn a vulnerable system, if the supplied pointer references readable kernel memory and the bytes satisfy the expected Java TLS structure enough to pass the early checks, OBI can read from that address and emit the resulting bytes into telemetry. The remaining local prerequisite is a host session with sufficient BPF capability to load and inspect the probe; the compile side of the reproduction is already satisfied here.\n\n### Impact\n\nThis is a local kernel memory disclosure primitive reachable from unprivileged instrumented processes. It affects deployments that enable Java TLS support. Successful exploitation can expose kernel memory contents to the privileged OBI agent and then to downstream telemetry systems.","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenTelemetry eBPF Instrumentation: Java TLS ioctl kprobe allows kernel memory disclosure in go.opentelemetry.io/obi","format":"markdown","source":"go"},{"lang":"es","text":"OpenTelemetry eBPF Instrumentation proporciona instrumentación eBPF basada en el estándar OpenTelemetry. Antes de la versión 0.9.0, la sonda ioctl de Java TLS lee punteros ioctl controlados por el usuario con bpf_probe_read en lugar de bpf_probe_read_user. Un proceso local instrumentado puede, por lo tanto, apuntar OBI a la memoria del kernel y hacer que esa memoria se copie en la telemetría. Este problema ha sido parcheado en la versión 0.9.0.","source":"nvd"}],"published":"2026-05-18T20:12:04.000Z","modified":"2026-07-22T19:10:00.120Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-127","CWE-200"],"affected":[{"ranges":[{"version":"< 0.9.0","status":"affected"}],"vendor":"open-telemetry","product":"opentelemetry-ebpf-instrumentation","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"Go","package":"go.opentelemetry.io/obi","purl":"pkg:golang/go.opentelemetry.io/obi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"Go","package":"go.opentelemetry.io/obi","purl":"pkg:golang/go.opentelemetry.io/obi","source":"go"},{"ranges":[{"status":"affected","fixed":"0.9.0"}],"vendor":"opentelemetry","product":"ebpf_instrumentation","cpe":"cpe:2.3:a:opentelemetry:ebpf_instrumentation:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-fjq3-ffvr-vm46","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/releases/tag/v0.9.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45683","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-02T17:47:47.481Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45683","url":"https://www.cve.org/CVERecord?id=CVE-2026-45683","licence":"CVE Terms of Use","modified":"2026-06-02T17:48:08.218Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fjq3-ffvr-vm46","url":"https://github.com/advisories/GHSA-fjq3-ffvr-vm46","licence":"CC-BY-4.0","modified":"2026-06-25T19:56:01.973Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5366","url":"https://pkg.go.dev/vuln/GO-2026-5366","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:34.237Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45683","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45683","licence":"Public domain","modified":"2026-07-22T19:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:23.575Z","epss":{"score":0.00174,"percentile":0.07227,"date":"2026-12-01T12:00:22.000Z"}}