CVE-2026-46149

Source
https://cve.org/CVERecord?id=CVE-2026-46149
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46149.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46149
Downstream
Related
Published
2026-05-28T09:36:05.706Z
Modified
2026-07-08T08:09:42.291738714Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()
Details

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

scsi: target: configfs: Bound snprintf() return in tgptgpmembersshow()

targettgptgpmembersshow() formats LUN paths with snprintf() into a 256-byte stack buffer, then will memcpy() curlen 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 CONFIGFORTIFYSOURCE is enabled, fortify_panic() will be triggered.

Commit 27e06650a5ea ("scsi: target: targetcoreconfigfs: Add length check to avoid buffer overflow") added the same bound to the targetlugpmembersshow() but the tgptgp variant was missed so resolve that here.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46149.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5
Fixed
d3cc9d490c207d57a289054397349f6f8c90354e
Fixed
db0a4759d62cad4ff891e2d81ae4be73bb57f4a4
Fixed
12f2201a56957ba020392223a7393a5eba080c1b
Fixed
1f678d13e939f91840cb1ebe9b88544923539d3c
Fixed
72cc5ea7ef32bb5fa38bf0dd2e56fcd73aa8c89e
Fixed
00d91bfdce5033f5d9b4915638ae9b0553848b5d
Fixed
e501154f9d82c95d2719bcbbaf679d8fd3226ef7
Fixed
772a896a56e0e3ef9424a025cec9176f9d8f4552

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46149.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.38
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.140
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.88
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.30
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46149.json"