CVE-2022-3424: Use After Free

Published Oct 6, 2022
·
Updated

A use after free flaw in the Linux Kernel SGI GRU driver in drivers/misc/sgi-gru/grufile.c found. A local user can call grufileunlockedioctl with GRUSETCONTEXTOPTION and then triggering error path in grucheckcontextplacement function. This leads to use after free in gruunloadcontext function.

Reference: https://www.spinics.net/lists/kernel/msg4518970.html

Besides, this is a long existing bug which was introduced in 13 years ago: https://github.com/torvalds/linux/commit/55484c45dbeca2eec7642932ec3f60f8a2d4bdbf

Other sources

A use-after-free flaw was found in the Linux kernel’s SGI GRU driver in the way the first grufileunlockedioctl function is called by the user, where a fail pass occurs in the grucheckchipletassignment function. This flaw allows a local user to crash or potentially escalate their privileges on the system.

— Launchpad

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=2.6.33<4.9.337
Linux Linux kernel>=4.10<4.14.303
Linux Linux kernel>=4.15<4.19.270
Linux Linux kernel>=4.20<5.4.229
Linux Linux kernel>=5.5<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2
redhat Enterprise Linux=9.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 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

Event History

Oct 6, 2022
Data Sourced
via Red Hat·10:01 AM
DescriptionSeverityAffected Software
Mar 6, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:09 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:46 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-3424?

CVE-2022-3424 is considered a high severity vulnerability due to the potential for local users to exploit a use after free condition in the Linux kernel.

2

How do I fix CVE-2022-3424?

To fix CVE-2022-3424, users should upgrade to the latest kernel versions that are not affected by this vulnerability.

3

Which versions of the Linux Kernel are affected by CVE-2022-3424?

CVE-2022-3424 affects multiple versions of the Linux Kernel including those between 2.6.33 and 4.9.337, as well as various ranges up to 6.1.2.

4

What is the impact of CVE-2022-3424 on system security?

The impact of CVE-2022-3424 could potentially allow a local user to gain unauthorized access or control over the system, leading to significant security breaches.

5

Who can exploit CVE-2022-3424?

CVE-2022-3424 can be exploited by local users with access to the system, specifically those able to call the gru_file_unlocked_ioctl function.

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