REDHAT-BUG-2323953: Use After Free

Published Nov 5, 2024
·
Updated

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

netfilter: bpf: must hold reference on net namespace

BUG: KASAN: slab-use-after-free in nfunregisternethook+0x640/0x6b0 Read of size 8 at addr ffff8880106fe400 by task repro/72= bpfnflinkrelease+0xda/0x1e0 bpflinkfree+0x139/0x2d0 bpflinkrelease+0x68/0x80 fput+0x414/0xb60

Eric says: It seems that bpf was able to defer the nfunregisternethook() after exit()/close() time. Perhaps a netns reference is missing, because the netns has been dismantled/freed already. bpfnflinkattach() does : link->net = net; But I do not see a reference being taken on net.

Add such a reference and release it after hook unreg. Note that I was unable to get syzbot reproducer to work, so I do not know if this resolves this splat.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 5, 2024
Data Sourced
via Red Hat·06:04 PM
DescriptionSeverityAffected Software
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 REDHAT-BUG-2323953?

The severity of REDHAT-BUG-2323953 is classified as critical due to a slab-use-after-free vulnerability in the Linux kernel.

2

How do I fix REDHAT-BUG-2323953?

To fix REDHAT-BUG-2323953, you should apply the latest patches provided for the Linux kernel as indicated by your distribution.

3

What systems are affected by REDHAT-BUG-2323953?

REDHAT-BUG-2323953 affects systems running specific versions of the Linux kernel that utilize the netfilter BPF hooks.

4

What does REDHAT-BUG-2323953 vulnerability affect?

REDHAT-BUG-2323953 affects the netfilter subsystem of the Linux kernel, particularly related to network namespace handling.

5

Is there a workaround for REDHAT-BUG-2323953?

Currently, there are no recommended workarounds for REDHAT-BUG-2323953; the best approach is to update the 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