Skip to main content
Network Thinking Solutions Logo

CVE-2022-49698

Linux kernel: netfilter: use get_random_u32 instead of prandom

All CVEs
CVE-2022-49698Published 2/26/2025

Linux kernel: netfilter: use get_random_u32 instead of prandom

Vendor advisory
CVSS7.8High

Overview

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.

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.18, < 5.10.127

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.51

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.8

Verify advisory

Source
linux kernel
linux
5.19

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 15cc30ac2a8d7185f8ebf97dd1ddd90a7c79783b

Verify advisory

Source
Linux
Linux
≥ 978d8f9055c3a7c35db2ac99cd2580b993396e33, < d0906b0fffc9f19bc42708ca3e84e2089088386c

Verify advisory

Source
Linux
Linux
≥ 978d8f9055c3a7c35db2ac99cd2580b993396e33, < 6ce71f83f798be7e1ca68707fec449fbecb38852

Verify advisory

Source
Linux
Linux
≥ 978d8f9055c3a7c35db2ac99cd2580b993396e33, < b1fd94e704571f98b21027340eecf821b2bdffba

Verify advisory

Source
Linux
Linux
4.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.