CVE-2026-23412: netfilter: bpf: defer hook memory release until rcu readers are done

Published Apr 2, 2026
·
Updated

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

netfilter: bpf: defer hook memory release until rcu readers are done

Yiming Qian reports UaF when concurrent process is dumping hooks via nfnetlinkhooks:

BUG: KASAN: slab-use-after-free in nfnlhookdumpone.isra.0+0xe71/0x10f0 Read of size 8 at addr ffff888003edbf88 by task poc/79 Call Trace: <TASK> nfnlhookdumpone.isra.0+0xe71/0x10f0 netlinkdump+0x554/0x12b0 nfnlhookget+0x176/0x230 [..]

Defer release until after concurrent readers have completed.

Affected Software

14 affected componentsFixes available
Linux Linux kernel (netfilter bpf)
Linux Linux kernel>=6.4.1<6.6.130
Linux Linux kernel>=6.7<6.12.78
Linux Linux kernel>=6.13<6.18.20
Linux Linux kernel>=6.19<6.19.10
Linux Linux kernel=6.4
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

Apr 2, 2026
CVE Published
via MITRE·11:40 AM
Data Sourced
via MITRE·11:40 AM
DescriptionSeverity
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What activity is involved in triggering the issue?

The reported use-after-free occurs when a process is concurrently dumping hooks through nfnetlink_hooks while hook memory is being released. The affected read is reported in nfnl_hook_dump_one during a netlink dump.

2

How might an affected system identify this condition?

The report shows a KASAN slab-use-after-free, with a read in nfnl_hook_dump_one.isra.0. The stack trace includes netlink_dump and nfnl_hook_get.

3

What does the fix change?

The fix defers release of hook memory until concurrent RCU readers have completed, preventing hook-dump readers from accessing freed memory.

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