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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-24 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-35247, DEBIAN-CVE-2024-35247
- Record: https://cvemate.com/vulnerability/CVE-2024-35247 · JSON: https://cvemate.com/vulnerability/CVE-2024-35247/json

## Description

```text
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 fpga_region
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.228%, percentile 14.526%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 131)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-121.131 \| \< 6.8.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1069.75 \| \< 6.8.0-1015.16
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1015.16~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1069.75+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1072.81 \| \< 6.8.0-1014.16
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 23)

- <https://git.kernel.org/stable/c/26e6e25d742e29885cf44274fcf6b744366c4702>
- <https://git.kernel.org/stable/c/9b4eee8572dcf82b2ed17d9a328c7fb87df2f0e8>
- <https://git.kernel.org/stable/c/75a001914a8d2ccdcbe4b8cc7e94ac71d0e66093>
- <https://git.kernel.org/stable/c/4d7d12b643c00e7eea51b49a60a2ead182633ec8>
- <https://git.kernel.org/stable/c/2279c09c36165ccded4d506d11a7714e13b56019>
- <https://git.kernel.org/stable/c/b7c0e1ecee403a43abc89eb3e75672b01ff2ece9>
- <https://ubuntu.com/security/CVE-2024-35247>
- <https://www.cve.org/CVERecord?id=CVE-2024-35247>
- <https://git.kernel.org/linus/b7c0e1ecee403a43abc89eb3e75672b01ff2ece9>
- <https://ubuntu.com/security/notices/USN-6999-1>
- <https://ubuntu.com/security/notices/USN-7004-1>
- <https://ubuntu.com/security/notices/USN-7005-1>
- <https://ubuntu.com/security/notices/USN-7007-1>
- <https://ubuntu.com/security/notices/USN-7008-1>
- <https://ubuntu.com/security/notices/USN-7005-2>
- <https://ubuntu.com/security/notices/USN-7009-1>
- <https://ubuntu.com/security/notices/USN-7019-1>
- <https://ubuntu.com/security/notices/USN-7007-2>
- <https://ubuntu.com/security/notices/USN-6999-2>
- <https://ubuntu.com/security/notices/USN-7007-3>

---

Data as of 2026-12-05T04:02:47.528Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
