{
 "id": "CVE-2026-23194",
 "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nrust_binder: correctly handle FDA objects of length zero\n\nFix a bug where an empty FDA (fd array) object with 0 fds would cause an\nout-of-bounds error. The previous implementation used `skip == 0` to\nmean \"this is a pointer fixup\", but 0 is also the correct skip length\nfor an empty FDA. If the FDA is at the end of the buffer, then this\nresults in an attempt to write 8-bytes out of bounds. This is caught and\nresults in an EINVAL error being returned to userspace.\n\nThe pattern of using `skip == 0` as a special value originates from the\nC-implementation of Binder. As part of fixing this bug, this pattern is\nreplaced with a Rust enum.\n\nI considered the alternate option of not pushing a fixup when the length\nis zero, but I think it's cleaner to just get rid of the zero-is-special\nstuff.\n\nThe root cause of this bug was diagnosed by Gemini CLI on first try. I\nused the following prompt:\n\n> There appears to be a bug in @drivers/android/binder/thread.rs where\n> the Fixups oob bug is triggered with 316 304 316 324. This implies\n> that we somehow ended up with a fixup where buffer A has a pointer to\n> buffer B, but the pointer is located at an index in buffer A that is\n> out of bounds. Please investigate the code to find the bug. You may\n> compare with @drivers/android/binder.c that implements this correctly.",
 "published": "2026-02-14",
 "last_modified": "2026-06-17",
 "vuln_status": "Analyzed",
 "cna": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
 "cvss": {
  "version": "3.1",
  "score": 7.8,
  "severity": "HIGH",
  "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "source": "nvd@nist.gov"
 },
 "cwe": [
  "CWE-787"
 ],
 "products": [
  {
   "vendor": "linux",
   "product": "linux_kernel",
   "versions_affected": ">= 6.18 < 6.18.10",
   "fixed_in": "6.18.10",
   "product_id": null
  }
 ],
 "category": "product",
 "surface": [],
 "kev": null,
 "fix": {
  "status": "fixed",
  "version": "6.18.10",
  "url": "https://git.kernel.org/stable/c/598fe3ff32e43918ed8a062f55432b3d23e6340c"
 },
 "references": [
  {
   "url": "https://git.kernel.org/stable/c/598fe3ff32e43918ed8a062f55432b3d23e6340c",
   "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
   "tags": [
    "Patch"
   ]
  },
  {
   "url": "https://git.kernel.org/stable/c/8f589c9c3be539d6c2b393c82940c3783831082f",
   "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
   "tags": [
    "Patch"
   ]
  }
 ],
 "related_agents": [
  "google-gemini-cli"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:name"
  ],
  "terms": [
   "gemini-cli:Gemini CLI"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}