Skip to main content
Network Thinking Solutions Logo

CVE-2024-42142

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: E-switch, Create ingress ACL when needed Currently, ingress acl is used for three features.

All CVEs
CVE-2024-42142Published 7/30/2024

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: E-switch, Create ingress ACL when needed Currently, ingress acl is used for three features.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: E-switch, Create ingress ACL when needed Currently, ingress acl is used for three features. It is created only when vport metadata match and prio tag are enabled. But active-backup lag mode also uses it. It is independent of vport metadata match and prio tag. And vport metadata match can be disabled using the following devlink command: # devlink dev param set pci/0000:08:00.0 name esw_port_metadata \ value false cmode runtime If ingress acl is not created, will hit panic when creating drop rule for active-backup lag mode. If always create it, there will be about 5% performance degradation. Fix it by creating ingress acl when needed. If esw_port_metadata is true, ingress acl exists, then create drop rule using existing ingress acl. If esw_port_metadata is false, create ingress acl and then create drop rule.

Published
7/30/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.18, < 6.1.98

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.39

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.9

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1749c4c51c16e3e078faae0a876d01bafb187a74, < bc3ff8d3c05044de57865ebbb78cca8f7da3e595

Verify advisory

Source
Linux
Linux
≥ 1749c4c51c16e3e078faae0a876d01bafb187a74, < 3e3551f8702978cd2221d2614ca6d6727e785324

Verify advisory

Source
Linux
Linux
≥ 1749c4c51c16e3e078faae0a876d01bafb187a74, < 83bc1a129f7fd0d7d05036ceb7ee69102624e320

Verify advisory

Source
Linux
Linux
≥ 1749c4c51c16e3e078faae0a876d01bafb187a74, < b20c2fb45470d0c7a603613c9cfa5d45720e17f2

Verify advisory

Source
Linux
Linux
5.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.