# CVE-2026-46149: scsi: target: configfs: Bound snprintf() return in tg\_pt\_gp\_members\_show()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-674, CWE-126
- **Published:** 2026-05-28T09:36:05.706Z
- **Modified:** 2026-10-19T20:18:35.093Z

## Who should check

- Anyone running Linux \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d3cc9d490c207d57a289054397349f6f8c90354e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< db0a4759d62cad4ff891e2d81ae4be73bb57f4a4; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 12f2201a56957ba020392223a7393a5eba080c1b; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 1f678d13e939f91840cb1ebe9b88544923539d3c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 00d91bfdce5033f5d9b4915638ae9b0553848b5d; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< e501154f9d82c95d2719bcbbaf679d8fd3226ef7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 772a896a56e0e3ef9424a025cec9176f9d8f4552
- Anyone running Linux 2.6.38

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: target: configfs: Bound snprintf() return in tg\_pt\_gp\_members\_show()

target\_tg\_pt\_gp\_members\_show() formats LUN paths with snprintf() into a
256-byte stack buffer, then will memcpy() cur\_len bytes from that
buffer.  snprintf() returns the length the output would have had, which
can exceed the buffer size when the fabric WWN is long because iSCSI IQN
names can be up to 223 bytes.  The check at the memcpy() site only
guards the destination page write, not the source read, so memcpy() will
read past the stack buffer and copy adjacent stack contents to the sysfs
reader, which when CONFIG\_FORTIFY\_SOURCE is enabled, fortify\_panic()
will be triggered.

Commit 27e06650a5ea ("scsi: target: target\_core\_configfs: Add length
check to avoid buffer overflow") added the same bound to the
target\_lu\_gp\_members\_show() but the tg\_pt\_gp variant was missed so
resolve that here.

## Affected and fixed versions

- Linux: \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d3cc9d490c207d57a289054397349f6f8c90354e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< db0a4759d62cad4ff891e2d81ae4be73bb57f4a4; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 12f2201a56957ba020392223a7393a5eba080c1b; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 1f678d13e939f91840cb1ebe9b88544923539d3c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 00d91bfdce5033f5d9b4915638ae9b0553848b5d; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< e501154f9d82c95d2719bcbbaf679d8fd3226ef7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 772a896a56e0e3ef9424a025cec9176f9d8f4552 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 772a896a56e0e3ef9424a025cec9176f9d8f4552 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46149. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46149.md
Affected: Linux >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < d3cc9d490c207d57a289054397349f6f8c90354e; >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < db0a4759d62cad4ff891e2d81ae4be73bb57f4a4; >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < 12f2201a56957ba020392223a7393a5eba080c1b; >= c66ac9db8d4ad9994a02b3e…
Fixed in: Linux 12f2201a56957ba020392223a7393a5eba080c1b, Linux 1f678d13e939f91840cb1ebe9b88544923539d3c, Linux 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e, Linux 00d91bfdce5033f5d9b4915638ae9b0553848b5d, Linux 772a896a56e0e3ef9424a025cec9176f9d8f4552

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46149 being exploited?

There is no confirmed exploitation: CVE-2026-46149 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46149?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46149?

Linux \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d3cc9d490c207d57a289054397349f6f8c90354e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< db0a4759d62cad4ff891e2d81ae4be73bb57f4a4; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 12f2201a56957ba020392223a7393a5eba080c1b; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 1f678d13e939f91840cb1ebe9b88544923539d3c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 00d91bfdce5033f5d9b4915638ae9b0553848b5d; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< e501154f9d82c95d2719bcbbaf679d8fd3226ef7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 772a896a56e0e3ef9424a025cec9176f9d8f4552; Linux 2.6.38.

### Is there a fix for CVE-2026-46149?

Yes. Fixed in Linux 12f2201a56957ba020392223a7393a5eba080c1b, Linux 1f678d13e939f91840cb1ebe9b88544923539d3c, Linux 72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e, Linux 00d91bfdce5033f5d9b4915638ae9b0553848b5d, Linux 772a896a56e0e3ef9424a025cec9176f9d8f4552. Upgrade Linux to 772a896a56e0e3ef9424a025cec9176f9d8f4552 or later.

### How do I check if I'm affected by CVE-2026-46149?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d3cc9d490c207d57a289054397349f6f8c90354e>
- patch: <https://git.kernel.org/stable/c/db0a4759d62cad4ff891e2d81ae4be73bb57f4a4>
- patch: <https://git.kernel.org/stable/c/12f2201a56957ba020392223a7393a5eba080c1b>
- patch: <https://git.kernel.org/stable/c/1f678d13e939f91840cb1ebe9b88544923539d3c>
- patch: <https://git.kernel.org/stable/c/72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e>
- patch: <https://git.kernel.org/stable/c/00d91bfdce5033f5d9b4915638ae9b0553848b5d>
- patch: <https://git.kernel.org/stable/c/e501154f9d82c95d2719bcbbaf679d8fd3226ef7>
- patch: <https://git.kernel.org/stable/c/772a896a56e0e3ef9424a025cec9176f9d8f4552>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46149>

HTML: <https://flawdb.com/CVE-2026-46149> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46149>
