Beschreibung
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.
CVSS 8.4EPSS 0.132%Risiko 0.85
Quelle öffnen- Veröffentlicht
- 2026-07-19 15:16:52
- Betroffene Versionen
- unknown
- Typ
- Kernel
- Zuletzt geändert
- 2026-07-27 17:44:23
- Vektor
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H