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] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 May 2024 17:33:24 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jaroslav Pulchart <jaroslav.pulchart@...ddata.com>
Cc: netdev@...r.kernel.org, Igor Raits <igor@...ddata.com>, Daniel Secik
 <daniel.secik@...ddata.com>, Zdenek Pesek <zdenek.pesek@...ddata.com>
Subject: Re: [regresion] Dell's OMSA Systems Management Data Engine stuck
 after update from 6.8.y to 6.9.y (with bisecting)

On Thu, 30 May 2024 09:52:38 +0200 Jaroslav Pulchart wrote:
> However, reverting just the "use xarray iterator to implement
> rtnl_dump_ifinfo" change did not resolve the issue. Do you have any
> suggestions on what to try next and how to fix it?

The daemon must have rolled its own netlink parsing.

Could you try this?

diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 96accde527da..5fd06473ddd9 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -1912,6 +1912,8 @@ static int inet_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb)
 			goto done;
 	}
 done:
+	if (err == -EMSGSIZE && likely(skb->len))
+		err = skb->len;
 	if (fillargs.netnsid >= 0)
 		put_net(tgt_net);
 	rcu_read_unlock();

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ