CVE-2022-49404

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49404
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49404.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49404
Downstream
Related
Published
2025-02-26T02:12:30.123Z
Modified
2025-11-28T02:34:46.811712Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
RDMA/hfi1: Fix potential integer multiplication overflow errors
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/hfi1: Fix potential integer multiplication overflow errors

When multiplying of different types, an overflow is possible even when storing the result in a larger type. This is because the conversion is done after the multiplication. So arithmetic overflow and thus in incorrect value is possible.

Correct an instance of this in the inter packet delay calculation. Fix by ensuring one of the operands is u64 which will promote the other to u64 as well ensuring no overflow.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49404.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7724105686e718ac476a6ad3304fea2fbcfcffde
Fixed
252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a
Fixed
a89cb7ddf6a89bab6012e19da38b7cdb26175c19
Fixed
79c164e61f818054cd6012e9035701840d895c51
Fixed
8858284dd74906fa00f04f0252c75df4893a7959
Fixed
31dca00d0cc9f4133320d72eb7e3720badc6d6e6
Fixed
3f09ec80f115d2875d747ed28adc1773037e0f8b
Fixed
06039d8afefdbac05bcea5f397188407eba2996d
Fixed
ef5ab2e48a5f9960e2352332b7cdb7064bb49032
Fixed
f93e91a0372c922c20d5bee260b0f43b4b8a1bee

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.9.318
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.283
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.247
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.198
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.121
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.46
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.14
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.3