# 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 stexqu…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2022-09-18T00:00:00.000Z
- Modified: 2026-10-14T18:17:05.703Z
- Weaknesses: CWE-908
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: up to 5.19.9
- fedoraproject fedora: 35; 36; 37
- debian debian_linux: 10.0

## References

- <https://www.openwall.com/lists/oss-security/2022/09/09/1> (mailing-list, patch, third-party-advisory)
- <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> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/09/19/1> (mailing-list, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGHENNMLCWIQV2LLA56BJNFIUZ7WB4IY/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNN3VFQPECS6D4PS6ZWD7AFXTOSJDSSR/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S2KTU5LFZNQS7YNGE56MT46VHMXL3DD2/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/12/msg00034.html> (mailing-list, third-party-advisory)
- <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6022f210461fef67e6e676fd8544ca02d1bcfa7a>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>

## Sources

- CVE List: [CVE-2022-40768](https://www.cve.org/CVERecord?id=CVE-2022-40768), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-40768](https://nvd.nist.gov/vuln/detail/CVE-2022-40768), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-40768 · Whole record: https://cve.day/CVE-2022-40768.json · Rebuilt by cve.day 2026-11-25T22:58:15.093Z
