# CVE-2022-49177: hwrng: cavium - fix NULL but dereferenced coccicheck error

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:31.078Z
- Modified: 2026-06-17T05:17:17.320Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 680efb33546be8960ccbb2f4e0e43034d9c93b30 before e47b12f9415169eceda6770fcf45802e0c8d2a66; from 680efb33546be8960ccbb2f4e0e43034d9c93b30 before e6205ad58a7ac194abfb33897585b38687d797fa; bc20294cc8da53c0dc0f5a076b4883be6ec96930; 7919dfd84b352782df92c1ff2f0ca4dd5328d198; cc744db61229b6c55164b8cbdfaad4caacce62f9; from 5.10.110 before 5.11; from 5.15.33 before 5.16; from 5.16.19 before 5.17; 5.17 (not affected: before 5.17; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e47b12f9415169eceda6770fcf45802e0c8d2a66> (patch)
- <https://git.kernel.org/stable/c/e6205ad58a7ac194abfb33897585b38687d797fa> (patch)

## Sources

- CVE List: [CVE-2022-49177](https://www.cve.org/CVERecord?id=CVE-2022-49177), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2022-49177](https://nvd.nist.gov/vuln/detail/CVE-2022-49177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49177 · Whole record: https://cve.day/CVE-2022-49177.json · Rebuilt by cve.day 2026-11-25T22:58:20.253Z
