Kernel: netfilter: nftables out-of-bounds read in nf_osf_match_one()

Summary

CVECVE-2023-39189
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-09 18:15:10 UTC
Updated2026-10-15 00:16:35 UTC
DescriptionA flaw was found in the Netfilter subsystem in the Linux kernel. The nfnl_osf_add_callback function did not validate the user mode controlled opt_num field. This flaw allows a local privileged (CAP_NET_ADMIN) attacker to trigger an out-of-bounds read, leading to a crash or information disclosure.

Risk And Classification

Primary CVSS: v3.1 6 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H

Problem Types: CWE-125 | CWE-125 Out-of-bounds Read


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
3.1[email protected]Secondary5.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L
3.1CNACVSS5.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Operating System Linux Linux Kernel All All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.rt7.342.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-427.13.1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-427.13.1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected V1.1 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
2226777 – (CVE-2023-39189, ZDI-CAN-18745) CVE-2023-39189 kernel: netfilter: nftables out-of-bounds read in nf_osf_match_one() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
access.redhat.com/errata/RHSA-2024:3138 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2950 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
cert-portal.siemens.com/productcert/html/ssa-794697.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
access.redhat.com/errata/RHSA-2024:2394 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.debian.org/debian-lts-announce/2024/01/msg00004.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-07-25T00:00:00.000ZReported to Red Hat.
CNA2023-08-30T00:00:00.000ZMade public.

Workarounds

CNA: This flaw can be mitigated by preventing the affected Passive OS Fingerprinting match module (`xt_osf`) from being loaded. For instructions on how to blacklist a kernel module, please see https://access.redhat.com/solutions/41278.

Legacy QID Mappings

  • 199881 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6461-1)
  • 199936 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6494-1)
  • 199970 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6494-2)
  • 199976 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-1)
  • 199979 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6532-1)
  • 199980 Ubuntu Security Notification for Linux kernel Vulnerability (USN-6536-1)
  • 199982 Ubuntu Security Notification for Linux kernel (GCP) Vulnerability (USN-6537-1)
  • 199996 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6549-1)
  • 199997 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6548-1)
  • 199999 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6548-2)
  • 200002 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-2)
  • 200003 Ubuntu Security Notification for Linux kernel (GKE) Vulnerabilities (USN-6549-2)
  • 200006 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6548-3)
  • 200007 Ubuntu Security Notification for Linux kernel (Low Latency) Vulnerabilities (USN-6549-3)
  • 200010 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-3)
  • 200024 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6549-4)
  • 200035 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6549-5)
  • 200037 Ubuntu Security Notification for Linux kernel (IoT) Vulnerabilities (USN-6548-5)
  • 200113 Ubuntu Security Notification for Linux kernel (GCP) Vulnerabilities (USN-6635-1)
  • 6000429 Debian Security Update for linux (DLA 3710-1)
  • 673534 EulerOS Security Update for kernel (EulerOS-SA-2024-1086)
  • 673595 EulerOS Security Update for kernel (EulerOS-SA-2023-3247)
  • 673644 EulerOS Security Update for kernel (EulerOS-SA-2023-3336)
  • 673692 EulerOS Security Update for kernel (EulerOS-SA-2023-3275)
  • 673923 EulerOS Security Update for kernel (EulerOS-SA-2024-1062)
  • 673995 EulerOS Security Update for kernel (EulerOS-SA-2024-1275)
  • 674042 EulerOS Security Update for kernel (EulerOS-SA-2023-3304)
  • 755235 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4377-1)
  • 755238 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4378-1)
  • 755240 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4375-1)
  • 755249 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2023:4414-1)
  • 755563 SUSE Security Update for the linux kernel (SUSE-SU-2023:4351-1)
  • 755564 SUSE Security Update for the linux kernel (SUSE-SU-2023:4348-1)
  • 755565 SUSE Security Update for the linux kernel (SUSE-SU-2023:4347-1)
  • 755566 SUSE Security Update for the linux kernel (SUSE-SU-2023:4345-1)
  • 755567 SUSE Security Update for the linux kernel (SUSE-SU-2023:4343-1)
  • 907471 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (31267)
  • 907589 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (31267-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report