In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
The app_reply->elem[] array is allocated earlier in this function and it
has app_req.num_ports elements. Thus this > comparison needs to be >= to
prevent memory corruption.
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/scsi/qla2xxx/qla_edif.c"
],
"versions": [
{
"version": "7878f22a2e03",
"lessThan": "8c820f7c8e9b",
"status": "affected",
"versionType": "git"
},
{
"version": "7878f22a2e03",
"lessThan": "9fc74e367be4",
"status": "affected",
"versionType": "git"
},
{
"version": "7878f22a2e03",
"lessThan": "60b87b5ecbe0",
"status": "affected",
"versionType": "git"
},
{
"version": "7878f22a2e03",
"lessThan": "ea8ac95c22c9",
"status": "affected",
"versionType": "git"
},
{
"version": "7878f22a2e03",
"lessThan": "4406e4176f47",
"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/scsi/qla2xxx/qla_edif.c"
],
"versions": [
{
"version": "5.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.15",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.156",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.87",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.28",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.8.7",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/4406e4176f47177f5e51b4cc7e6a7a2ff3dbfbbd
git.kernel.org/stable/c/60b87b5ecbe07d70897d35947b0bb3e76ccd1b3a
git.kernel.org/stable/c/8c820f7c8e9b46238d277c575392fe9930207aab
git.kernel.org/stable/c/9fc74e367be4247a5ac39bb8ec41eaa73fade510
git.kernel.org/stable/c/ea8ac95c22c93acecb710209a7fd10b851afe817