---
id: CVE-2024-50251
title: >-
  In the Linux kernel, the following vulnerability has been resolved:


  netfilter: nft_payload: sanitize offset and length before calling
  skb_checksum()


  If access to offset + length is larger than the skbuff length, then

  skb_checksum() tri…
summary: >-
  In the Linux kernel, the following vulnerability has been resolved:


  netfilter: nft_payload: sanitize offset and length before calling
  skb_checksum()


  If access to offset + length is larger than the skbuff length, then

  skb_checksum() tri…
severity: medium
cvss: 6.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.5, < 4.19.323'
  - 'linux_kernel >= 4.20, < 5.4.285'
  - 'linux_kernel >= 5.5, < 5.10.229'
  - 'linux_kernel >= 5.11, < 5.15.171'
  - 'linux_kernel >= 5.16, < 6.1.116'
  - 'linux_kernel >= 6.2, < 6.6.60'
  - 'linux_kernel >= 6.7, < 6.11.7'
  - linux_kernel = 6.12
patched:
  - linux_kernel 6.11.7
published: '2024-11-09'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:19:10.817'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-50251'
references:
  - url: 'https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://github.com/slavin-ayu/CVE-2024-50251-PoC'
    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://lists.debian.org/debian-lts-announce/2025/03/msg00002.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-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - exploit-available
  - cve.org
epss: 0.00534
epssPercentile: 0.44886
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/slavin-ayu/CVE-2024-50251-PoC'
  checkedAt: '2026-10-27T16:42:38.665Z'
exploitAvailable: true
ingestedAt: '2026-10-15T03:30:12.767Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_payload: sanitize offset and length before calling skb_checksum()

If access to offset + length is larger than the skbuff length, then
skb_checksum() triggers BUG_ON().

skb_checksum() internally subtracts the length parameter while iterating
over skbuff, BUG_ON(len) at the end of it checks that the expected
length to be included in the checksum calculation is fully consumed.

## Affected

- `linux_kernel >= 4.5, < 4.19.323`
- `linux_kernel >= 4.20, < 5.4.285`
- `linux_kernel >= 5.5, < 5.10.229`
- `linux_kernel >= 5.11, < 5.15.171`
- `linux_kernel >= 5.16, < 6.1.116`
- `linux_kernel >= 6.2, < 6.6.60`
- `linux_kernel >= 6.7, < 6.11.7`
- `linux_kernel = 6.12`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.7`
