Bug 2300508 (CVE-2024-42070) - CVE-2024-42070 kernel: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Summary: CVE-2024-42070 kernel: netfilter: nf_tables: fully validate NFT_DATA_VALUE on...
Keywords:
Status: NEW
Alias: CVE-2024-42070
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301703
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 16:26 UTC by OSIDB Bzimport
Modified: 2025-04-30 00:59 UTC (History)
4 users (show)

Fixed In Version: kernel 4.19.317, kernel 5.4.279, kernel 5.10.221, kernel 5.15.162, kernel 6.1.97, kernel 6.6.37, kernel 6.9.8, kernel 6.10
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:9635 0 None None None 2024-11-14 10:00:06 UTC
Red Hat Product Errata RHBA-2024:9811 0 None None None 2024-11-18 01:20:38 UTC
Red Hat Product Errata RHSA-2024:8856 0 None None None 2024-11-05 01:10:20 UTC
Red Hat Product Errata RHSA-2024:8870 0 None None None 2024-11-05 00:50:05 UTC
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:37:26 UTC
Red Hat Product Errata RHSA-2025:4342 0 None None None 2025-04-30 00:59:13 UTC

Description OSIDB Bzimport 2024-07-29 16:26:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers

register store validation for NFT_DATA_VALUE is conditional, however,
the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This
only requires a new helper function to infer the register type from the
set datatype so this conditional check can be removed. Otherwise,
pointer to chain object can be leaked through the registers.

Comment 1 Mauro Matteo Cascella 2024-07-30 16:27:27 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072952-CVE-2024-42070-b271@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 16:27:47 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301703]

Comment 11 errata-xmlrpc 2024-11-05 00:50:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 12 errata-xmlrpc 2024-11-05 01:10:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 13 errata-xmlrpc 2024-11-12 09:37:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 14 errata-xmlrpc 2025-04-30 00:59:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:4342 https://access.redhat.com/errata/RHSA-2025:4342


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