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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-06-24T13:56:51.367Z
- **Modified:** 2026-06-17T07:36:48.533Z

## Who should check

- Anyone running Linux \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 18dc8366abb6cadcb77668b1a16434654e355d49; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< d7c4081c54a1d4068de9440957303a76f9e5c95b; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 1da11f822042eb6ef4b6064dc048f157a7852529
- Anyone running Linux 4.10

## 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.

## Affected and fixed versions

- Linux: \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 18dc8366abb6cadcb77668b1a16434654e355d49; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< d7c4081c54a1d4068de9440957303a76f9e5c95b; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 1da11f822042eb6ef4b6064dc048f157a7852529 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 1da11f822042eb6ef4b6064dc048f157a7852529 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36479. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36479.md
Affected: Linux >= 21aeda950c5f84a8351b862816d832120b217a9b, < 18dc8366abb6cadcb77668b1a16434654e355d49; >= 21aeda950c5f84a8351b862816d832120b217a9b, < d7c4081c54a1d4068de9440957303a76f9e5c95b; >= 21aeda950c5f84a8351b862816d832120b217a9b, < 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125; >= 21aeda950c5f84a8351b862…
Fixed in: Linux 18dc8366abb6cadcb77668b1a16434654e355d49, Linux 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125, Linux 1da11f822042eb6ef4b6064dc048f157a7852529

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36479 being exploited?

There is no confirmed exploitation: CVE-2024-36479 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36479?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36479?

Linux \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 18dc8366abb6cadcb77668b1a16434654e355d49; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< d7c4081c54a1d4068de9440957303a76f9e5c95b; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125; \>= 21aeda950c5f84a8351b862816d832120b217a9b, \< 1da11f822042eb6ef4b6064dc048f157a7852529; Linux 4.10.

### Is there a fix for CVE-2024-36479?

Yes. Fixed in Linux 18dc8366abb6cadcb77668b1a16434654e355d49, Linux 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125, Linux 1da11f822042eb6ef4b6064dc048f157a7852529. Upgrade Linux to 1da11f822042eb6ef4b6064dc048f157a7852529 or later.

### How do I check if I'm affected by CVE-2024-36479?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/18dc8366abb6cadcb77668b1a16434654e355d49>
- patch: <https://git.kernel.org/stable/c/d7c4081c54a1d4068de9440957303a76f9e5c95b>
- patch: <https://git.kernel.org/stable/c/6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125>
- patch: <https://git.kernel.org/stable/c/1da11f822042eb6ef4b6064dc048f157a7852529>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36479>

HTML: <https://flawdb.com/CVE-2024-36479> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36479>
