CVE-2026-46149
scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()
Reported by linux · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-debug-modules | errata.rockylinux.org | 6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9 |
| libperf-debuginfo | errata.rockylinux.org | 5.14.0-687.46.1.el9 |
| kernel-debuginfo | errata.rockylinux.org | 5.14.0-687.46.1.el9, 4.18.0-553.162.1.el8 |
| kernel-64k-debug-modules-core | errata.rockylinux.org | 5.14.0-687.46.1.el9 |
| kernel-rt-64k-debug | errata.rockylinux.org | 6.12.0-211.55.1.el10 |
| kernel-64k-core | errata.rockylinux.org | 5.14.0-687.46.1.el9 |
| kernel-debuginfo-common-aarch64 | errata.rockylinux.org | 6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9 |
| kernel-rt-64k-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.55.1.el10 |
| kernel-zfcpdump | errata.rockylinux.org | 6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9 |
| kernel-core | errata.rockylinux.org | 5.14.0-687.46.1.el9, 4.18.0-553.162.1.el8 |
| python3-perf-debuginfo | errata.rockylinux.org | 6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9 |
50 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 |
| Linux | Linux | 2.6.38, 0, 5.10.258 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 2.6.38, 2.6.38, 2.6.38 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf | 0 |
…and 18 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (16 in total, the first dated here)
- May 30, 2026 CVE Updated
- Jun 1, 2026 Security Advisory (139 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (140 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46149
vulnetix vdb fixes CVE-2026-46149
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46149/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart