{
  "id": "CVE-2026-46149",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46149",
  "published_at": "2026-05-28T09:36:05.706Z",
  "title": "scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\nscsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()\n\ntarget_tg_pt_gp_members_show() formats LUN paths with snprintf() into a\n256-byte stack buffer, then will memcpy() cur_len bytes from that\nbuffer.  snprintf() returns the length the output would have had, which\ncan exceed the buffer size when the fabric WWN is long because iSCSI IQN\nnames can be up to 223 bytes.  The check at the memcpy() site only\nguards the destination page write, not the source read, so memcpy() will\nread past the stack buffer and copy adjacent stack contents to the sysfs\nreader, which when CONFIG_FORTIFY_SOURCE is enabled, fortify_panic()\nwill be triggered.\n\nCommit 27e06650a5ea (\"scsi: target: target_core_configfs: Add length\ncheck to avoid buffer overflow\") added the same bound to the\ntarget_lu_gp_members_show() but the tg_pt_gp variant was missed so\nresolve that here.",
  "cwe": "CWE-126",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c d3cc9d490c207d57a289054397349f6f8c90354e",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c db0a4759d62cad4ff891e2d81ae4be73bb57f4a4",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c 12f2201a56957ba020392223a7393a5eba080c1b",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c 1f678d13e939f91840cb1ebe9b88544923539d3c",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c 00d91bfdce5033f5d9b4915638ae9b0553848b5d",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c e501154f9d82c95d2719bcbbaf679d8fd3226ef7",
          "\u003e= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \u003c 772a896a56e0e3ef9424a025cec9176f9d8f4552"
        ],
        "fixed_in": [
          "d3cc9d490c207d57a289054397349f6f8c90354e",
          "db0a4759d62cad4ff891e2d81ae4be73bb57f4a4",
          "12f2201a56957ba020392223a7393a5eba080c1b",
          "1f678d13e939f91840cb1ebe9b88544923539d3c",
          "72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e",
          "00d91bfdce5033f5d9b4915638ae9b0553848b5d",
          "e501154f9d82c95d2719bcbbaf679d8fd3226ef7",
          "772a896a56e0e3ef9424a025cec9176f9d8f4552"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.38"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.140",
          "6.12.88",
          "6.18.30",
          "7.0.7",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d3cc9d490c207d57a289054397349f6f8c90354e or db0a4759d62cad4ff891e2d81ae4be73bb57f4a4 or 12f2201a56957ba020392223a7393a5eba080c1b or 1f678d13e939f91840cb1ebe9b88544923539d3c or 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e or 00d91bfdce5033f5d9b4915638ae9b0553848b5d or e501154f9d82c95d2719bcbbaf679d8fd3226ef7 or 772a896a56e0e3ef9424a025cec9176f9d8f4552 or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.140 or 6.12.88 or 6.18.30 or 7.0.7 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
