Division by zero Affecting torvalds/linux package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-5482716
  • published26 Apr 2023
  • disclosed26 Apr 2023
  • creditYu Hao

Introduced: 26 Apr 2023

CVE-2023-31085  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

There is no fixed version for torvalds/linux.

Overview

Affected versions of this package are vulnerable to Division by zero in the do_div(sz,mtd->erasesize) method, used indirectly by the ctrl_cdev_ioctl method, when mtd->erasesize is 0.

References

CVSS Scores

version 3.1