Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56717— net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于scsi:hisi_sas模块中未正确处理聚合ID,可能导致内核崩溃。

CVSS 7.5 · High EPSS 0.45% · P38

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 06bcb9032e05ad717f9fd0a6e2fd3ae7f430fa31< 59c4ca8d8d7918eb6e2df91d2c254827264be309 affected
ff7f554bbd75d5cbf00cded81d05147c6617e876< 2f3c62ffe88116cd2a39cd73e01103535599970f affected
e1b9e80236c540fa85d76e2d510d1b38e1968c5d< a8836eae3288c351acd3b2743d2fad2a4ee2bd56 affected
e1b9e80236c540fa85d76e2d510d1b38e1968c5d< 2d5df3a680ffdaf606baa10636bdb1daf757832e affected
be3a532167dd562ec38900c846e7ae6cc39aa2f1 affected
6.1.107< 6.1.122 affected
6.6.48< 6.6.68 affected
6.10.7< 6.11 affected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56717

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
Source: CVE Program / CVE List V5
Vulnerability 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 UID: 0 PID: 102 Comm: felix_xmit Tainted: G W N 6.13.0-rc1-00372-gf706b85d972d-dirty #2605 Call trace: __pack+0x90/0x198 (P) __pack+0x90/0x198 (L) packing+0x78/0x98 ocelot_ifh_set_basic+0x260/0x368 ocelot_port_inject_frame+0xa8/0x250 felix_port_deferred_xmit+0x14c/0x258 kthread_worker_fn+0x134/0x350 kthread+0x114/0x138 The code path pertains to the ocelot switchdev driver and to the felix secondary DSA tag protocol, ocelot-8021q. Here seen with ocelot-8021q. The messenger (packing) is not really to blame, so fix the original commit instead.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于scsi:hisi_sas模块中未正确处理聚合ID,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 06bcb9032e05ad717f9fd0a6e2fd3ae7f430fa31 ~ 59c4ca8d8d7918eb6e2df91d2c254827264be309 -
Linux Linux 6.11 -

II. Public POCs for CVE-2024-56717

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56717

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-56717 (4)

Same Patch Batch · Linux · 2024-12-29 · 39 CVEs total

CVE-2024-56719 10.0 CRITICAL net: stmmac: fix TSO DMA API usage causing oops
CVE-2024-56718 9.8 CRITICAL net/smc: protect link down work from execute after lgr freed
CVE-2024-56740 7.8 HIGH nfs/localio: must clear res.replen in nfs_local_read_done
CVE-2024-56709 7.8 HIGH io_uring: check if iowq is killed before queuing
CVE-2024-56715 7.8 HIGH ionic: Fix netdev notifier unregister on failure
CVE-2024-56720 7.8 HIGH bpf, sockmap: Several fixes to bpf_msg_pop_data
CVE-2024-56749 7.5 HIGH dlm: fix dlm_recover_members refcount on error
CVE-2024-56721 7.1 HIGH x86/CPU/AMD: Terminate the erratum_1386_microcode array
CVE-2024-56742 vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
CVE-2024-56729 smb: Initialize cfid->tcon before performing network ops
CVE-2024-56743 nfs_common: must not hold RCU while calling nfsd_file_put_local
CVE-2024-56745 PCI: Fix reset_method_store() memory leak
CVE-2024-56744 f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
CVE-2024-56746 fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
CVE-2024-56748 scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
CVE-2024-56747 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
CVE-2024-56750 erofs: fix blksize < PAGE_SIZE for file-backed mounts
CVE-2024-56751 ipv6: release nexthop on device removal
CVE-2024-56752 drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
CVE-2024-56753 drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module

Showing top 20 of 39 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-56717

No comments yet


Leave a comment