CVE Catalog

CVE-2023-52628

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.68%

49th percentile - higher than 49% of all known CVEs

Summary

In the Linux kernel netfilter nftables exthdr module, there is a 4-byte stack out-of-bounds write vulnerability. If priv->len is a multiple of 4, writing to dst[len / 4] can go past the destination array, causing stack corruption.

Risk Assessment

A local user with nftables configuration privileges can cause kernel stack corruption, potentially leading to system crash or privilege escalation.

Recommendation

Apply a Linux kernel update containing a fix that conditionally performs register clearing only when the length is not a multiple of the register size.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: exthdr: fix 4-byte stack OOB write If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption. This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does. The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added. Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS