Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-46857

MEDIUM 5.5EPSS 15%

net/mlx5: Fix bridge mode operations when there are no VFs

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 52c4beb79e095e0631b5cac46ed48a2aefe51985; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 65feee671e37f3b6eda0b6af28f204b5bcf7fa50; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 505ae01f75f839b54329164bbfecf24cc1361b31; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < b1d305abef4640af1b4f1b4774d513cd81b10cfc
  • Anyone running Linux 5.1

Vulnerability facts

Affected
Linux >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 52c4beb79e095e0631b5cac46ed48a2aefe51985; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 65feee671e37f3b6eda0b6af28f204b5bcf7fa50; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 505ae01f75f839b54329164bbfecf24cc1361b31; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < b1d305abef4640af1b4f1b4774d513cd81b10cfc; Linux 5.1
Fixed in
Linux 52c4beb79e095e0631b5cac46ed48a2aefe51985, Linux 65feee671e37f3b6eda0b6af28f204b5bcf7fa50, Linux 505ae01f75f839b54329164bbfecf24cc1361b31
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-476
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 52c4beb79e095e0631b5cac46ed48a2aefe51985; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 65feee671e37f3b6eda0b6af28f204b5bcf7fa50; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 505ae01f75f839b54329164bbfecf24cc1361b31; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < b1d305abef4640af1b4f1b4774d513cd81b10cfc—cvelist
Linux5.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2024-46857.md
Affected: Linux >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 52c4beb79e095e0631b5cac46ed48a2aefe51985; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 65feee671e37f3b6eda0b6af28f204b5bcf7fa50; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 505ae01f75f839b54329164bbfecf24cc1361b31; >= 4b89251de024fb85329e4cb…
Fixed in: Linux 52c4beb79e095e0631b5cac46ed48a2aefe51985, Linux 65feee671e37f3b6eda0b6af28f204b5bcf7fa50, Linux 505ae01f75f839b54329164bbfecf24cc1361b31

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.

References

FAQ

Is CVE-2024-46857 being exploited?

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

How serious is CVE-2024-46857?

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

Which versions are affected by CVE-2024-46857?

Linux >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 52c4beb79e095e0631b5cac46ed48a2aefe51985; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 65feee671e37f3b6eda0b6af28f204b5bcf7fa50; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < 505ae01f75f839b54329164bbfecf24cc1361b31; >= 4b89251de024fb85329e4cbd8fbea551ae6c665c, < b1d305abef4640af1b4f1b4774d513cd81b10cfc; Linux 5.1.

Is there a fix for CVE-2024-46857?

Yes. Fixed in Linux 52c4beb79e095e0631b5cac46ed48a2aefe51985, Linux 65feee671e37f3b6eda0b6af28f204b5bcf7fa50, Linux 505ae01f75f839b54329164bbfecf24cc1361b31. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors