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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef5ab2e48a5f9960e2352332b7cdb7064bb49032",
"id": "CVE-2022-49404-17916ba2",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f93e91a0372c922c20d5bee260b0f43b4b8a1bee",
"id": "CVE-2022-49404-366dbc8d",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a",
"id": "CVE-2022-49404-3e157ed8",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f09ec80f115d2875d747ed28adc1773037e0f8b",
"id": "CVE-2022-49404-4deb7da8",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@06039d8afefdbac05bcea5f397188407eba2996d",
"id": "CVE-2022-49404-509c14ef",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8858284dd74906fa00f04f0252c75df4893a7959",
"id": "CVE-2022-49404-6cccc4b9",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31dca00d0cc9f4133320d72eb7e3720badc6d6e6",
"id": "CVE-2022-49404-7b0e60a0",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@79c164e61f818054cd6012e9035701840d895c51",
"id": "CVE-2022-49404-dd99cff1",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89cb7ddf6a89bab6012e19da38b7cdb26175c19",
"id": "CVE-2022-49404-f06e9273",
"deprecated": false,
"target": {
"file": "drivers/infiniband/hw/hfi1/init.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"208685359992752735043400624560030636989",
"300478176727311837800319472266326782573",
"241470317823529737934567604774882983743",
"103093235815266254737507930895103629203"
]
}
}
]