CVE-2022-40768
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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.30% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 22.4% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-09-18 00:00Z4 YR AGO
- Last updated
- 2026-10-14 18:06Z14 DAYS AGO
- Reserved
- 2022-09-18
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-908Use of Uninitialized ResourceBase
- Data version
- 5.2
- Document digest
- 683c491411a95606bb387e789df19682c16e7666f25ebcda67f3b5bd106025fb
05 Affected products
06 References
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2022/09/09/1
- lore.kernel.orghttps://lore.kernel.org/all/20220908145154.2284098-1-gregkh%40linuxfoundation.org/
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c
- www.openwall.com[oss-security] 20220919 Re: Linux kernel: information disclosure in stex_queuecommand_lckhttp://www.openwall.com/lists/oss-security/2022/09/19/1
- lists.fedoraproject.orgFEDORA-2022-2cfbe17910https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/
- lists.fedoraproject.orgFEDORA-2022-b948fc3cfbhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/
- lists.fedoraproject.orgFEDORA-2022-1a5b125ac6https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/
- lists.debian.org[debian-lts-announce] 20221223 [SECURITY] [DLA 3245-1] linux security updatehttps://lists.debian.org/debian-lts-announce/2022/12/msg00034.html
- git.kernel.orghttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6022f210461fef67e6e676fd8544ca02d1bcfa7a
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-794697.html
07 Fixed in
Arch Linux
- linux Fixed in 6.2-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 6.0.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 6.0.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 6.0.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux Fixed in 4.15.0-197.208
- linux-aws Fixed in 4.15.0-1143.155
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-aws-5.4 Fixed in 5.4.0-1089.97~18.04.1
- linux-azure No fix yet
- linux-azure-4.15 Fixed in 4.15.0-1157.172
- linux-azure-5.3 No fix yet
- linux-azure-5.4 Fixed in 5.4.0-1095.101~18.04.1
- linux-azure-edge No fix yet
- linux-dell300x Fixed in 4.15.0-1055.60
- linux-gcp No fix yet
- linux-gcp-4.15 Fixed in 4.15.0-1138.154
- linux-gcp-5.3 No fix yet
- linux-gcp-5.4 Fixed in 5.4.0-1093.102~18.04.1
- linux-gke-4.15 No fix yet
- linux-gke-5.4 No fix yet
- linux-gkeop-5.4 No fix yet
- linux-hwe No fix yet
- linux-hwe-5.4 Fixed in 5.4.0-132.148~18.04.1
- linux-hwe-edge No fix yet
- linux-ibm-5.4 Fixed in 5.4.0-1037.42~18.04.1
- linux-kvm Fixed in 4.15.0-1129.134
- linux-oem No fix yet
- linux-oracle Fixed in 4.15.0-1108.119
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
- linux-oracle-5.4 Fixed in 5.4.0-1087.96~18.04.1
- linux-raspi-5.4 Fixed in 5.4.0-1074.85~18.04.1
- linux-raspi2 Fixed in 4.15.0-1121.129
- linux-snapdragon Fixed in 4.15.0-1139.149
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-132.148
- linux-aws Fixed in 5.4.0-1089.97
- linux-aws-5.11 No fix yet
- linux-aws-5.13 No fix yet
- linux-aws-5.15 Fixed in 5.15.0-1023.27~20.04.1
- linux-aws-5.8 No fix yet
- linux-azure Fixed in 5.4.0-1095.101
- linux-azure-5.11 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.15 Fixed in 5.15.0-1023.29~20.04.1
- linux-azure-5.8 No fix yet
- linux-bluefield Fixed in 5.4.0-1050.56
- linux-gcp Fixed in 5.4.0-1093.102
- linux-gcp-5.11 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.15 Fixed in 5.15.0-1022.29~20.04.1
- linux-gcp-5.8 No fix yet
- linux-gke Fixed in 5.4.0-1087.94
- linux-gke-5.15 Fixed in 5.15.0-1020.25~20.04.1
- linux-gkeop Fixed in 5.4.0-1057.61
- linux-gkeop-5.15 Fixed in 5.15.0-1008.12~20.04.1
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.15 Fixed in 5.15.0-53.59~20.04.1
- linux-hwe-5.8 No fix yet
- linux-ibm Fixed in 5.4.0-1037.42
- linux-intel-5.13 No fix yet
- linux-intel-iotg-5.15 Fixed in 5.15.0-1018.23~20.04.1
- linux-iot Fixed in 5.4.0-1006.8
- linux-kvm Fixed in 5.4.0-1079.85
- linux-lowlatency-hwe-5.15 Fixed in 5.15.0-53.59~20.04.1
- linux-oem-5.10 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.14 Fixed in 5.14.0-1054.61
- linux-oem-5.6 No fix yet
- linux-oracle Fixed in 5.4.0-1087.96
- linux-oracle-5.11 No fix yet
- linux-oracle-5.13 No fix yet
- linux-oracle-5.15 Fixed in 5.15.0-1022.28~20.04.1
- linux-oracle-5.8 No fix yet
6 further packages in Ubuntu 20.04 LTS not shown (first 40 listed).
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux Fixed in 5.15.0-53.59
- linux-aws Fixed in 5.15.0-1023.27
- linux-azure Fixed in 5.15.0-1023.29
- linux-azure-fde Fixed in 5.15.0-1024.30.1
- linux-gcp Fixed in 5.15.0-1022.29
- linux-gke Fixed in 5.15.0-1020.25
- linux-gkeop Fixed in 5.15.0-1008.12
- linux-ibm Fixed in 5.15.0-1018.21
- linux-intel-iot-realtime No fix yet
- linux-intel-iotg Fixed in 5.15.0-1018.23
- linux-kvm Fixed in 5.15.0-1021.26
- linux-lowlatency Fixed in 5.15.0-53.59
- linux-nvidia Fixed in 5.15.0-1015.15
- linux-oem-5.17 Fixed in 5.17.0-1020.21
- linux-oem-6.0 Fixed in 6.0.0-1007.7
- linux-oracle Fixed in 5.15.0-1022.28
- linux-raspi Fixed in 5.15.0-1018.20
- linux-realtime No fix yet
- linux-riscv No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux No fix yet
- linux-aws Fixed in 4.4.0-1114.120Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1157.172~14.04.2Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-235.269~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- linux Fixed in 4.4.0-235.269Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1152.167Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws-hwe Fixed in 4.15.0-1143.155~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1159.174~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp Fixed in 4.15.0-1138.154~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-hwe Fixed in 4.15.0-197.208~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-kvm Fixed in 4.4.0-1115.125Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle Fixed in 4.15.0-1108.119~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1084.91Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2082.88Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2066.72Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1100.111Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 4.15.0-2047.52Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- linux-aws-fips Fixed in 5.4.0-1089.97+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 5.4.0-1095.101+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 5.4.0-1065.74Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 5.4.0-1093.102+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 22.04 LTS
- linux-realtime Fixed in 5.15.0-1025.28Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.