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.
Fix
Patch, vendor advisory and mitigation references on NVD 8
- https://git.kernel.org/stable/c/137b5918931d4d05aa8ea8d3adf67f7224eef63c Patch
- https://git.kernel.org/stable/c/5877c043398d5fa0e93919a3d837e5cd7a98a961 Patch
- https://git.kernel.org/stable/c/6ed3d14fc45d3da6025e7fe4a6a09066856698e2 Patch
- https://git.kernel.org/stable/c/87111356d58d86edb221ba144d261ed83a5b8bbe Patch
- https://git.kernel.org/stable/c/abda65bdd13084c771842adaac1f652d0660dd82 Patch
- https://git.kernel.org/stable/c/c26a0052cceed4c4d380ee5808b699f937fb58d8 Patch
- https://git.kernel.org/stable/c/f2c7b39dde2e61df8157066969cc2a408cd3dcd9 Patch
- https://git.kernel.org/stable/c/fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 5
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-23 18:50
- StatusPublished → AnalyzedNVD modified 2026-10-23 18:50
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-19 20:07
- CwesCWE-170NVD modified 2026-10-19 20:19
- First seenCVSS 8.4NVD modified 2026-10-16 16:18
Affected (CPE criteria) 1
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References 8
- https://git.kernel.org/stable/c/137b5918931d4d05aa8ea8d3adf67f7224eef63c Patch
- https://git.kernel.org/stable/c/5877c043398d5fa0e93919a3d837e5cd7a98a961 Patch
- https://git.kernel.org/stable/c/6ed3d14fc45d3da6025e7fe4a6a09066856698e2 Patch
- https://git.kernel.org/stable/c/87111356d58d86edb221ba144d261ed83a5b8bbe Patch
- https://git.kernel.org/stable/c/abda65bdd13084c771842adaac1f652d0660dd82 Patch
- https://git.kernel.org/stable/c/c26a0052cceed4c4d380ee5808b699f937fb58d8 Patch
- https://git.kernel.org/stable/c/f2c7b39dde2e61df8157066969cc2a408cd3dcd9 Patch
- https://git.kernel.org/stable/c/fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf Patch