# CVE-2023-53632: net/mlx5e: Take RTNL lock when needed before calling xdp\_set\_features()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2025-10-07T15:19:34.970Z
- **Modified:** 2026-06-17T06:45:45.530Z

## Who should check

- Anyone running Linux \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 16b7775ae4389dd1e885732ea610321c64284e5f; \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 72cc654970658e88a1cdea08f06b11c218efa4da
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Take RTNL lock when needed before calling xdp\_set\_features()

Hold RTNL lock when calling xdp\_set\_features() with a registered netdev,
as the call triggers the netdev notifiers. This could happen when
switching from uplink rep to nic profile for example.

This resolves the following call trace:

RTNL: assertion failed at net/core/dev.c (1953)
WARNING: CPU: 6 PID: 112670 at net/core/dev.c:1953 call\_netdevice\_notifiers\_info+0x7c/0x80
Modules linked in: sch\_mqprio sch\_mqprio\_lib act\_tunnel\_key act\_mirred act\_skbedit cls\_matchall nfnetlink\_cttimeout act\_gact cls\_flower sch\_ingress bonding ib\_umad ip\_gre rdma\_ucm mlx5\_vfio\_pci ipip tunnel4 ip6\_gre gre mlx5\_ib vfio\_pci vfio\_pci\_core vfio\_iommu\_type1 ib\_uverbs vfio mlx5\_core ib\_ipoib geneve nf\_tables ip6\_tunnel tunnel6 iptable\_raw openvswitch nsh rpcrdma ib\_iser libiscsi scsi\_transport\_iscsi rdma\_cm iw\_cm ib\_cm ib\_core xt\_conntrack xt\_MASQUERADE nf\_conntrack\_netlink nfnetlink xt\_addrtype iptable\_nat nf\_nat br\_netfilter rpcsec\_gss\_krb5 auth\_rpcgss oid\_registry overlay zram zsmalloc fuse \[last unloaded: ib\_uverbs\]
CPU: 6 PID: 112670 Comm: devlink Not tainted 6.4.0-rc7\_for\_upstream\_min\_debug\_2023\_06\_28\_17\_02 \#1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
RIP: 0010:call\_netdevice\_notifiers\_info+0x7c/0x80
Code: 90 ff 80 3d 2d 6b f7 00 00 75 c5 ba a1 07 00 00 48 c7 c6 e4 ce 0b 82 48 c7 c7 c8 f4 04 82 c6 05 11 6b f7 00 01 e8 a4 7c 8e ff \<0f\> 0b eb a2 0f 1f 44 00 00 55 48 89 e5 41 54 48 83 e4 f0 48 83 ec
RSP: 0018:ffff8882a21c3948 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffffff82e6f880 RCX: 0000000000000027
RDX: ffff88885f99b5c8 RSI: 0000000000000001 RDI: ffff88885f99b5c0
RBP: 0000000000000028 R08: ffff88887ffabaa8 R09: 0000000000000003
R10: ffff88887fecbac0 R11: ffff88887ff7bac0 R12: ffff8882a21c3968
R13: ffff88811c018940 R14: 0000000000000000 R15: ffff8881274401a0
FS:  00007fe141c81800(0000) GS:ffff88885f980000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f787c28b948 CR3: 000000014bcf3005 CR4: 0000000000370ea0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 ? \_\_warn+0x79/0x120
 ? call\_netdevice\_notifiers\_info+0x7c/0x80
 ? report\_bug+0x17c/0x190
 ? handle\_bug+0x3c/0x60
 ? exc\_invalid\_op+0x14/0x70
 ? asm\_exc\_invalid\_op+0x16/0x20
 ? call\_netdevice\_notifiers\_info+0x7c/0x80
 ? call\_netdevice\_notifiers\_info+0x7c/0x80
 call\_netdevice\_notifiers+0x2e/0x50
 mlx5e\_set\_xdp\_feature+0x21/0x50 \[mlx5\_core\]
 mlx5e\_nic\_init+0xf1/0x1a0 \[mlx5\_core\]
 mlx5e\_netdev\_init\_profile+0x76/0x110 \[mlx5\_core\]
 mlx5e\_netdev\_attach\_profile+0x1f/0x90 \[mlx5\_core\]
 mlx5e\_netdev\_change\_profile+0x92/0x160 \[mlx5\_core\]
 mlx5e\_netdev\_attach\_nic\_profile+0x1b/0x30 \[mlx5\_core\]
 mlx5e\_vport\_rep\_unload+0xaa/0xc0 \[mlx5\_core\]
 \_\_esw\_offloads\_unload\_rep+0x52/0x60 \[mlx5\_core\]
 mlx5\_esw\_offloads\_rep\_unload+0x52/0x70 \[mlx5\_core\]
 esw\_offloads\_unload\_rep+0x34/0x70 \[mlx5\_core\]
 esw\_offloads\_disable+0x2b/0x90 \[mlx5\_core\]
 mlx5\_eswitch\_disable\_locked+0x1b9/0x210 \[mlx5\_core\]
 mlx5\_devlink\_eswitch\_mode\_set+0xf5/0x630 \[mlx5\_core\]
 ? devlink\_get\_from\_attrs\_lock+0x9e/0x110
 devlink\_nl\_cmd\_eswitch\_set\_doit+0x60/0xe0
 genl\_family\_rcv\_msg\_doit.isra.0+0xc2/0x110
 genl\_rcv\_msg+0x17d/0x2b0
 ? devlink\_get\_from\_attrs\_lock+0x110/0x110
 ? devlink\_nl\_cmd\_eswitch\_get\_doit+0x290/0x290
 ? devlink\_pernet\_pre\_exit+0xf0/0xf0
 ? genl\_family\_rcv\_msg\_doit.isra.0+0x110/0x110
 netlink\_rcv\_skb+0x54/0x100
 genl\_rcv+0x24/0x40
 netlink\_unicast+0x1f6/0x2c0
 netlink\_sendmsg+0x232/0x4a0
 sock\_sendmsg+0x38/0x60
 ? \_copy\_from\_user+0x2a/0x60
 \_\_sys\_sendto+0x110/0x160
 ? \_\_count\_memcg\_events+0x48/0x90
 ? handle\_mm\_fault+0x161/0x260
 ? do\_user\_addr\_fault+0x278/0x6e0
 \_\_x64\_sys\_sendto+0x20/0x30
 do\_syscall\_64+0x3d/0x90
 entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0
RIP: 0033
---truncated---

## Affected and fixed versions

- Linux: \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 16b7775ae4389dd1e885732ea610321c64284e5f; \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 72cc654970658e88a1cdea08f06b11c218efa4da (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 72cc654970658e88a1cdea08f06b11c218efa4da or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53632. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53632.md
Affected: Linux >= 4d5ab0ad964df178beba031b89429a601893ff61, < 16b7775ae4389dd1e885732ea610321c64284e5f; >= 4d5ab0ad964df178beba031b89429a601893ff61, < 72cc654970658e88a1cdea08f06b11c218efa4da; Linux 6.3
Fixed in: Linux 16b7775ae4389dd1e885732ea610321c64284e5f, Linux 72cc654970658e88a1cdea08f06b11c218efa4da

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

## FAQ

### Is CVE-2023-53632 being exploited?

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

### How serious is CVE-2023-53632?

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

### Which versions are affected by CVE-2023-53632?

Linux \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 16b7775ae4389dd1e885732ea610321c64284e5f; \>= 4d5ab0ad964df178beba031b89429a601893ff61, \< 72cc654970658e88a1cdea08f06b11c218efa4da; Linux 6.3.

### Is there a fix for CVE-2023-53632?

Yes. Fixed in Linux 16b7775ae4389dd1e885732ea610321c64284e5f, Linux 72cc654970658e88a1cdea08f06b11c218efa4da. Upgrade Linux to 72cc654970658e88a1cdea08f06b11c218efa4da or later.

### How do I check if I'm affected by CVE-2023-53632?

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.

## References

- patch: <https://git.kernel.org/stable/c/16b7775ae4389dd1e885732ea610321c64284e5f>
- patch: <https://git.kernel.org/stable/c/72cc654970658e88a1cdea08f06b11c218efa4da>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53632>

HTML: <https://flawdb.com/CVE-2023-53632> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53632>
