CVE-2023-39189
kernel: netfilter: nftables out-of-bounds read in nf_osf_match_one()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 30, 2023
Updated · August 7, 2026
Description
A 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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
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.
CVSS / CWE
CVSS 3.1 · 5.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L
CWE-125 · Out-of-bounds Read