MTIby Motiontic
Colour theme
VulnerabilityCVE-2021-47159WID-SEC-W-2024-0699:CVE-2021-47159

net: dsa: fix a crash if ->get_sset_count() fails

Not on CISA KEV
  • Overview

Summary

In the Linux kernel, the following vulnerability has been resolved: net: dsa: fix a crash if ->get_sset_count() fails If ds->ops->get_sset_count() fails then it "count" is a negative error code such as -EOPNOTSUPP. Because "i" is an unsigned int, the negative error code is type promoted to a very

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)