CVE-2024-56717: Linux kernel · net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:55 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that corrects the incorrect SRC_PORT field setting in the ocelot_ifh_set_basic() function. Users should apply the official Linux kernel patch that addresses this issue. Since this is a kernel driver bug, updating to a kernel version including this fix is the recommended remediation. No additional mitigation steps are indicated.
Description
CVE-2024-56717 is a medium-severity vulnerability in the Linux kernel's mscc ocelot driver. It involves an incorrect setting of the IFH SRC_PORT field in the ocelot_ifh_set_basic() function, where a port index was mistakenly treated as a port mask. This flaw caused packet injection by the CPU to use an incorrect source port value, leading to errors and timeouts in packet transmission. The issue was silent previously but became apparent with recent changes in the packing library, causing kernel warnings and transmission failures. The vulnerability affects the ocelot switchdev driver and the felix secondary DSA tag protocol (ocelot-8021q).
References
- nvd.nist.gov/vuln/detail/CVE-2024-56717 (opens in a new tab)
- git.kernel.org/stable/c/2d5df3a680ffdaf606baa10636bdb1daf757832e (opens in a new tab)
- git.kernel.org/stable/c/2f3c62ffe88116cd2a39cd73e01103535599970f (opens in a new tab)
- git.kernel.org/stable/c/59c4ca8d8d7918eb6e2df91d2c254827264be309 (opens in a new tab)
- git.kernel.org/stable/c/a8836eae3288c351acd3b2743d2fad2a4ee2bd56 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)