CVE-2024-46681: pktgen: use cpus_read_lock() in pg_net_init()

Published Sep 13, 2024
·
Updated

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

pktgen: use cpusreadlock() in pgnetinit()

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

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

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

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=2.6.12<6.10.8
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1

Event History

Sep 13, 2024
CVE Published
via MITRE·05:29 AM
Data Sourced
via MITRE·05:29 AM
Description
May 1, 2025
Data Sourced
via Ubuntu·08:38 PM
RemedyDescriptionSeverityAffected Software
May 9, 2025
Data Sourced
via Debian·08:40 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46681?

CVE-2024-46681 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-46681?

To fix CVE-2024-46681, update the Linux kernel to version 6.12.11-1 or newer.

3

Which versions of the Linux kernel are affected by CVE-2024-46681?

CVE-2024-46681 affects Linux kernel versions from 2.6.12 up to 6.10.8, including specific release candidates of 6.11.

4

What causes the issue in CVE-2024-46681?

The issue in CVE-2024-46681 is caused by improper locking in the pktgen module, leading to potential inconsistencies.

5

Is my Linux kernel vulnerable based on my version?

If your Linux kernel version is between 2.6.12 and 6.10.8 or one of the 6.11 release candidates, it is vulnerable to CVE-2024-46681.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203