{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63860","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-19T07:54:57.017Z","datePublished":"2026-07-19T14:04:48.153Z","dateUpdated":"2026-08-05T12:36:38.134Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:36:38.134Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/core: Prefer NLA_NUL_STRING\n\nThese attributes are evaluated as c-string (passed to strcmp), but\nNLA_STRING doesn't check for the presence of a \\0 terminator.\n\nEither this needs to switch to nla_strcmp() and needs to adjust printf fmt\nspecifier to not use plain %s, or this needs to use NLA_NUL_STRING.\n\nAs the code has been this way for long time, it seems to me that userspace\ndoes include the terminating nul, even tough its not enforced so far, and\nthus NLA_NUL_STRING use is the simpler solution."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached when userspace sends crafted NETLINK_RDMA (protocol 20) messages to the iWARP Port Mapper netlink handlers in `iwpm_register_pid_cb()` and `iwpm_mapping_info_cb()`, not from remote network packets.\nAC:L - An attacker fully controls the netlink attribute payload and can send a maximal-length string without a NUL terminator to reliably trigger unbounded `strcmp()` reads; no race or victim-dependent state is required beyond reaching the handler.\nPR:N - IWPM netlink ops lack `RDMA_NL_ADMIN_PERM`, and `netlink_sendmsg()` only enforces `CAP_NET_ADMIN` when `dst_pid` or `dst_group` is non-zero, so an unprivileged local process can send messages to the kernel RDMA netlink socket without capabilities or user-namespace tricks.\nUI:N - Exploitation requires only a local process sending a crafted netlink message; no victim interaction such as mounting a filesystem or opening a device is needed.\nS:U - Impact is confined to kernel RDMA/iWARP port-mapper state (e.g., `iwpm_user_pid`, mapping tables) within the same kernel security authority and does not cross VM, container, or IOMMU boundaries.\nC:H - `NLA_STRING` does not enforce a NUL terminator, yet `strcmp()` reads until `\\0`, causing an out-of-bounds kernel read past the attribute boundary; error paths also pass the pointer to `%s` in `pr_info()`, enabling further kernel memory disclosure.\nI:H - By sending exactly 19 bytes of `iWarpPortMapperUser` without a terminator, an attacker can make `strcmp()` read a NUL from NLA padding and pass validation, hijacking `iwpm_user_pid` and redirecting subsequent iWARP port-mapping operations to attacker-controlled userspace.\nA:H - Unbounded `strcmp()` on a non-NUL-terminated netlink attribute can read beyond the skb buffer and trigger a kernel page fault/oops, and successful port-mapper impersonation can disrupt iWARP connectivity on affected systems."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/iwpm_msg.c"],"versions":[{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"fcd07d3b8ee7a39b344d73aed69c1a68cd9eacdf","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"87111356d58d86edb221ba144d261ed83a5b8bbe","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"abda65bdd13084c771842adaac1f652d0660dd82","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"137b5918931d4d05aa8ea8d3adf67f7224eef63c","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"5877c043398d5fa0e93919a3d837e5cd7a98a961","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"f2c7b39dde2e61df8157066969cc2a408cd3dcd9","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"c26a0052cceed4c4d380ee5808b699f937fb58d8","status":"affected","versionType":"git"},{"version":"30dc5e63d6a5ad24894b5512d10b228d73645a44","lessThan":"6ed3d14fc45d3da6025e7fe4a6a09066856698e2","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/core/iwpm_msg.c"],"versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.141","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.91","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.33","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"5.10.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.6.141"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.1"}]}]}],"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"}],"title":"RDMA/core: Prefer NLA_NUL_STRING","x_generator":{"engine":"bippy-1.2.0"}}}}