{
  "id": "CVE-2026-43112",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43112",
  "published_at": "2026-05-06T07:40:38.563Z",
  "title": "fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath\n\nWhen cifs_sanitize_prepath is called with an empty string or a string\ncontaining only delimiters (e.g., \"/\"), the current logic attempts to\ncheck *(cursor2 - 1) before cursor2 has advanced. This results in an\nout-of-bounds read.\n\nThis patch adds an early exit check after stripping prepended\ndelimiters. If no path content remains, the function returns NULL.\n\nThe bug was identified via manual audit and verified using a\nstandalone test case compiled with AddressSanitizer, which\ntriggered a SEGV on affected inputs.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.16:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.16:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.16:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c63433a09d6ae4c226fcbc66da4c58fc189fd746, \u003c a2ba20c17de8eb028f96b1d85f119d3d25655bd9",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c fbced33599653471b4581dfe1abc7b467031f126",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c 5d4fe469fe7dbff7d874c196bb680a82f2625d95",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c 86f9c23e0814cfdffda9eedf0c591c51ba209010",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3",
          "\u003e= a31080899d5fdafcccf7f39dd214a814a2c82626, \u003c 78ec5bf2f589ec7fd8f169394bfeca541b077317",
          "\u003e= 5.15.11, \u003c 5.15.209"
        ],
        "fixed_in": [
          "a2ba20c17de8eb028f96b1d85f119d3d25655bd9",
          "fbced33599653471b4581dfe1abc7b467031f126",
          "5d4fe469fe7dbff7d874c196bb680a82f2625d95",
          "2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439",
          "86f9c23e0814cfdffda9eedf0c591c51ba209010",
          "49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3",
          "78ec5bf2f589ec7fd8f169394bfeca541b077317",
          "5.15.209"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.16"
        ],
        "fixed_in": [
          "0",
          "5.15.209",
          "6.1.175",
          "6.6.136",
          "6.12.83",
          "6.18.24",
          "6.19.14",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a2ba20c17de8eb028f96b1d85f119d3d25655bd9 or fbced33599653471b4581dfe1abc7b467031f126 or 5d4fe469fe7dbff7d874c196bb680a82f2625d95 or 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439 or 86f9c23e0814cfdffda9eedf0c591c51ba209010 or 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3 or 78ec5bf2f589ec7fd8f169394bfeca541b077317 or 5.15.209 or later.",
      "Upgrade Linux to 0 or 5.15.209 or 6.1.175 or 6.6.136 or 6.12.83 or 6.18.24 or 6.19.14 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
