CVE-2024-36479: fpga: bridge: add owner module and take its refcount

Published Jun 24, 2024
·
Updated

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

fpga: bridge: add owner module and take its refcount

The current implementation of the fpga bridge 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 bridge if the parent device does not have a driver.

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

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

Other changes: opportunistically move putdevice() from fpgabridgeget() to fpgabridgeget() and offpgabridgeget() to improve code clarity since the bridge device is taken in these functions.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=4.10<6.1.120
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Jun 24, 2024
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-36479?

CVE-2024-36479 has been classified as a vulnerability within the Linux kernel affecting the fpga bridge.

2

How do I fix CVE-2024-36479?

To remediate CVE-2024-36479, it is recommended to upgrade to a patched version of the Linux kernel, specifically 6.1.123-1 or 6.12.11-1.

3

Which versions of Linux are affected by CVE-2024-36479?

CVE-2024-36479 affects various versions of the Linux kernel including those between 4.10 and 6.1.120, and also between 6.2 and 6.6.33 and between 6.7 and 6.9.4.

4

What components does CVE-2024-36479 impact?

CVE-2024-36479 impacts the fpga bridge component of the Linux kernel, specifically the implementation that deals with driver registration.

5

Is CVE-2024-36479 already patched?

Yes, CVE-2024-36479 has been resolved with patches included in newer releases of the Linux kernel.

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