CVE-2022-49698
netfilter: use get_random_u32 instead of prandom
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < b1fd94e704571f98b21027340eecf821b2bdffba
- Anyone running Linux 4.18
Vulnerability facts
- Affected
- Linux >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < b1fd94e704571f98b21027340eecf821b2bdffba; Linux 4.18
- Fixed in
- Linux 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b, Linux 6ce71f83f798be7e1ca68707fec449fbecb38852
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: use get_random_u32 instead of prandom bh might occur while updating per-cpu rnd_state from user context, ie. local_out path. BUG: using smp_processor_id() in preemptible [00000000] code: nginx/2725 caller is nft_ng_random_eval+0x24/0x54 [nft_numgen] Call Trace: check_preemption_disabled+0xde/0xe0 nft_ng_random_eval+0x24/0x54 [nft_numgen] Use the random driver instead, this also avoids need for local prandom state. Moreover, prandom now uses the random driver since d4150779e60f ("random32: use real rng for non-deterministic randomness"). Based on earlier patch from Pablo Neira.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < b1fd94e704571f98b21027340eecf821b2bdffba | — | cvelist |
| Linux | 4.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49698. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49698.md Affected: Linux >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852; >= 978d8f9055c3a7c35db2ac9… Fixed in: Linux 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b, Linux 6ce71f83f798be7e1ca68707fec449fbecb38852 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-49698 being exploited?
There is no confirmed exploitation: CVE-2022-49698 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49698?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49698?
Linux >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852; >= 978d8f9055c3a7c35db2ac99cd2580b993396e33, < b1fd94e704571f98b21027340eecf821b2bdffba; Linux 4.18.
Is there a fix for CVE-2022-49698?
Yes. Fixed in Linux 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b, Linux 6ce71f83f798be7e1ca68707fec449fbecb38852. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49698?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.