VDB

CVE-2026-46149

CVE-2026-46149 PUBLISHED CVSS 7.1 HIGH

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.

PackageEcosystemFixed in
kernel6.18-toolsAmazon Linux1:6.18.30-61.116.amzn2023
kernel-debug-moduleserrata.rockylinux.org6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9
libperf-debuginfoerrata.rockylinux.org5.14.0-687.46.1.el9
kernel-debuginfoerrata.rockylinux.org5.14.0-687.46.1.el9, 4.18.0-553.162.1.el8
kernel-64k-debug-modules-coreerrata.rockylinux.org5.14.0-687.46.1.el9
kernel-rt-64k-debugerrata.rockylinux.org6.12.0-211.55.1.el10
kernel-64k-coreerrata.rockylinux.org5.14.0-687.46.1.el9
kernel-debuginfo-common-aarch64errata.rockylinux.org6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9
kernel-rt-64k-debug-modules-extraerrata.rockylinux.org6.12.0-211.55.1.el10
kernel-zfcpdumperrata.rockylinux.org6.12.0-211.55.1.el10, 5.14.0-687.46.1.el9
kernel-coreerrata.rockylinux.org5.14.0-687.46.1.el9, 4.18.0-553.162.1.el8
python3-perf-debuginfoerrata.rockylinux.org6.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

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxc66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5
LinuxLinux2.6.38, 0, 5.10.258
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel-headers0
amazon:2023kernel0
amazon:2023bpftool6.180
amazon:2023bpftool0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.120
amazon:2023bpftool6.120
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel2.6.38, 2.6.38, 2.6.38
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.180
amazon:2023perf0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›