Menu

Star on GitHub · 3.3k

CVE-2024-56717

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic() Packets injected by the CPU should have a SRC_POR…

Published Dec 29, 2024EPSS 0.45%

Overview

CVE-2024-56717 is a high-severity vulnerability. It was published on December 29, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

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

net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()

Packets injected by the CPU should have a SRC_PORT field equal to the

CPU port module index in the Analyzer block (ocelot->num_phys_ports).

The blamed commit copied the ocelot_ifh_set_basic() call incorrectly

from ocelot_xmit_common() in net/dsa/tag_ocelot.c. Instead of calling

with "x", it calls with BIT_ULL(x), but the field is not a port mask,

but rather a single port index.

[ side note: this is the technical debt of code duplication :( ]

The error used to be silent and doesn't appear to have other

user-visible manifestations, but with new changes in the packing

library, it now fails loudly as follows:

------------[ cut here ]------------

Cannot store 0x40 inside bits 46-43 - will truncate

sja1105 spi2.0: xmit timed out

WARNING: CPU: 1 PID: 102 at lib/packing.c:98 __pack+0x90/0x198

sja1105 spi2.0: timed out polling for tstamp

CPU: 1

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-56717?

CVE-2024-56717 is a high-severity vulnerability. It was published on December 29, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-56717?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-56717?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56717?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56717 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →