CVE-2026-74479: net: pktgen: fix proc entry use-after-free

Published Aug 15, 2026
·
Updated

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

net: pktgen: fix proc entry use-after-free

pktgenchangename() replaces pktdev->entry while holding t->iflock. pktgenremovedevice() removes the same entry before remdevfromiflist() takes that lock.

This allows the following interleaving:

CPU 0 (NETDEVCHANGENAME) CPU 1 (kpktgend) iflock(t) procremove(pktdev->entry) procremove(pktdev->entry) pktdev->entry = proccreatedata(...) ifunlock(t)

The kthread can pass the stale procdirentry to procremove() after the rename path has freed it. A reproducer with a widened race window reports:

BUG: KASAN: slab-use-after-free in procremove+0x78/0x80 Read of size 8 at addr ffff8881478fea70 by task kpktgend0/67 Call Trace: procremove+0x78/0x80 pktgenremovedevice.isra.0+0x11c/0x4c0 pktgenthreadworker+0x1214/0x6bc0 kthread+0x2c6/0x3b0 Allocated by task 95: proccreate+0x204/0x790 proccreatedata+0x72/0xe0 pktgenthreadwrite+0xd61/0x1510 Freed by task 28: kmemcachefree+0xcb/0x3d0 procfreeinode+0x5b/0x80 rcucore+0x50a/0x1850 The buggy address belongs to the object at ffff8881478fea00 which belongs to the cache procdirentry of size 192

Move procremove() into the iflock-protected list removal helper. Keep it before listdelrcu() to preserve the ordering required by adddevice(). The rename path must then finish replacing the entry before removal, or it observes that the device is no longer on the list.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74479?

The severity of CVE-2026-74479 is rated at risk level 34.

2

What is the nature of the vulnerability CVE-2026-74479?

CVE-2026-74479 is a use-after-free vulnerability in the Linux kernel related to pktgen and proc entry handling.

3

How can I fix CVE-2026-74479?

To fix CVE-2026-74479, update your Linux kernel to the latest version where this vulnerability has been addressed.

4

What impact does CVE-2026-74479 have on system security?

CVE-2026-74479 can potentially lead to system instability or exploitation by allowing unauthorized access to kernel memory.

5

Which software is affected by CVE-2026-74479?

CVE-2026-74479 affects the Linux kernel.

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