{"api_version":"1","generated_at":"2026-04-23T11:36:22+00:00","cve":"CVE-2022-40768","urls":{"html":"https://cve.report/CVE-2022-40768","api":"https://cve.report/api/cve/CVE-2022-40768.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-40768","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-40768"},"summary":{"title":"CVE-2022-40768","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-09-18 05:15:00","updated_at":"2023-11-07 03:52:00"},"problem_types":["CWE-908"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/","name":"FEDORA-2022-2cfbe17910","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: kernel-5.19.15-201.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh@linuxfoundation.org/","name":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh@linuxfoundation.org/","refsource":"MISC","tags":[],"title":"[PATCH] scsi: stex: properly zero out the passthrough command structure - Greg Kroah-Hartman","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/09/19/1","name":"[oss-security] 20220919 Re: Linux kernel: information disclosure in stex_queuecommand_lck","refsource":"MLIST","tags":[],"title":"oss-security - Re: Linux kernel: information disclosure in stex_queuecommand_lck","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00034.html","name":"[debian-lts-announce] 20221223 [SECURITY] [DLA 3245-1] linux security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3245-1] linux security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/","name":"FEDORA-2022-b948fc3cfb","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: kernel-5.19.15-101.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/","name":"FEDORA-2022-1a5b125ac6","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: kernel-5.19.15-301.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/","name":"FEDORA-2022-1a5b125ac6","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: kernel-5.19.15-301.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.openwall.com/lists/oss-security/2022/09/09/1","name":"https://www.openwall.com/lists/oss-security/2022/09/09/1","refsource":"MISC","tags":[],"title":"oss-security - Linux kernel: information disclosure in stex_queuecommand_lck","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/","name":"FEDORA-2022-2cfbe17910","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: kernel-5.19.15-201.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c","refsource":"MISC","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh%40linuxfoundation.org/","name":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh%40linuxfoundation.org/","refsource":"","tags":[],"title":"[PATCH] scsi: stex: properly zero out the passthrough command structure - Greg Kroah-Hartman","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/","name":"FEDORA-2022-b948fc3cfb","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: kernel-5.19.15-101.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40768","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40768","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"40768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"40768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"40768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"40768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"40768","vulnerable":"1","versionEndIncluding":"5.19.9","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-40768","qid":"160345","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-10065)"},{"cve":"CVE-2022-40768","qid":"160353","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-10072)"},{"cve":"CVE-2022-40768","qid":"160355","title":"Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2022-10073)"},{"cve":"CVE-2022-40768","qid":"181219","title":"Debian Security Update for linux (CVE-2022-40768)"},{"cve":"CVE-2022-40768","qid":"181565","title":"Debian Security Update for linux (DLA 3245-1)"},{"cve":"CVE-2022-40768","qid":"198999","title":"Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5693-1)"},{"cve":"CVE-2022-40768","qid":"199029","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5728-1)"},{"cve":"CVE-2022-40768","qid":"199030","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5727-1)"},{"cve":"CVE-2022-40768","qid":"199031","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5729-1)"},{"cve":"CVE-2022-40768","qid":"199036","title":"Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-5727-2)"},{"cve":"CVE-2022-40768","qid":"199037","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5728-2)"},{"cve":"CVE-2022-40768","qid":"199038","title":"Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5729-2)"},{"cve":"CVE-2022-40768","qid":"199051","title":"Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-5728-3)"},{"cve":"CVE-2022-40768","qid":"199072","title":"Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-5774-1)"},{"cve":"CVE-2022-40768","qid":"283201","title":"Fedora Security Update for kernel (FEDORA-2022-2cfbe17910)"},{"cve":"CVE-2022-40768","qid":"283209","title":"Fedora Security Update for kernel (FEDORA-2022-b948fc3cfb)"},{"cve":"CVE-2022-40768","qid":"283477","title":"Fedora Security Update for kernel (FEDORA-2022-1a5b125ac6)"},{"cve":"CVE-2022-40768","qid":"354107","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2022-038"},{"cve":"CVE-2022-40768","qid":"354110","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-022"},{"cve":"CVE-2022-40768","qid":"354113","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.15-2022-010"},{"cve":"CVE-2022-40768","qid":"354114","title":"Amazon Linux Security Advisory for kernel : ALAS2-2022-1876"},{"cve":"CVE-2022-40768","qid":"354251","title":"Amazon Linux Security Advisory for kernel : ALAS-2022-1645"},{"cve":"CVE-2022-40768","qid":"377891","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2023:0002)"},{"cve":"CVE-2022-40768","qid":"378468","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-20230042)"},{"cve":"CVE-2022-40768","qid":"378512","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2023:0042)"},{"cve":"CVE-2022-40768","qid":"390269","title":"Oracle VM Server for x86 Security Update for kernel (OVMSA-2022-0031)"},{"cve":"CVE-2022-40768","qid":"6140029","title":"AWS Bottlerocket Security Update for kernel (GHSA-jw9m-fq9g-prgw)"},{"cve":"CVE-2022-40768","qid":"6140316","title":"AWS Bottlerocket Security Update for kernel (GHSA-jw9m-fq9g-prgw)"},{"cve":"CVE-2022-40768","qid":"672711","title":"EulerOS Security Update for kernel (EulerOS-SA-2023-1507)"},{"cve":"CVE-2022-40768","qid":"752724","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3775-1)"},{"cve":"CVE-2022-40768","qid":"752889","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3897-1)"},{"cve":"CVE-2022-40768","qid":"752911","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3998-1)"},{"cve":"CVE-2022-40768","qid":"752913","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4072-1)"},{"cve":"CVE-2022-40768","qid":"752944","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4273-1)"},{"cve":"CVE-2022-40768","qid":"752959","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4272-1)"},{"cve":"CVE-2022-40768","qid":"753038","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4573-1)"},{"cve":"CVE-2022-40768","qid":"753039","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4574-1)"},{"cve":"CVE-2022-40768","qid":"753051","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4589-1)"},{"cve":"CVE-2022-40768","qid":"753060","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4615-1)"},{"cve":"CVE-2022-40768","qid":"753063","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4617-1)"},{"cve":"CVE-2022-40768","qid":"753374","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3809-1)"},{"cve":"CVE-2022-40768","qid":"753703","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:0416-1)"},{"cve":"CVE-2022-40768","qid":"753707","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:0416-1)"},{"cve":"CVE-2022-40768","qid":"753727","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:0416-1)"},{"cve":"CVE-2022-40768","qid":"904028","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10978)"},{"cve":"CVE-2022-40768","qid":"904032","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10985)"},{"cve":"CVE-2022-40768","qid":"904622","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10985-1)"},{"cve":"CVE-2022-40768","qid":"904725","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10978-1)"},{"cve":"CVE-2022-40768","qid":"905784","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10985-2)"},{"cve":"CVE-2022-40768","qid":"906307","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10978-2)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-40768","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.openwall.com/lists/oss-security/2022/09/09/1","refsource":"MISC","name":"https://www.openwall.com/lists/oss-security/2022/09/09/1"},{"url":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh@linuxfoundation.org/","refsource":"MISC","name":"https://lore.kernel.org/all/20220908145154.2284098-1-gregkh@linuxfoundation.org/"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c","refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/scsi/stex.c"},{"refsource":"MLIST","name":"[oss-security] 20220919 Re: Linux kernel: information disclosure in stex_queuecommand_lck","url":"http://www.openwall.com/lists/oss-security/2022/09/19/1"},{"refsource":"FEDORA","name":"FEDORA-2022-2cfbe17910","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/"},{"refsource":"FEDORA","name":"FEDORA-2022-b948fc3cfb","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/"},{"refsource":"FEDORA","name":"FEDORA-2022-1a5b125ac6","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20221223 [SECURITY] [DLA 3245-1] linux security update","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00034.html"}]}},"nvd":{"publishedDate":"2022-09-18 05:15:00","lastModifiedDate":"2023-11-07 03:52:00","problem_types":["CWE-908"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndIncluding":"5.19.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}