Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 fpga:bridge 模块存在引用计数错误。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1211 · Exploitation for Stealth

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 21aeda950c5f84a8351b862816d832120b217a9b< 18dc8366abb6cadcb77668b1a16434654e355d49 affected
21aeda950c5f84a8351b862816d832120b217a9b< d7c4081c54a1d4068de9440957303a76f9e5c95b affected
21aeda950c5f84a8351b862816d832120b217a9b< 6896b6b2e2d9ec4e1b0acb4c1698a75a4b34d125 affected
21aeda950c5f84a8351b862816d832120b217a9b< 1da11f822042eb6ef4b6064dc048f157a7852529 affected
4.10 affected
< 4.10 unaffected
6.1.120≤ 6.1.* unaffected
6.6.33≤ 6.6.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-36479

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
fpga: bridge: add owner module and take its refcount
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 fpga:bridge 模块存在引用计数错误。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 21aeda950c5f84a8351b862816d832120b217a9b ~ 18dc8366abb6cadcb77668b1a16434654e355d49 -
Linux Linux 4.10 -

II. Public POCs for CVE-2024-36479

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-36479

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-36479 (1)

Other References for CVE-2024-36479 (3)

Same Patch Batch · Linux · 2024-06-24 · 14 CVEs total

CVE-2024-38384 7.8 HIGH blk-cgroup: fix list corruption from reorder of WRITE ->lqueued
CVE-2024-38663 7.8 HIGH blk-cgroup: fix list corruption from resetting io stat
CVE-2024-39292 7.8 HIGH um: Add winch to winch_handlers before registering winch IRQ
CVE-2024-32936 7.8 HIGH media: ti: j721e-csi2rx: Fix races while restarting DMA
CVE-2024-34027 7.8 HIGH f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
CVE-2024-33847 7.1 HIGH f2fs: compress: don't allow unaligned truncation on released compress inode
CVE-2024-38664 drm: zynqmp_dpsub: Always register bridge
CVE-2024-38667 riscv: prevent pt_regs corruption for secondary idle threads
CVE-2024-39291 drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()
CVE-2024-34030 PCI: of_property: Return error for int_map allocation failure
CVE-2024-35247 fpga: region: add owner module and take its refcount
CVE-2024-37021 fpga: manager: add owner module and take its refcount
CVE-2024-37026 drm/xe: Only use reserved BCS instances for usm migrate exec queue

IV. Related Vulnerabilities

V. Comments for CVE-2024-36479

No comments yet


Leave a comment