CVE-2024-36479 Details
Description
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 fpga_bridge 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 put_device() from __fpga_bridge_get() to fpga_bridge_get() and of_fpga_bridge_get() to improve code clarity since the bridge device is taken in these functions.
A vulnerability in the Linux kernel's FPGA bridge implementation can lead to a null pointer dereference. This issue arises because the current design assumes that a low-level module will register a driver for the parent device, allowing the bridge to reference the module's owner for its reference count. If no driver is registered, the bridge cannot be properly accessed, potentially causing a crash. The vulnerability affects the Linux kernel's FPGA bridge framework, specifically in versions prior to the latest stable update.
Users can upgrade to the latest version of the Linux kernel that includes the patch for this vulnerability. For Debian 11, this update is available in the linux-6.1 package version 6.1.6.1.128-1~deb11u1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.10, < 6.1.120 >= 6.2, < 6.6.33 >= 6.7, < 6.9.4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Feb 3, 2025 | Initial Analysis | [email protected] |
| Dec 14, 2024 | CVE Modified | kernel.org |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 24, 2024 | New CVE Received | kernel.org |