In the Linux kernel, the following vulnerability has been resolved:
drm/msm: Fix null pointer dereference on pointer edp
The initialization of pointer dev dereferences pointer edp before
edp is null checked, so there is a potential null pointer deference
issue. Fix this by only dereferencing edp after edp has been null
checked.
Addresses-Coverity: (“Dereference before null check”)
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/gpu/drm/msm/edp/edp_ctrl.c"
],
"versions": [
{
"version": "ab5b0107ccf3",
"lessThan": "f175b9a83e5c",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "bacac7d26849",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "0cd063aa0a09",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "7f642b93710b",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "f302be08e3de",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "91a340768b01",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "46c8ddede027",
"status": "affected",
"versionType": "git"
},
{
"version": "ab5b0107ccf3",
"lessThan": "2133c4fc8e13",
"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/gpu/drm/msm/edp/edp_ctrl.c"
],
"versions": [
{
"version": "4.0",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.0",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.4.290",
"lessThanOrEqual": "4.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.9.288",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.14.252",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.19.213",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.155",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.75",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.14.14",
"lessThanOrEqual": "5.14.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/0cd063aa0a09822cc1620fc59a67fe2f9f6338ac
git.kernel.org/stable/c/2133c4fc8e1348dcb752f267a143fe2254613b34
git.kernel.org/stable/c/46c8ddede0273d1d132beefa9de8b820326982be
git.kernel.org/stable/c/7f642b93710b6b1119bdff90be01e6b5a2a5d669
git.kernel.org/stable/c/91a340768b012f5b910a203a805b97a345b3db37
git.kernel.org/stable/c/bacac7d26849c8e903ceb7466d9ce8dc3c2797eb
git.kernel.org/stable/c/f175b9a83e5c252d7c74acddc792840016caae0a
git.kernel.org/stable/c/f302be08e3de94db8863a0b2958b2bb3e8e998e6