CVE-2024-41020: filelock: Fix fcntl/close race recovery compat path

Published Jul 29, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

filelock: Fix fcntl/close race recovery compat path

When I wrote commit 3cad1bc01041 ("filelock: Remove locks reliably when fcntl/close race is detected"), I missed that there are two copies of the code I was patching: The normal version, and the version for 64-bit offsets on 32-bit kernels. Thanks to Greg KH for stumbling over this while doing the stable backport...

Apply exactly the same fix to the compat path for 32-bit kernels.

Affected Software

24 affected componentsFixes available
redhat/kernel<4.19.319
4.19.319
redhat/kernel<5.4.281
5.4.281
redhat/kernel<5.10.223
5.10.223
redhat/kernel<5.15.164
5.15.164
redhat/kernel<6.1.102
6.1.102
redhat/kernel<6.6.43
6.6.43
redhat/kernel<6.9.12
6.9.12
redhat/kernel<6.10.2
6.10.2
redhat/kernel<6.11
6.11
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel>=2.6.14<4.19.319
Linux Linux kernel>=4.20<5.4.281
Linux Linux kernel>=5.5<5.10.223
Linux Linux kernel>=5.11<5.15.164
Linux Linux kernel>=5.16<6.1.102
Linux Linux kernel>=6.2<6.6.43
Linux Linux kernel>=6.7<6.9.12
Linux Linux kernel>=6.10<6.10.2
Linux Linux kernel=2.6.13
Linux Linux kernel=2.6.13-rc4
Linux Linux kernel=2.6.13-rc5
Linux Linux kernel=2.6.13-rc6
Linux Linux kernel=2.6.13-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.19.319
  2. Upgrade

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

    Fixed in 5.4.281
  3. Upgrade

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

    Fixed in 5.10.223
  4. Upgrade

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

    Fixed in 5.15.164
  5. Upgrade

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

    Fixed in 6.1.102
  6. Upgrade

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

    Fixed in 6.6.43
  7. Upgrade

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

    Fixed in 6.9.12
  8. Upgrade

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

    Fixed in 6.10.2
  9. Upgrade

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

    Fixed in 6.11
  10. 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.27-1
  11. Upgrade

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

    Fixed in 6.1.129-1~deb11u1
  12. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 3cad1bc01041

Event History

Jul 29, 2024
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
Description
Data Sourced
via NVD·02:15 PM
RemedySeverityWeaknessAffected Software
Apr 27, 2025
Data Sourced
via Ubuntu·12:31 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-41020?

CVE-2024-41020 has been classified with a medium severity level due to its potential impact on users of affected Linux kernel versions.

2

How do I fix CVE-2024-41020?

To address CVE-2024-41020, users should upgrade to the recommended kernel versions specified for Red Hat or Debian.

3

What Linux kernel versions are affected by CVE-2024-41020?

CVE-2024-41020 affects several versions, including Red Hat kernel versions up to 4.19.319, 5.4.281, 5.10.223, 5.15.164, 6.1.102, 6.6.43, 6.9.12, 6.10.2, 6.11 and Debian Linux kernel variants.

4

What type of vulnerability is CVE-2024-41020?

CVE-2024-41020 is a race condition vulnerability in the file lock handling of the Linux kernel.

5

Is CVE-2024-41020 actively being exploited?

There is currently no public information indicating that CVE-2024-41020 is actively being exploited in the wild.

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