CVE-2022-40768
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 0.29%• Percentile: 22%
Techniques & Countermeasures
- CWE-908•Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
Affected Systems
- debian•linux
< 5.10.148-1 | < 6.0.2-1 | < 6.0.2-1 | < 6.0.2-1
- ubuntu•linux
all | < 4.4.0-235.269 | < 4.15.0-197.208 | < 5.4.0-132.148 | < 5.15.0-53.59
- ubuntu•linux-aws
< 4.4.0-1114.120 | < 4.4.0-1152.167 | < 4.15.0-1143.155 | < 5.4.0-1089.97 | < 5.15.0-1023.27
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1023.27~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1089.97~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2082.88 | all | < 5.4.0-1089.97+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1143.155~16.04.1
- ubuntu•linux-azure
< 4.15.0-1157.172~14.04.2 | < 4.15.0-1159.174~16.04.1 | all | < 5.4.0-1095.101 | < 5.15.0-1023.29
- ubuntu•linux-azure-4.15
< 4.15.0-1157.172
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1023.29~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1095.101~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
< 5.15.0-1024.30.1
- ubuntu•linux-azure-fips
< 4.15.0-2066.72 | all | < 5.4.0-1095.101+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1050.56
- ubuntu•linux-dell300x
< 4.15.0-1055.60
- ubuntu•linux-fips
< 4.4.0-1084.91 | all | < 4.15.0-1100.111 | < 5.4.0-1065.74
- ubuntu•linux-gcp
< 4.15.0-1138.154~16.04.1 | all | < 5.4.0-1093.102 | < 5.15.0-1022.29
- ubuntu•linux-gcp-4.15
< 4.15.0-1138.154
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1022.29~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1093.102~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2047.52 | all | < 5.4.0-1093.102+fips1
- ubuntu•linux-gke
< 5.4.0-1087.94 | < 5.15.0-1020.25
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
< 5.15.0-1020.25~20.04.1
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1057.61 | < 5.15.0-1008.12
- ubuntu•linux-gkeop-5.15
< 5.15.0-1008.12~20.04.1
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
< 4.15.0-197.208~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.15
< 5.15.0-53.59~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-132.148~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1037.42 | < 5.15.0-1018.21
Showing first 50 affected entries in server-rendered view.
References (24)
- https://www.openwall.com/lists/oss-security/2022/09/09/1
- https://lore.kernel.org/all/20220908145154.2284098-1-gregkh%40linuxfoundation.org/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c
- http://www.openwall.com/lists/oss-security/2022/09/19/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/
- https://lists.debian.org/debian-lts-announce/2022/12/msg00034.html
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6022f210461fef67e6e676fd8544ca02d1bcfa7a
- https://ubuntu.com/security/CVE-2022-40768
- https://lore.kernel.org/all/20220908145154.2284098-1-gregkh@linuxfoundation.org/
- https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6022f210461fef67e6e676fd8544ca02d1bcfa7a
- https://ubuntu.com/security/notices/USN-5693-1
- https://ubuntu.com/security/notices/USN-5727-1
- https://ubuntu.com/security/notices/USN-5728-1
- https://ubuntu.com/security/notices/USN-5729-1
- https://ubuntu.com/security/notices/USN-5727-2
- https://ubuntu.com/security/notices/USN-5728-2
- https://ubuntu.com/security/notices/USN-5729-2
- https://ubuntu.com/security/notices/USN-5728-3
- https://ubuntu.com/security/notices/USN-5758-1
- https://ubuntu.com/security/notices/USN-5774-1
- https://www.cve.org/CVERecord?id=CVE-2022-40768
- https://security-tracker.debian.org/tracker/CVE-2022-40768