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

  nbd: null check for nla_nest_start

  nla_nest_start() may fail and return NULL
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  nbd: null check for nla_nest_start

  nla_nest_start() may fail and return NULL. Insert a check and set errno
  based on other call sites within the same source code.
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-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.12, < 5.4.273'
  - 'linux_kernel >= 5.5, < 5.10.214'
  - 'linux_kernel >= 5.11, < 5.15.153'
  - 'linux_kernel >= 5.16, < 6.1.83'
  - 'linux_kernel >= 6.2, < 6.6.23'
  - 'linux_kernel >= 6.7, < 6.7.11'
  - 'linux_kernel >= 6.8, < 6.8.2'
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.2
published: '2024-05-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:36.983'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-27025'
references:
  - url: 'https://git.kernel.org/stable/c/31edf4bbe0ba27fd03ac7d87eb2ee3d2a231af6d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/44214d744be32a4769faebba764510888f1eb19e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4af837db0fd3679fabc7b7758397090b0c06dced'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/96436365e5d80d0106ea785a4f80a58e7c9edff8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/98e60b538e66c90b9a856828c71d4e975ebfa797'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7f5aed55829f376e4f7e5ea5b80ccdcb023e983'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ba6a9970ce9e284cbc04099361c58731e308596a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e803040b368d046434fbc8a91945c690332c4fcf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/31edf4bbe0ba27fd03ac7d87eb2ee3d2a231af6d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/44214d744be32a4769faebba764510888f1eb19e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/4af837db0fd3679fabc7b7758397090b0c06dced'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/96436365e5d80d0106ea785a4f80a58e7c9edff8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/98e60b538e66c90b9a856828c71d4e975ebfa797'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/b7f5aed55829f376e4f7e5ea5b80ccdcb023e983'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/ba6a9970ce9e284cbc04099361c58731e308596a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e803040b368d046434fbc8a91945c690332c4fcf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00291
epssPercentile: 0.21516
ingestedAt: '2026-10-15T03:30:12.668Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-17T17:40:20.868698Z'
---

## Overview

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

nbd: null check for nla_nest_start

nla_nest_start() may fail and return NULL. Insert a check and set errno
based on other call sites within the same source code.

## Affected

- `linux_kernel >= 4.12, < 5.4.273`
- `linux_kernel >= 5.5, < 5.10.214`
- `linux_kernel >= 5.11, < 5.15.153`
- `linux_kernel >= 5.16, < 6.1.83`
- `linux_kernel >= 6.2, < 6.6.23`
- `linux_kernel >= 6.7, < 6.7.11`
- `linux_kernel >= 6.8, < 6.8.2`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.2`
