Bug 2237752 (CVE-2023-4015) - CVE-2023-4015 kernel: use after free in nft_immediate_deactivate
Summary: CVE-2023-4015 kernel: use after free in nft_immediate_deactivate
Keywords:
Status: NEW
Alias: CVE-2023-4015
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2237754
TreeView+ depends on / blocked
 
Reported: 2023-09-06 17:37 UTC by juneau
Modified: 2024-02-05 17:04 UTC (History)
41 users (show)

Fixed In Version: Kernel 6.5-rc4
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel's netfilter: nf_tables component, which can be exploited to achieve local privilege escalation. On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can unbind the chain and objects can be deactivated but used later.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:0610 0 None None None 2024-01-30 14:48:44 UTC
Red Hat Product Errata RHBA-2024:0611 0 None None None 2024-01-30 14:53:10 UTC
Red Hat Product Errata RHBA-2024:0688 0 None None None 2024-02-05 17:04:15 UTC
Red Hat Product Errata RHSA-2024:0439 0 None None None 2024-01-24 16:36:23 UTC
Red Hat Product Errata RHSA-2024:0448 0 None None None 2024-01-24 16:38:07 UTC
Red Hat Product Errata RHSA-2024:0461 0 None None None 2024-01-24 16:28:58 UTC

Description juneau 2023-09-06 17:37:08 UTC
A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can lead unbinding the chain and objects be deactivated but later used.

We recommend upgrading past commit 0a771f7b266b02d262900c75f1e175c7fe76fec2.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a771f7b266b02d262900c75f1e175c7fe76fec2
https://kernel.dance/0a771f7b266b02d262900c75f1e175c7fe76fec2

Comment 9 errata-xmlrpc 2024-01-24 16:28:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:0461 https://access.redhat.com/errata/RHSA-2024:0461

Comment 10 errata-xmlrpc 2024-01-24 16:36:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0439 https://access.redhat.com/errata/RHSA-2024:0439

Comment 11 errata-xmlrpc 2024-01-24 16:38:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0448 https://access.redhat.com/errata/RHSA-2024:0448


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