CVE-2024-46681

Source
https://cve.org/CVERecord?id=CVE-2024-46681
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46681.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46681
Downstream
Related
Published
2024-09-13T05:29:14.671Z
Modified
2026-03-20T12:39:04.865980Z
Summary
pktgen: use cpus_read_lock() in pg_net_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

pktgen: use cpusreadlock() in pgnetinit()

I have seen the WARNON(smpprocessorid() != cpu) firing in pktgenthread_worker() during tests.

We must use cpusreadlock()/cpusreadunlock() around the foreachonline_cpu(cpu) loop.

While we are at it use WARNONONCE() to avoid a possible syslog flood.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46681.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
5f5f7366dda8ae870e8305d6e7b3c0c2686cd2cf
Fixed
979b581e4c69257acab1af415ddad6b2d78a2fa5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46681.json"