CVE-2022-40307: Race Condition

Published Sep 9, 2022
·
Updated

An issue was discovered in the Linux kernel through 5.19.8. drivers/firmware/efi/capsule-loader.c has a race condition with a resultant use-after-free.

Affected Software

4 affected componentsFixes available
Linux Linux kernel<=5.19.8
Debian Debian Linux=10.0
Debian Debian Linux=11.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

Sep 9, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:11 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:02 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-40307?

CVE-2022-40307 is classified as a medium severity vulnerability due to the potential for a use-after-free condition in the Linux kernel.

2

How do I fix CVE-2022-40307?

To fix CVE-2022-40307, update the Linux kernel to a version newer than 5.19.8 or apply the appropriate patches provided by your Linux distribution.

3

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

CVE-2022-40307 affects the Linux kernel versions up to and including 5.19.8.

4

Is Debian Linux affected by CVE-2022-40307?

Yes, Debian Linux versions 10.0 and 11.0 are vulnerable to CVE-2022-40307 before applying the necessary updates.

5

What is a use-after-free vulnerability in CVE-2022-40307?

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, potentially leading to arbitrary code execution.

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