CVE-2023-53507

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53507
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53507.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53507
Downstream
Related
Published
2025-10-01T11:45:57.310Z
Modified
2025-11-20T01:41:11.321693Z
Summary
net/mlx5: Unregister devlink params in case interface is down
Details

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

net/mlx5: Unregister devlink params in case interface is down

Currently, in case an interface is down, mlx5 driver doesn't unregister its devlink params, which leads to this WARN[1]. Fix it by unregistering devlink params in that case as well.

[1] [ 295.244769 ] WARNING: CPU: 15 PID: 1 at net/core/devlink.c:9042 devlinkfree+0x174/0x1fc [ 295.488379 ] CPU: 15 PID: 1 Comm: shutdown Tainted: G S OE 5.15.0-1017.19.3.g0677e61-bluefield #g0677e61 [ 295.509330 ] Hardware name: https://www.mellanox.com BlueField SoC/BlueField SoC, BIOS 4.2.0.12761 Jun 6 2023 [ 295.543096 ] pc : devlinkfree+0x174/0x1fc [ 295.551104 ] lr : mlx5devlinkfree+0x18/0x2c [mlx5core] [ 295.561816 ] sp : ffff80000809b850 [ 295.711155 ] Call trace: [ 295.716030 ] devlinkfree+0x174/0x1fc [ 295.723346 ] mlx5devlinkfree+0x18/0x2c [mlx5core] [ 295.733351 ] mlx5sfdevremove+0x98/0xb0 [mlx5core] [ 295.743534 ] auxiliarybusremove+0x2c/0x50 [ 295.751893 ] _devicereleasedriver+0x19c/0x280 [ 295.761120 ] devicereleasedriver+0x34/0x50 [ 295.769649 ] busremovedevice+0xdc/0x170 [ 295.777656 ] devicedel+0x17c/0x3a4 [ 295.784620 ] mlx5sfdevremove+0x28/0xf0 [mlx5core] [ 295.794800 ] mlx5sfdevtabledestroy+0x98/0x110 [mlx5core] [ 295.806375 ] mlx5unload+0x34/0xd0 [mlx5core] [ 295.815339 ] mlx5unloadone+0x70/0xe4 [mlx5core] [ 295.824998 ] shutdown+0xb0/0xd8 [mlx5core] [ 295.833439 ] pcideviceshutdown+0x3c/0xa0 [ 295.841651 ] deviceshutdown+0x170/0x340 [ 295.849486 ] _dosysreboot+0x1f4/0x2a0 [ 295.857322 ] _arm64sysreboot+0x2c/0x40 [ 295.865329 ] invokesyscall+0x78/0x100 [ 295.872817 ] el0svccommon.constprop.0+0x54/0x184 [ 295.882392 ] doel0svc+0x30/0xac [ 295.889008 ] el0svc+0x48/0x160 [ 295.895278 ] el0t64synchandler+0xa4/0x130 [ 295.903807 ] el0t64sync+0x1a4/0x1a8 [ 295.911120 ] ---[ end trace 4f1d2381d00d9dce ]---

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe578cbb2f053f465e19d2671a523dcd01953888
Fixed
471f59b3455314f0cafacf3096453727876355a9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe578cbb2f053f465e19d2671a523dcd01953888
Fixed
53d737dfd3d7b023fa9fa445ea3f3db0ac9da402

Affected versions

v6.*

v6.3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.4.1
v6.4.2
v6.4.3
v6.4.4
v6.4.5
v6.4.6
v6.4.7
v6.4.8
v6.4.9
v6.5-rc1
v6.5-rc2

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.10