Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56717

7.5 · HIGH
Published Dec 29, 2024 linux EPSS 0.45% (37th pctl)

Overview

CVE-2024-56717 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.1.107, < 6.1.122 Affected

Frequently Asked Questions

What is CVE-2024-56717?

CVE-2024-56717 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2024-56717 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.