OSV 1.4.0 · unreviewed · 修改于 2026-08-28 17:31
发布时间
2026-08-28 17:31
GitHub 审查时间
—
NVD 发布时间
2026-08-28 16:16
源文件
advisories/unreviewed/2026/08/GHSA-497p-j4gh-26mw/GHSA-497p-j4gh-26mw.json
In the Linux kernel, the following vulnerability has been resolved:
net: enetc: fix potential divide-by-zero when num_vsi is zero
For i.MX94 series, all the standalone ENETCs do not support SR-IOV, so pf->caps.num_vsi is zero. This leads to a divide-by-zero in enetc4_default_rings_allocation() when distributing rings among PF and VFs.
Division by zero is undefined behavior in C. On ARM64, the UDIV/SDIV instructions silently return zero rather than raising an exception, so the issue does not cause a visible crash. However, relying on this behavior is incorrect and poses a cross-platform compatibility risk.
Add an explicit check for num_vsi == 0 and return early after the PF's rings have been configured.
该公告没有提供结构化的受影响软件包信息。