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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-46857— net/mlx5: Fix bridge mode operations when there are no VFs

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存在安全漏洞,该漏洞源于未正确处理没有VFs的情况。

AI Predicted 5.5 Difficulty: Easy EPSS 0.21% · P10

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 4b89251de024fb85329e4cbd8fbea551ae6c665c< 52c4beb79e095e0631b5cac46ed48a2aefe51985 affected
4b89251de024fb85329e4cbd8fbea551ae6c665c< 65feee671e37f3b6eda0b6af28f204b5bcf7fa50 affected
4b89251de024fb85329e4cbd8fbea551ae6c665c< 505ae01f75f839b54329164bbfecf24cc1361b31 affected
4b89251de024fb85329e4cbd8fbea551ae6c665c< b1d305abef4640af1b4f1b4774d513cd81b10cfc affected
5.1 affected
< 5.1 unaffected
6.1.111≤ 6.1.* unaffected
6.6.52≤ 6.6.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-46857

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
net/mlx5: Fix bridge mode operations when there are no VFs
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix bridge mode operations when there are no VFs Currently, trying to set the bridge mode attribute when numvfs=0 leads to a crash: bridge link set dev eth2 hwmode vepa [ 168.967392] BUG: kernel NULL pointer dereference, address: 0000000000000030 [...] [ 168.969989] RIP: 0010:mlx5_add_flow_rules+0x1f/0x300 [mlx5_core] [...] [ 168.976037] Call Trace: [ 168.976188] <TASK> [ 168.978620] _mlx5_eswitch_set_vepa_locked+0x113/0x230 [mlx5_core] [ 168.979074] mlx5_eswitch_set_vepa+0x7f/0xa0 [mlx5_core] [ 168.979471] rtnl_bridge_setlink+0xe9/0x1f0 [ 168.979714] rtnetlink_rcv_msg+0x159/0x400 [ 168.980451] netlink_rcv_skb+0x54/0x100 [ 168.980675] netlink_unicast+0x241/0x360 [ 168.980918] netlink_sendmsg+0x1f6/0x430 [ 168.981162] ____sys_sendmsg+0x3bb/0x3f0 [ 168.982155] ___sys_sendmsg+0x88/0xd0 [ 168.985036] __sys_sendmsg+0x59/0xa0 [ 168.985477] do_syscall_64+0x79/0x150 [ 168.987273] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 168.987773] RIP: 0033:0x7f8f7950f917 (esw->fdb_table.legacy.vepa_fdb is null) The bridge mode is only relevant when there are multiple functions per port. Therefore, prevent setting and getting this setting when there are no VFs. Note that after this change, there are no settings to change on the PF interface using `bridge link` when there are no VFs, so the interface no longer appears in the `bridge link` output.
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存在安全漏洞,该漏洞源于未正确处理没有VFs的情况。
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 4b89251de024fb85329e4cbd8fbea551ae6c665c ~ 52c4beb79e095e0631b5cac46ed48a2aefe51985 -
Linux Linux 5.1 -

II. Public POCs for CVE-2024-46857

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

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

Other References for CVE-2024-46857 (4)

Same Patch Batch · Linux · 2024-09-27 · 66 CVEs total

CVE-2024-46865 9.8 CRITICAL fou: fix initialization of grc
CVE-2024-46823 8.4 HIGH kunit/overflow: Fix UB in overflow_allocation_test
CVE-2024-46831 8.4 HIGH net: microchip: vcap: Fix use-after-free error in kunit test
CVE-2024-46858 8.1 HIGH mptcp: pm: Fix uaf in __timer_delete_sync
CVE-2024-46862 8.0 HIGH ASoC: Intel: soc-acpi-intel-mtl-match: add missing empty item
CVE-2024-46866 7.8 HIGH drm/xe/client: add missing bo locking in show_meminfo()
CVE-2024-46818 7.8 HIGH drm/amd/display: Check gpio_id before used as array index
CVE-2024-46813 7.8 HIGH drm/amd/display: Check link_index before accessing dc->links[]
CVE-2024-46816 7.8 HIGH drm/amd/display: Stop amdgpu_dm initialize when link nums greater than max_links
CVE-2024-46812 7.8 HIGH drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
CVE-2024-46830 7.8 HIGH KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
CVE-2024-46834 7.8 HIGH ethtool: fail closed if we can't get max channel used in indirection tables
CVE-2024-46842 7.8 HIGH scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info
CVE-2024-46845 7.8 HIGH tracing/timerlat: Only clear timer if a kthread exists
CVE-2024-46847 7.8 HIGH mm: vmalloc: ensure vmap_block is initialised before adding to queue
CVE-2024-46850 7.8 HIGH drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct()
CVE-2024-46852 7.8 HIGH dma-buf: heaps: Fix off-by-one in CMA heap fault handler
CVE-2024-46859 7.8 HIGH platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
CVE-2024-46803 7.8 HIGH drm/amdkfd: Check debug trap enable before write dbg_ev_file
CVE-2024-46855 7.5 HIGH netfilter: nft_socket: fix sk refcount leaks

Showing top 20 of 66 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-46857

No comments yet


Leave a comment