Null Pointer Dereference Vulnerability in Linux Kernel's FPGA Bridge

linux Updated 02 Oct 2025

Summary

24/06/2024
N/A
No i
Medium
5.5

CVE-2024-36479: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. It supports a wide range of devices and functionalities, including Field Programmable Gate Arrays (FPGAs). The FPGA bridge is responsible for managing communication between the FPGA and the host system. This vulnerability arises from an assumption in the bridge's implementation regarding the presence of a driver for the parent device, which can lead to critical failures if not properly managed.

Vulnerability Detail

In the Linux kernel, the FPGA bridge implementation incorrectly assumes that the parent device will always have a registered driver. This assumption can lead to a null pointer dereference when attempting to access the bridge if the parent device lacks a driver. The vulnerability stems from the absence of a proper module owner pointer in the fpga_bridge struct, which is necessary for managing the module's reference count. If the reference count is not handled correctly, it can result in system instability and crashes, potentially exposing the system to further vulnerabilities.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, update the FPGA bridge implementation by adding a module owner pointer to the fpga_bridge struct. Modify the registration function for the bridge to include an additional owner module parameter. Ensure that the new implementation is compatible with existing low-level control modules. After making these changes, recompile the kernel and deploy the updated version to ensure the vulnerability is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, ensuring that all parent devices have registered drivers can mitigate the risk of encountering a null pointer dereference.

Conclusion

The CVE-2024-36479 vulnerability in the Linux kernel's FPGA bridge poses a significant risk due to potential null pointer dereferences. It is crucial for users to update their systems to the latest kernel versions to mitigate this risk and ensure system stability. Utilizing tools like Vulert can help monitor vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-36479 is a vulnerability in the Linux kernel's FPGA bridge that can lead to a null pointer dereference due to incorrect assumptions about the presence of a driver for the parent device.

If your system uses the Linux kernel with an FPGA bridge and the parent device lacks a registered driver, it may experience crashes or instability, potentially leading to further security risks.

The vulnerability affects multiple versions of the Linux kernel across Debian 11, 12, and 13, with specific fixes available for Debian 13.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without needing to sign up.

While there are no specific workarounds, ensuring that all parent devices have registered drivers can help mitigate the risk until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, update the FPGA bridge implementation by adding a module owner pointer to the fpga_bridge struct. Modify the registration function for the bridge to include an additional owner module parameter. Ensure that the new implementation is compatible with existing low-level control modules. After making these changes, recompile the kernel and deploy the updated version to ensure the vulnerability is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.