<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://berkoc.com/research/</id>
  <title>Berkoc Research</title>
  <subtitle>Coordinated-disclosure writeups by Berkant Koc.</subtitle>
  <link rel="self" type="application/atom+xml" href="https://berkoc.com/research/feed.xml" />
  <link rel="alternate" type="text/html" href="https://berkoc.com/research/" />
  <updated>2026-09-16T00:00:00Z</updated>
  <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
  <entry>
    <id>https://berkoc.com/research/cve-2025-66455-lmdeploy/</id>
    <title type="text">Unauthenticated Remote Code Execution in LMDeploy DistServe via Pickle Deserialization</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/cve-2025-66455-lmdeploy/" />
    <updated>2026-09-16T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">The PyTorch DistServe control plane in LMDeploy deserialized ZeroMQ messages with recv_pyobj (pickle). An unauthenticated attacker reachable at POST /distserve/p2p_connect could point the server at a hostile ZeroMQ endpoint and execute code during deserialization.</summary>
    <category term="Critical" />
    <category term="python" /><category term="deserialization" /><category term="pickle" /><category term="rce" /><category term="llm-infrastructure" /><category term="zeromq" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/mcp-server-findings/</id>
    <title type="text">MCP server security sweep: 12 findings across the Model Context Protocol ecosystem</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/mcp-server-findings/" />
    <updated>2026-05-19T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">Aggregate writeup of 12 audit-cleared security findings across Model Context Protocol servers and SDKs: command injection, SQL/tool-scope violations, SSRF bypasses, and resource-exhaustion bugs. Reported via GitHub private advisory and direct maintainer channels, submissions in progress.</summary>
    <category term="High" />
    <category term="mcp" /><category term="model-context-protocol" /><category term="ssrf" /><category term="command-injection" /><category term="sql-injection" /><category term="llm-security" /><category term="agent-security" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/fuse-io-uring-teardown-races/</id>
    <title type="text">Linux kernel fuse: io-uring teardown and commit-fetch race conditions</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/fuse-io-uring-teardown-races/" />
    <updated>2026-05-17T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">Four use-after-free and ordering races in the FUSE io-uring path, reported with a KASAN reproducer and fixed upstream. Reported-by credit on all four merged commits.</summary>
    <category term="High" />
    <category term="linux-kernel" /><category term="fuse" /><category term="io-uring" /><category term="use-after-free" /><category term="race-condition" /><category term="teardown" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/drm-hyperv-harden-host-message-parsing/</id>
    <title type="text">Linux kernel drm/hyperv: harden host message parsing (resolution_count bound, VMBus packet-size validation)</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/drm-hyperv-harden-host-message-parsing/" />
    <updated>2026-05-17T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">Two host-controlled input-validation gaps in the Hyper-V synthetic video DRM driver: an unbounded resolution_count that walks past a fixed array, and a receive callback that parses VMBus packets without checking the length. Merged to mainline and backported into the stable trees from 5.15 to 7.0.</summary>
    <category term="Low" />
    <category term="linux-kernel" /><category term="drm" /><category term="hyperv" /><category term="vmbus" /><category term="confidential-computing" /><category term="oob-read" /><category term="input-validation" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/unbounded-spsc-sender-send-transmute/</id>
    <title type="text">unbounded-spsc: Sender::send pointer-as-value transmute causes OOB read + fake-Arc drop</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/unbounded-spsc-sender-send-transmute/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">Sender::send transmutes Arc pointer as value, racing with Receiver drop creates synthetic Arc instance that double-decrements refcount on next drop.</summary>
    <category term="Medium" />
    <category term="rust" /><category term="unsafe" /><category term="transmute" /><category term="race-condition" /><category term="arc" /><category term="uaf" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/rattler-entry-point-path-traversal/</id>
    <title type="text">conda/rattler: entry-point path traversal in noarch:python install (arbitrary file write)</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/rattler-entry-point-path-traversal/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">EntryPoint::FromStr in rattler_conda_types only trims the command field. A malicious noarch:python package writes an executable outside the install prefix, or clobbers an existing in-prefix entry point such as bin/pip.</summary>
    <category term="Medium" />
    <category term="rust" /><category term="path-traversal" /><category term="supply-chain" /><category term="conda" /><category term="arbitrary-file-write" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/pdm-entry-point-path-traversal/</id>
    <title type="text">pdm-project/pdm: entry-point path traversal in InstallDestination.write_to_fs (arbitrary file write)</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/pdm-entry-point-path-traversal/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">PDM&#39;s InstallDestination.write_to_fs overrides the upstream installer library&#39;s WheelDestination and drops the path-containment check. A malicious wheel with a ../.. console-script name writes an executable outside the venv, or clobbers an existing in-prefix entry point such as bin/pip.</summary>
    <category term="High" />
    <category term="python" /><category term="path-traversal" /><category term="supply-chain" /><category term="pdm" /><category term="arbitrary-file-write" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/oneringbuf-vmem-double-free/</id>
    <title type="text">oneringbuf (Rust): vmem-feature double-free reachable from safe Rust</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/oneringbuf-vmem-double-free/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">The vmem storage backend of the oneringbuf crate bit-copies a heap allocation into an mmap region and then lets the source allocation drop normally, running each element destructor twice. A deterministic double-free reachable from entirely safe Rust, fixed in 0.7.1 (RUSTSEC-2026-0143).</summary>
    <category term="High" />
    <category term="rust" /><category term="cargo" /><category term="oneringbuf" /><category term="double-free" /><category term="use-after-free" /><category term="memory-corruption" /><category term="unsound" /><category term="vmem" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/libmamba-disclosure/</id>
    <title type="text">libmamba: entry-point path traversal in noarch:python install (arbitrary executable file write)</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/libmamba-disclosure/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">parse_entry_point in libmamba only whitespace-strips the command field. A malicious noarch:python package writes an executable wrapper outside the install prefix, or clobbers an in-prefix entry point such as bin/pip, during a default micromamba/mamba install. The strongest variant of the entry-point traversal primitive shared across the conda toolchain.</summary>
    <category term="High" />
    <category term="cpp" /><category term="path-traversal" /><category term="supply-chain" /><category term="conda" /><category term="mamba" /><category term="micromamba" /><category term="arbitrary-file-write" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/drm-qxl-validate-dst-offset/</id>
    <title type="text">Linux kernel drm/qxl: validate dst_offset in apply_reloc and apply_surf_reloc</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/drm-qxl-validate-dst-offset/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">13-year-old unvalidated dst_offset in QXL DRM driver allows guest-local OOB write into QEMU emulated VRAM aperture.</summary>
    <category term="Medium" />
    <category term="linux-kernel" /><category term="drm" /><category term="qxl" /><category term="qemu" /><category term="virtualization" /><category term="oob-write" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/cve-2026-46435-smob/</id>
    <title type="text">Scoped Prototype Pollution in smob via Symbol-keyed __proto__</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/cve-2026-46435-smob/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">Symbol-keyed __proto__ payload defeats smob&#39;s safe-merge guards in the else-branch of baseMerger. SSPP via Object.assign with computed-property literal.</summary>
    <category term="High" />
    <category term="nodejs" /><category term="prototype-pollution" /><category term="npm" /><category term="supply-chain" />
  </entry>
  <entry>
    <id>https://berkoc.com/research/conda-entry-point-path-traversal/</id>
    <title type="text">conda/conda: entry-point path traversal in noarch:python install (arbitrary file write)</title>
    <link rel="alternate" type="text/html" href="https://berkoc.com/research/conda-entry-point-path-traversal/" />
    <updated>2026-05-14T00:00:00Z</updated>
    <author><name>Berkant Koc</name><email>me@berkoc.com</email></author>
    <summary type="text">parse_entry_point_def in conda only strips the command field. A malicious noarch:python package writes an executable Python wrapper outside the install prefix, or clobbers an in-prefix entry point such as bin/pip. This is the canonical Python implementation of the same primitive reported in conda/rattler.</summary>
    <category term="High" />
    <category term="python" /><category term="path-traversal" /><category term="supply-chain" /><category term="conda" /><category term="arbitrary-file-write" />
  </entry>
</feed>
