CVE-2022-40768 json
drivers/scsi/stex.c in the Linux kernel through 5.19.9 allows local users to obtain sensitive information from kernel memory because stex_q…
published 2022-09-18 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-44034
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
drivers/scsi/stex.c in the Linux kernel through 5.19.9 allows local users to obtain sensitive information from kernel memory because stex_queuecommand_lck lacks a memset for the PASSTHRU_CMD case.
Patch / fix
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
- linux Debian 14, Debian 13, Debian 12 6.0.2-1
debian advisories DEBIAN-CVE-2022-40768
- linux Ubuntu 18.04 LTS 4.15.0-197.208
- linux Ubuntu 20.04 LTS 5.4.0-132.148
- linux Ubuntu 22.04 LTS 5.15.0-53.59
- linux-aws Ubuntu 18.04 LTS 4.15.0-1143.155
- linux-aws Ubuntu 20.04 LTS 5.4.0-1089.97
- linux-aws Ubuntu 22.04 LTS 5.15.0-1023.27
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1093.102
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1022.29
ubuntu advisories UBUNTU-CVE-2022-40768
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP4, openSUSE Leap 15.4 5.14.21-150400.15.5.1
- kernel-syms-rt Real Time Module 15 SP4, openSUSE Leap 15.4 5.14.21-150400.15.5.1
- kernel-rt_debug Real Time Module 15 SP4, openSUSE Leap 15.4 5.14.21-150400.15.5.1
- kernel-source-rt Real Time Module 15 SP4, openSUSE Leap 15.4 5.14.21-150400.15.5.1
- kernel-syms SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.114.1
- kernel-source SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.114.1
- kernel-default SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLE Live Patching 12 SP4 +3 more 4.12.14-95.114.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.109.1
suse advisories SUSE-SU-2023:0416-1SUSE-SU-2022:4617-1SUSE-SU-2022:4615-1SUSE-SU-2022:4614-1SUSE-SU-2022:4611-1SUSE-SU-2022:4589-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-40768 updated cvss 5.5
kernel: leak of sensitive information due to uninitialized data in stex_queuecommand_lck() in drivers/scsi/stex.c
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-166-11 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP Linux Kernel
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem <V1.1affected: fixed in V1.1, workaround support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
- Technology feeds
References
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6022f210461fef67e6e676fd8544ca02d1bcfa7a
-
openwall.com
/lists/oss-security/2022/09/09/1
mailing-list, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2022/09/19/1
mailing-list, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/
vendor-advisory
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c
vendor-advisory
- lore.kernel.org /all/20220908145154.2284098-1-gregkh%40linuxfoundation.org/
-
lists.debian.org
/debian-lts-announce/2022/12/msg00034.html
mailing-list, third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-794697.html
Sources
- CVE List CVE-2022-40768
- NVD CVE-2022-40768
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.