CVE-2022-1048: Use After Free

Published Mar 22, 2022
·
Updated

A use-after-free flaw was found in the Linux kernel’s sound subsystem in the way a user triggers concurrent calls of PCM hwparams. The hwfree ioctls or similar race condition happens inside ALSA PCM for other ioctls. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Other sources

In sndpcmhwfree it seems like that the function calls the unlock too early, this may lead to a race condition and use-after-free.

Red Hat

Affected Software

48 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
Linux Linux kernel>=2.6.12<4.14.279
Linux Linux kernel>=4.15<4.19.243
Linux Linux kernel>=4.20<5.4.193
Linux Linux kernel>=5.5<5.10.109
Linux Linux kernel>=5.11<5.15.32
Linux Linux kernel>=5.16<5.16.18
Linux Linux kernel=5.17
redhat Enterprise Linux=8.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410c Firmware
NetApp H410c
NetApp Baseboard Management Controller H300s Firmware
NetApp Baseboard Management Controller H300s
NetApp Baseboard Management Controller H500s Firmware
NetApp Baseboard Management Controller H500s
NetApp Baseboard Management Controller H700s Firmware
NetApp Baseboard Management Controller H700s
NetApp Baseboard Management Controller H410s Firmware
NetApp Baseboard Management Controller H410s
NetApp Baseboard Management Controller H300e Firmware
NetApp Baseboard Management Controller H300e
NetApp Baseboard Management Controller H500e Firmware
NetApp Baseboard Management Controller H500e
NetApp Baseboard Management Controller H700e Firmware
NetApp Baseboard Management Controller H700e
NetApp Baseboard Management Controller H410c Firmware
NetApp Baseboard Management Controller H410c
redhat/Linux kernel<5.17
5.17
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.rt7.213.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.el8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.el9_1
  4. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-162.6.1.rt21.168.el9_1
  5. Upgrade

    Upgrade redhat/Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.17
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  7. Compensating control

    Prevent the ALSA PCM module from being loaded by blacklisting the kernel module snd-pcm, so it does not auto-load (per the referenced Red Hat guidance for how to blacklist modules).

Event History

Mar 22, 2022
Data Sourced
via Red Hat·11:00 AM
DescriptionSeverityAffected Software
Mar 23, 2022
CVE Published
10:00 AM
Apr 29, 2022
CVE Published
via MITRE·03:34 PM
Data Sourced
via MITRE·03:34 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 6, 2025
Data Sourced
via Launchpad·04:10 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·12:27 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1048?

CVE-2022-1048 is considered a high severity vulnerability due to its potential to allow local users to crash the system or escalate privileges.

2

How do I fix CVE-2022-1048?

To mitigate CVE-2022-1048, update to the patched kernel versions specified for your distribution.

3

Which versions of the Linux kernel are affected by CVE-2022-1048?

CVE-2022-1048 affects Linux kernel versions between 2.6.12 and 5.17, with specific ranges depending on your distribution.

4

Does CVE-2022-1048 affect Red Hat Enterprise Linux?

Yes, CVE-2022-1048 affects various versions of Red Hat Enterprise Linux kernel packages, including kernel-rt and kernel.

5

Can CVE-2022-1048 be exploited remotely?

CVE-2022-1048 does not appear to be exploitable remotely as it requires local user access.

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