VDB

CVE-2022-49698

CVE-2022-49698 PUBLISHED

netfilter: use get_random_u32 instead of prandom

Reported by linux · Published February 26, 2025

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.

EPSS 0.30% · 22.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux5.18.8, 5.15.51, 5.10.127

Risk scores

EPSS Score
0.30%
22.6th percentile

Affected products

VendorProductVersions
LinuxLinux978d8f9055c3a7c35db2ac99cd2580b993396e33, 978d8f9055c3a7c35db2ac99cd2580b993396e33, 978d8f9055c3a7c35db2ac99cd2580b993396e33
LinuxLinux4.18, 0, 5.10.127
LinuxLinux978d8f9055c3a7c35db2ac99cd2580b993396e33, 5.10.127, 5.15.51
linuxlinux_kernel4.18, 4.18, 4.18

Timeline

  • Feb 26, 2025 CVE Published
  • Feb 27, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (43 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (44 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-49698
vulnetix vdb fixes CVE-2022-49698

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-49698/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›