CVE-2024-0775: Kernel: use-after-free while changing the mount option in __ext4_remount leading

Published Jan 21, 2024
·
Updated

A use-after-free flaw was found in the ext4remount in fs/ext4/super.c in ext4 in the Linux kernel. This flaw allows a local user to cause an information leak problem while freeing the old quota file names before a potential failure, leading to a use-after-free.

Other sources

If there are failures while changing the mount options in ext4remount(), we need to restore the old mount options, there is a chance that we will free the old quota file names before a potential failure leading to a use-after-free.

Also, if there is a failed read/write to read-only transition, if the quota has already been suspended, we need to renable quota handling.

Refer: https://scm.linefinity.com/common/linux-stable/commit/4c0b4818b1f636bc96359f7817a2d8bab6370162

— Red Hat

Kernel: use-after-free while changing the mount option in ext4remount leading

— Microsoft

Affected Software

8 affected componentsFixes available
Linux Linux kernel<6.4
Linux Linux kernel=6.4-rc1
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
redhat/Kernel<6.4
6.4
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft cbl2 kernel 5.15.180.1-1
Microsoft cbl2 kernel 5.15.153.1-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
  2. Upgrade

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

    Fixed in 6.4

Event History

Jan 21, 2024
Data Sourced
via Red Hat·12:39 PM
DescriptionSeverityAffected Software
Jan 22, 2024
CVE Published
via MITRE·01:03 PM
Data Sourced
via MITRE·01:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 30, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
SeverityAffected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Mar 19, 2024
Data Sourced
via Launchpad·12:13 AM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·01:21 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-0775?

CVE-2024-0775 is classified as a moderate severity vulnerability due to its potential for information leak.

2

How do I fix CVE-2024-0775?

To fix CVE-2024-0775, update the Linux kernel to version 6.4 or higher, or apply the specified patches for affected versions.

3

Who is affected by CVE-2024-0775?

CVE-2024-0775 affects local users running specific versions of the Linux kernel, particularly prior to version 6.4.

4

What types of systems are vulnerable to CVE-2024-0775?

Systems running the ext4 filesystem in affected versions of the Linux kernel are vulnerable to CVE-2024-0775.

5

Can CVE-2024-0775 lead to remote exploitation?

CVE-2024-0775 is a local vulnerability and does not allow for remote exploitation by adversaries.

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