Bug 2225275 (CVE-2023-4004) - CVE-2023-4004 kernel: netfilter: nft_set_pipapo: improper element removal in function nft_pipapo_remove when insert an element without a NFT_SET_EXT_KEY_END that can lead to use-after-free
Summary: CVE-2023-4004 kernel: netfilter: nft_set_pipapo: improper element removal in ...
Keywords:
Status: NEW
Alias: CVE-2023-4004
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2225276 2225277 2227505 2227506 2227507 2227508 2227509 2227510 2227512 2227513 2227514 2227515 2227516 2227517 2227518 2227519 2228795 2228796 2228797 2228798 2228799 2228800 2227503 2227504 2227511 2228794
Blocks: 2225252
TreeView+ depends on / blocked
 
Reported: 2023-07-24 20:33 UTC by Alex
Modified: 2023-08-07 21:39 UTC (History)
49 users (show)

Fixed In Version: kernel 6.5-rc5
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel's netfilter in the way a user triggers the nft_pipapo_remove function with the element, without a NFT_SET_EXT_KEY_END. This issue could allow a local user to crash the system or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-07-24 20:33:46 UTC
A flaw in the Linux Kernel found. Improper element removal in function nft_pipapo_remove when insert an element without a NFT_SET_EXT_KEY_END that can lead to use-after-free.

Reference:
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20230719190824.21196-1-fw@strlen.de/

Comment 6 Alex 2023-07-30 11:29:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2227503]

Comment 13 Justin M. Forbes 2023-08-07 21:39:24 UTC
This was fixed for Fedora with the 6.4.7 stable kernel updates.


Note You need to log in before you can comment on or make changes to this bug.