CVE-2023-53079

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53079
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53079.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53079
Related
Published
2025-05-02T16:15:26Z
Modified
2025-05-05T22:58:57.832358Z
Summary
[none]
Details

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

net/mlx5: Fix steering rules cleanup

vport's mc, uc and multicast rules are not deleted in teardown path when EEH happens. Since the vport's promisc settings(uc, mc and all) in firmware are reset after EEH, mlx5 driver will try to delete the above rules in the initialization path. This cause kernel crash because these software rules are no longer valid.

Fix by nullifying these rules right after delete to avoid accessing any dangling pointers.

Call Trace: _listdelentryvalid+0xcc/0x100 (unreliable) treeputnode+0xf4/0x1b0 [mlx5core] treeremovenode+0x30/0x70 [mlx5core] mlx5delflowrules+0x14c/0x1f0 [mlx5core] eswapplyvportrxmode+0x10c/0x200 [mlx5core] eswupdatevportrxmode+0xb4/0x180 [mlx5core] eswvportchangehandlelocked+0x1ec/0x230 [mlx5core] eswenablevport+0x130/0x260 [mlx5core] mlx5eswitchenablesriov+0x2a0/0x2f0 [mlx5core] mlx5deviceenablesriov+0x74/0x440 [mlx5core] mlx5loadone+0x114c/0x1550 [mlx5core] mlx5pciresume+0x68/0xf0 [mlx5core] eehreportresume+0x1a4/0x230 eehpedevtraverse+0x98/0x170 eehhandlenormalevent+0x3e4/0x640 eehhandleevent+0x4c/0x370 eeheventhandler+0x14c/0x210 kthread+0x168/0x1b0 retfromkernel_thread+0x5c/0x84

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.178-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1
5.10.127-1
5.10.127-2~bpo10+1
5.10.127-2
5.10.136-1
5.10.140-1
5.10.148-1
5.10.149-1
5.10.149-2
5.10.158-1
5.10.158-2
5.10.162-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}