lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <176160960676.1627277.6717105101420126529.git-patchwork-notify@kernel.org>
Date: Tue, 28 Oct 2025 00:00:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Petr Oros <poros@...hat.com>
Cc: donald.hunter@...il.com, kuba@...nel.org, davem@...emloft.net,
 edumazet@...gle.com, pabeni@...hat.com, horms@...nel.org,
 jacob.e.keller@...el.com, ast@...erby.net, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, ivecera@...hat.com, mschmidt@...hat.com
Subject: Re: [PATCH net] tools: ynl: fix string attribute length to include
 null
 terminator

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:

On Fri, 24 Oct 2025 15:24:38 +0200 you wrote:
> The ynl_attr_put_str() function was not including the null terminator
> in the attribute length calculation. This caused kernel to reject
> CTRL_CMD_GETFAMILY requests with EINVAL:
> "Attribute failed policy validation".
> 
> For a 4-character family name like "dpll":
> - Sent: nla_len=8 (4 byte header + 4 byte string without null)
> - Expected: nla_len=9 (4 byte header + 5 byte string with null)
> 
> [...]

Here is the summary with links:
  - [net] tools: ynl: fix string attribute length to include null terminator
    https://git.kernel.org/netdev/net/c/65f9c4c58889

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ