---
id: CVE-2024-42070
title: |-
  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 al…
summary: |-
  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 al…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 3.13
  - 'linux_kernel >= 3.14, < 4.19.317'
  - 'linux_kernel >= 4.20, < 5.4.279'
  - 'linux_kernel >= 5.5, < 5.10.221'
  - 'linux_kernel >= 5.11, < 5.15.162'
  - 'linux_kernel >= 5.16, < 6.1.97'
  - 'linux_kernel >= 6.2, < 6.6.37'
  - 'linux_kernel >= 6.7, < 6.9.8'
patched:
  - linux_kernel 6.9.8
published: '2024-07-29'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:42.157'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-42070'
references:
  - url: 'https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-613116.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00282
epssPercentile: 0.20832
ingestedAt: '2026-10-15T03:30:12.727Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:19:46.237204Z'
---

## Overview

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.

## Affected

- `linux_kernel < 3.13`
- `linux_kernel >= 3.14, < 4.19.317`
- `linux_kernel >= 4.20, < 5.4.279`
- `linux_kernel >= 5.5, < 5.10.221`
- `linux_kernel >= 5.11, < 5.15.162`
- `linux_kernel >= 5.16, < 6.1.97`
- `linux_kernel >= 6.2, < 6.6.37`
- `linux_kernel >= 6.7, < 6.9.8`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.9.8`
