CVE-2022-3028: Race Condition

Published Jul 21, 2022
·
Updated

A race condition was found in the Linux kernel's IP framework for transforming packets (XFRM subsystem) when multiple calls to xfrmprobealgs occurred simultaneously. This flaw could allow a local attacker to potentially trigger an out-of-bounds write or leak kernel heap memory by performing an out-of-bounds read and copying it into a socket.

Other sources

The function xfrmprobealgs updates the availability field of items in the authentication algorithms list (aalglist variable), but this update can occur simultaneously with another invocation of xfrmprobealgs, allowing an attacker to potentially trigger either an OOB write or leaking kernel heap memory by performing an OOB read and copying it into a socket.

Upstream references: https://lore.kernel.org/all/YtoWqEkKzvimzWS5@gondor.apana.org.au/T/ https://github.com/torvalds/linux/commit/ba953a9d89a00c078b85f4b190bc1dde66fe16b5

— Red Hat

Affected Software

19 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-477.10.1.rt7.274.el8_8
0:4.18.0-477.10.1.rt7.274.el8_8
redhat/kernel<0:4.18.0-477.10.1.el8_8
0:4.18.0-477.10.1.el8_8
redhat/kernel<0:5.14.0-284.11.1.el9_2
0:5.14.0-284.11.1.el9_2
redhat/kernel-rt<0:5.14.0-284.11.1.rt14.296.el9_2
0:5.14.0-284.11.1.rt14.296.el9_2
redhat/kernel<6.0
6.0
Linux Linux kernel>=3.14<4.9.327
Linux Linux kernel>=4.10<4.14.292
Linux Linux kernel>=4.15<4.19.257
Linux Linux kernel>=4.20<5.4.212
Linux Linux kernel>=5.5<5.10.140
Linux Linux kernel>=5.11<5.15.64
Linux Linux kernel>=5.16<5.19.6
Linux Linux kernel=6.0-rc1
Linux Linux kernel=6.0-rc2
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-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-477.10.1.rt7.274.el8_8
  2. Upgrade

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

    Fixed in 0:4.18.0-477.10.1.el8_8
  3. Upgrade

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

    Fixed in 0:5.14.0-284.11.1.el9_2
  4. Upgrade

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

    Fixed in 0:5.14.0-284.11.1.rt14.296.el9_2
  5. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  6. Upgrade

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

    Fixed in 6.0

Event History

Jul 21, 2022
CVE Published
12:00 AM
Aug 29, 2022
Data Sourced
via Red Hat·02:33 PM
DescriptionSeverityAffected Software
Aug 31, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:08 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:47 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-3028?

CVE-2022-3028 has been classified as a medium severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2022-3028?

To fix CVE-2022-3028, upgrade to the appropriate kernel version as specified in the remediation details.

3

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

CVE-2022-3028 affects various versions of the Linux kernel, including those before 4.18.0-477.10.1.el8_8 for Red Hat systems.

4

Can CVE-2022-3028 be exploited remotely?

No, CVE-2022-3028 can only be exploited by local attackers due to its nature.

5

What impact does CVE-2022-3028 have on system security?

CVE-2022-3028 could lead to out-of-bounds write or kernel heap memory leakage, potentially compromising system integrity.

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