In the Linux kernel, the following vulnerability has been resolved:
net: hns3: fix kernel crash problem in concurrent scenario
When link status change, the nic driver need to notify the roce
driver to handle this event, but at this time, the roce driver
may uninit, then cause kernel crash.
To fix the problem, when link status change, need to check
whether the roce registered, and when uninit, need to wait link
update finish.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
],
"versions": [
{
"version": "45e92b7e4e27",
"lessThan": "62b5dfb67bfa",
"status": "affected",
"versionType": "git"
},
{
"version": "45e92b7e4e27",
"lessThan": "6d0007f7b69d",
"status": "affected",
"versionType": "git"
},
{
"version": "45e92b7e4e27",
"lessThan": "689de7c3bfc7",
"status": "affected",
"versionType": "git"
},
{
"version": "45e92b7e4e27",
"lessThan": "b2c5024b771c",
"status": "affected",
"versionType": "git"
},
{
"version": "45e92b7e4e27",
"lessThan": "12cda920212a",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
],
"versions": [
{
"version": "5.1",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.1",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.162",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.95",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.35",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9.6",
"lessThanOrEqual": "6.9.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/12cda920212a49fa22d9e8b9492ac4ea013310a4
git.kernel.org/stable/c/62b5dfb67bfa8bd0301bf3442004563495f9ee48
git.kernel.org/stable/c/689de7c3bfc7d47e0eacc641c4ce4a0f579aeefa
git.kernel.org/stable/c/6d0007f7b69d684879a0f598a042e40244d3cf63
git.kernel.org/stable/c/b2c5024b771cd1dd8175d5f6949accfadbab7edd