In the Linux kernel, the following vulnerability has been resolved:
hwrng: cavium - fix NULL but dereferenced coccicheck error
Fix following coccicheck warning: ./drivers/char/hw_random/cavium-rng-vf.c:182:17-20: ERROR: pdev is NULL but dereferenced.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49177.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49177.json"
[
{
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/char/hw_random/cavium-rng-vf.c"
},
"digest": {
"line_hashes": [
"83715658907533177322529628821883880465",
"102919727349186269932450771804643974252",
"106722133535505611146990009175868110280",
"211183296904264436189580245879359406688"
],
"threshold": 0.9
},
"id": "CVE-2022-49177-ba529cd6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6205ad58a7ac194abfb33897585b38687d797fa",
"signature_version": "v1"
},
{
"deprecated": false,
"signature_type": "Function",
"target": {
"function": "cavium_map_pf_regs",
"file": "drivers/char/hw_random/cavium-rng-vf.c"
},
"digest": {
"function_hash": "122353339232894402548756258067568460360",
"length": 581.0
},
"id": "CVE-2022-49177-ca731e6f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e47b12f9415169eceda6770fcf45802e0c8d2a66",
"signature_version": "v1"
},
{
"deprecated": false,
"signature_type": "Function",
"target": {
"function": "cavium_map_pf_regs",
"file": "drivers/char/hw_random/cavium-rng-vf.c"
},
"digest": {
"function_hash": "122353339232894402548756258067568460360",
"length": 581.0
},
"id": "CVE-2022-49177-ea7d9b66",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6205ad58a7ac194abfb33897585b38687d797fa",
"signature_version": "v1"
},
{
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/char/hw_random/cavium-rng-vf.c"
},
"digest": {
"line_hashes": [
"83715658907533177322529628821883880465",
"102919727349186269932450771804643974252",
"106722133535505611146990009175868110280",
"211183296904264436189580245879359406688"
],
"threshold": 0.9
},
"id": "CVE-2022-49177-f0439043",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e47b12f9415169eceda6770fcf45802e0c8d2a66",
"signature_version": "v1"
}
]