VDB

CVE-2024-46681

CVE-2024-46681 PUBLISHED

pktgen: use cpus_read_lock() in pg_net_init()

Reported by linux · Published September 13, 2024

In the Linux kernel, the following vulnerability has been resolved: pktgen: use cpus_read_lock() in pg_net_init() I have seen the WARN_ON(smp_processor_id() != cpu) firing in pktgen_thread_worker() during tests. We must use cpus_read_lock()/cpus_read_unlock() around the for_each_online_cpu(cpu) loop. While we are at it use WARN_ON_ONCE() to avoid a possible syslog flood.

Fixed versions

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

PackageEcosystemFixed in
linux_kernellinux6.10.8
LinuxLinux979b581e4c69257acab1af415ddad6b2d78a2fa5, 7eed5b3115ce9e057bf64c3f6be9ea72f8298e4e, 5f5f7366dda8ae870e8305d6e7b3c0c2686cd2cf, 1b4fe364b561b952dd7beeba7f7616f9a419b83a

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 6.1.191
LinuxLinux6.11, 0, 6.1.191
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12

Timeline

  • Sep 12, 2024 CVE Published
  • Sep 14, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 4, 2026 Security Advisory (60 in total, the first dated here)
  • May 28, 2026 Distribution Patch (48 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-46681
vulnetix vdb fixes CVE-2024-46681

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-2024-46681/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 ›