CVE-2024-46681
Severity:
Pending analysis
Type:
Unavailable / Other
Publication date:
13/09/2024
Last modified:
13/09/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
pktgen: use cpus_read_lock() in pg_net_init()<br />
<br />
I have seen the WARN_ON(smp_processor_id() != cpu) firing<br />
in pktgen_thread_worker() during tests.<br />
<br />
We must use cpus_read_lock()/cpus_read_unlock()<br />
around the for_each_online_cpu(cpu) loop.<br />
<br />
While we are at it use WARN_ON_ONCE() to avoid a possible syslog flood.