CVE-2024-42269: netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().

Published Aug 17, 2024
·
Updated

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

netfilter: iptables: Fix potential null-ptr-deref in ip6tablenattableinit().

ip6tablenattableinit() accesses net->gen->ptr[ip6tablenatnetops.id], but the function is exposed to user space before the entry is allocated via registerpernetsubsys().

Let's call registerpernetsubsys() before xtregistertemplate().

Affected Software

6 affected componentsFixes available
Linux Linux kernel>=5.15<6.1.104
Linux Linux kernel>=6.2<6.6.45
Linux Linux kernel>=6.7<6.10.4
Linux Linux kernel=6.11-rc1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Aug 17, 2024
CVE Published
via MITRE·08:54 AM
Data Sourced
via MITRE·08:54 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 29, 2025
Data Sourced
via Ubuntu·06:21 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42269?

CVE-2024-42269 has been classified with a medium severity level.

2

How do I fix CVE-2024-42269?

To fix CVE-2024-42269, update your Linux kernel to the latest available version that includes the patch.

3

Which Linux kernel versions are affected by CVE-2024-42269?

CVE-2024-42269 affects Linux kernel versions from 5.15 up to 6.1.104, 6.2 up to 6.6.45, and 6.7 up to 6.10.4.

4

What kind of vulnerability is represented by CVE-2024-42269?

CVE-2024-42269 is a potential null pointer dereference vulnerability in the netfilter iptables component of the Linux kernel.

5

Is my system vulnerable to CVE-2024-42269 if I use an outdated kernel?

Yes, systems running outdated Linux kernel versions that fall within the affected range are vulnerable to CVE-2024-42269.

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