CVE-2024-46681

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-26T19:35:02.210596Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/9c3874e559580d6c6ec8d449812ac11277724770/cves/2024/46xxx/CVE-2024-46681.json"
}
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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
979b581e4c69257acab1af415ddad6b2d78a2fa5

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.12
Fixed
6.10.8