CVE-2023-6040: An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family)

Published Jan 12, 2024
·
Updated

An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nftables: Reject tables of unsupported family)

Affected Software

15 affected componentsFixes available
Linux Linux kernel>=4.16<4.19.305
Linux Linux kernel>=4.20<5.4.267
Linux Linux kernel>=5.5<5.10.208
Linux Linux kernel>=5.11<5.15.147
Linux Linux kernel>=5.16<5.18
Debian Debian Linux=10.0
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
redhat/kernel<5.18
5.18
Microsoft cbl2 kernel 5.15.164.1-1
Microsoft cbl2 kernel 5.15.153.1-1
Microsoft cbl2 kernel 5.15.164.1-1

Remediation

Mitigation

If not needed, disable the ability for unprivileged users to create namespaces. To do this temporarily, do: sudo sysctl -w kernel.unprivileged_userns_clone=0 To disable across reboots, do: echo kernel.unprivileged_userns_clone=0 | \ sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf

Event History

Jan 12, 2024
CVE Published
via MITRE·01:37 AM
Data Sourced
via MITRE·01:37 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·06:15 AM
DescriptionSeverityAffected Software
Jan 23, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
SeverityAffected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Feb 14, 2024
Data Sourced
via Launchpad·10:43 PM
Description
Apr 26, 2025
Data Sourced
via Ubuntu·11:50 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-2023-6040?

CVE-2023-6040 is classified as a high-severity vulnerability due to the potential for out-of-bounds access leading to denial of service or other impacts.

2

How do I fix CVE-2023-6040?

To fix CVE-2023-6040, update the kernel to version 5.18 or later, or apply the appropriate patches provided by your distribution.

3

Which versions of Linux Kernel are affected by CVE-2023-6040?

CVE-2023-6040 affects Linux Kernel versions between 4.16 and 5.18, including specific versions of Debian and Red Hat kernels.

4

Can CVE-2023-6040 cause data loss?

While CVE-2023-6040 primarily poses a risk of denial of service, it could potentially lead to data corruption in certain exploitation scenarios.

5

Is there a workaround for CVE-2023-6040?

There are no recommended workarounds for CVE-2023-6040 other than upgrading to the fixed versions of 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