CVE-2021-47159

High

Description

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 high value and the loop will corrupt memory until the system crashes. Fix this by checking for error codes and changing the type of "i" to just int.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMar 25, 2024
First seenMar 25, 2024

How to fix

Update
  • linux linux_kernel4.19.193, 5.4.124, 5.10.42, 5.12.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.7 ≤ v < 4.19.193, 4.20 ≤ v < 5.4.124, 5.5 ≤ v < 5.10.42, 5.11 ≤ v < 5.12.9, 5.134.19.193, 5.4.124, 5.10.42, 5.12.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.