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)

Description

An out-of-bounds access vulnerability involving netfilter was reported and fixed as: f1082dd31fe4 (netfilter: nf_tables: Reject tables of unsupported family); While creating a new netfilter table, lack of a safeguard against invalid nf_tables family (pf) values within `nf_tables_newtable` function enables an attacker to achieve out-of-bounds access.

Remediation

Workaround:

  • Disabling unprivileged user namespaces mitigates the issue.

Category

7.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.01%
Third-Party Advisory packetstormsecurity.com Third-Party Advisory openwall.com Third-Party Advisory mitre.org Third-Party Advisory debian.org Third-Party Advisory debian.org Third-Party Advisory openwall.com
Affected: The Linux Kernel Organization linux
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-6040?
CVE-2023-6040 has been scored as a high severity vulnerability.
How to fix CVE-2023-6040?
As a workaround for remediating CVE-2023-6040: Disabling unprivileged user namespaces mitigates the issue.
Is CVE-2023-6040 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-6040 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-6040?
CVE-2023-6040 affects The Linux Kernel Organization linux.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.