---
id: CVE-2026-63860
title: 'RDMA/core: Prefer NLA_NUL_STRING'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  RDMA/core: Prefer NLA_NUL_STRING

  These attributes are evaluated as c-string (passed to strcmp), but
  NLA_STRING doesn't check for the presence of a \0 terminator.

  Eith…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    87111356d58d86edb221ba144d261ed83a5b8bbe
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    abda65bdd13084c771842adaac1f652d0660dd82
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    137b5918931d4d05aa8ea8d3adf67f7224eef63c
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    5877c043398d5fa0e93919a3d837e5cd7a98a961
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    f2c7b39dde2e61df8157066969cc2a408cd3dcd9
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    c26a0052cceed4c4d380ee5808b699f937fb58d8
  - >-
    Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 <
    6ed3d14fc45d3da6025e7fe4a6a09066856698e2
  - Linux 3.16
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:32:29.749777Z'
published: '2026-07-19'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:42:08.579Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-63860'
references:
  - url: 'https://git.kernel.org/stable/c/fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf'
  - url: 'https://git.kernel.org/stable/c/87111356d58d86edb221ba144d261ed83a5b8bbe'
  - url: 'https://git.kernel.org/stable/c/abda65bdd13084c771842adaac1f652d0660dd82'
  - url: 'https://git.kernel.org/stable/c/137b5918931d4d05aa8ea8d3adf67f7224eef63c'
  - url: 'https://git.kernel.org/stable/c/5877c043398d5fa0e93919a3d837e5cd7a98a961'
  - url: 'https://git.kernel.org/stable/c/f2c7b39dde2e61df8157066969cc2a408cd3dcd9'
  - url: 'https://git.kernel.org/stable/c/c26a0052cceed4c4d380ee5808b699f937fb58d8'
  - url: 'https://git.kernel.org/stable/c/6ed3d14fc45d3da6025e7fe4a6a09066856698e2'
tags:
  - cve.org
epss: 0.0014
epssPercentile: 0.02983
ingestedAt: '2026-10-16T17:24:46.770Z'
---

## Overview

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

RDMA/core: Prefer NLA_NUL_STRING

These attributes are evaluated as c-string (passed to strcmp), but
NLA_STRING doesn't check for the presence of a \0 terminator.

Either this needs to switch to nla_strcmp() and needs to adjust printf fmt
specifier to not use plain %s, or this needs to use NLA_NUL_STRING.

As the code has been this way for long time, it seems to me that userspace
does include the terminating nul, even tough its not enforced so far, and
thus NLA_NUL_STRING use is the simpler solution.

## Affected

- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < 87111356d58d86edb221ba144d261ed83a5b8bbe`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < abda65bdd13084c771842adaac1f652d0660dd82`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < 137b5918931d4d05aa8ea8d3adf67f7224eef63c`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < 5877c043398d5fa0e93919a3d837e5cd7a98a961`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < f2c7b39dde2e61df8157066969cc2a408cd3dcd9`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < c26a0052cceed4c4d380ee5808b699f937fb58d8`
- `Linux >= 30dc5e63d6a5ad24894b5512d10b228d73645a44 < 6ed3d14fc45d3da6025e7fe4a6a09066856698e2`
- `Linux 3.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
