Use-after-free in Linux kernel - CVE-2023-4004

 

Use-after-free in Linux kernel - CVE-2023-4004

Published: August 14, 2023 / Updated: January 10, 2025


Vulnerability identifier: #VU79498
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2023-4004
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. A local user can execute arbitrary code with elevated privileges.


How to mitigate CVE-2023-4004

Install updates from vendor's website.

Sources