Skip to content
Info disclosure Advisory Advanced CVE-2023-39192

Linux Kernel Netfilter Xtables Out-Of-Bounds Read Information Disclosure Vulnerability

The u32_match_it function in the Linux kernel's netfilter xtables code fails to properly validate user-supplied data, causing a read past the end of an allocated data structure. A local attacker who can already run high-privileged code could use this to disclose sensitive kernel information and, combined with other flaws, potentially execute code in the kernel.

grigoritchy Follow

Originally disclosed on Zero Day Initiative

Medium 6.7 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of the Linux Kernel. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability.

grigoritchy, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the u32_match_it function does not validate the length of user-supplied data before reading it, allowing an out-of-bounds read.

Impact

A local attacker with high privileges could disclose sensitive kernel information and, in combination with other vulnerabilities, could execute arbitrary code in the kernel.

What the attacker needed

Local access to the system; ability to run high-privileged code

The fix

Linux issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The kernel is the core part of the operating system that manages memory and hardware. A function that handles firewall rules read data without first checking how long it is, so it can look past the end of a buffer and leak whatever is stored there. The attacker needs high privileges on the machine already, so this is not something a random website visitor can trigger.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by grigoritchy

View all

11 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.