Executive Summary

Informations
Name CVE-2024-46857 First vendor Publication 2024-09-27
Vendor Cve Last vendor Modification 2024-10-01

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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] [ 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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46857

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-476 NULL Pointer Dereference

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3678

Sources (Detail)

https://git.kernel.org/stable/c/505ae01f75f839b54329164bbfecf24cc1361b31
https://git.kernel.org/stable/c/52c4beb79e095e0631b5cac46ed48a2aefe51985
https://git.kernel.org/stable/c/65feee671e37f3b6eda0b6af28f204b5bcf7fa50
https://git.kernel.org/stable/c/b1d305abef4640af1b4f1b4774d513cd81b10cfc
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Date Informations
2025-03-29 03:40:52
  • Multiple Updates
2025-03-28 13:45:13
  • Multiple Updates
2025-03-28 03:18:55
  • Multiple Updates
2025-03-19 03:14:14
  • Multiple Updates
2025-03-18 03:27:11
  • Multiple Updates
2025-03-14 03:14:27
  • Multiple Updates
2025-03-06 14:10:59
  • Multiple Updates
2025-02-22 03:24:34
  • Multiple Updates
2025-01-08 03:05:34
  • Multiple Updates
2025-01-07 03:05:07
  • Multiple Updates
2024-12-25 03:03:44
  • Multiple Updates
2024-12-12 03:06:41
  • Multiple Updates
2024-11-23 03:03:37
  • Multiple Updates
2024-11-22 03:01:46
  • Multiple Updates
2024-11-20 03:00:05
  • Multiple Updates
2024-11-14 03:00:24
  • Multiple Updates
2024-11-09 03:00:24
  • Multiple Updates
2024-10-26 02:57:46
  • Multiple Updates
2024-10-25 02:59:38
  • Multiple Updates
2024-10-23 02:58:51
  • Multiple Updates
2024-10-02 21:27:29
  • Multiple Updates
2024-10-02 00:27:38
  • Multiple Updates
2024-09-30 17:27:26
  • Multiple Updates
2024-09-27 17:27:23
  • First insertion