CVE-2024-35247: fpga: region: add owner module and take its refcount

Published Jun 24, 2024
·
Updated

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

fpga: region: add owner module and take its refcount

The current implementation of the fpga region assumes that the low-level module registers a driver for the parent device and uses its owner pointer to take the module's refcount. This approach is problematic since it can lead to a null pointer dereference while attempting to get the region during programming if the parent device does not have a driver.

To address this problem, add a module owner pointer to the fpgaregion struct and use it to take the module's refcount. Modify the functions for registering a region to take an additional owner module parameter and rename them to avoid conflicts. Use the old function names for helper macros that automatically set the module that registers the region as the owner. This ensures compatibility with existing low-level control modules and reduces the chances of registering a region without setting the owner.

Also, update the documentation to keep it consistent with the new interface for registering an fpga region.

Affected Software

6 affected componentsFixes available
Linux Linux kernel>=4.10<5.10.219
Linux Linux kernel>=5.11<5.15.161
Linux Linux kernel>=5.16<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jun 24, 2024
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
Description
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
May 5, 2025
Data Sourced
via Ubuntu·05:13 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35247?

CVE-2024-35247 is classified with a severity level that reflects potential impacts on system integrity and availability.

2

What versions of the Linux kernel are affected by CVE-2024-35247?

CVE-2024-35247 affects multiple versions of the Linux kernel between 4.10 and 6.6.33.

3

How do I fix CVE-2024-35247?

To address CVE-2024-35247, users should update to fixed versions of the Linux kernel specified as 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

4

What is the nature of CVE-2024-35247 vulnerability?

CVE-2024-35247 involves a flaw in the FPGA region implementation within the Linux kernel related to driver ownership and reference counting.

5

Is there a known exploit for CVE-2024-35247?

As of now, there are no publicly disclosed exploits associated with CVE-2024-35247.

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