CVE-2022-0494: Infoleak

Published Jan 11, 2022
·
Updated

A flaw was found in the linux kernel in scsiioctl() function. If the parameter cmd is SCSIIOCTLSENDCOMMAND, the function scsiioctl will call sgscsiioctl to further process. In function sgscsiioctl, it creates a scsi request and calls blkrqmapkern to allocate the internal buffer of this request, but the internal buffer doesn't get zeroed properly. Then this request will be sent to the disk driver, but the disk driver doesn't fill anything into it. Finally, the internal buffer's content is copied to the user buffer which is specified by the parameter sic->data of sgscsiioctl.

Reference: https://lore.kernel.org/all/20220216084038.15635-1-tcs.kernel@gmail.com/

Other sources

A kernel information leak flaw was identified in the scsiioctl function in drivers/scsi/scsiioctl.c in the Linux kernel. This flaw allows a local attacker with a special user privilege (CAPSYSADMIN or CAPSYSRAWIO) to create issues with confidentiality.

Affected Software

17 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-372.32.1.rt7.189.el8_6
0:4.18.0-372.32.1.rt7.189.el8_6
redhat/kernel<0:4.18.0-372.32.1.el8_6
0:4.18.0-372.32.1.el8_6
redhat/kernel-rt<0:4.18.0-305.62.1.rt7.134.el8_4
0:4.18.0-305.62.1.rt7.134.el8_4
redhat/kernel<0:4.18.0-305.62.1.el8_4
0:4.18.0-305.62.1.el8_4
redhat/kernel<0:5.14.0-70.22.1.el9_0
0:5.14.0-70.22.1.el9_0
redhat/kernel-rt<0:5.14.0-70.22.1.rt21.94.el9_0
0:5.14.0-70.22.1.rt21.94.el9_0
redhat/kernel<5.17
5.17
Linux Linux kernel<5.17
Linux Linux kernel=5.17
Linux Linux kernel=5.17-rc1
Linux Linux kernel=5.17-rc2
Linux Linux kernel=5.17-rc3
Linux Linux kernel=5.17-rc4
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Remediation

Information

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Event History

Jan 11, 2022
Data Sourced
via Red Hat·05:59 PM
DescriptionSeverityAffected Software
Feb 16, 2022
CVE Published
05:00 PM
Mar 25, 2022
CVE Published
via MITRE·06:03 PM
Data Sourced
via MITRE·06:03 PM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:02 AM
Description
May 2, 2025
Data Sourced
via Ubuntu·04:35 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-0494?

The severity of CVE-2022-0494 is classified as high due to its potential to lead to privilege escalation.

2

How do I fix CVE-2022-0494?

To fix CVE-2022-0494, update your kernel to one of the following versions: 0:4.18.0-372.32.1.rt7.189.el8_6, 0:4.18.0-372.32.1.el8_6, 0:5.14.0-70.22.1.el9_0, or any version above 5.17.

3

What systems are affected by CVE-2022-0494?

CVE-2022-0494 affects Linux kernel versions up to 5.17 and specific Red Hat and Debian kernel packages.

4

Can CVE-2022-0494 lead to remote code execution?

CVE-2022-0494 does not directly lead to remote code execution but may allow privilege escalation, which can be exploited in conjunction with other vulnerabilities.

5

Is there a workaround for CVE-2022-0494?

There are no specific workarounds for CVE-2022-0494; the best mitigation is to apply the recommended updates to affected kernel versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203