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]
Message-ID: <8e16609a-7e19-4d4a-951f-58c8bd012086@siemens.com>
Date: Fri, 21 Feb 2025 07:45:07 +0100
From: Jan Kiszka <jan.kiszka@...mens.com>
To: Antonio Quartulli <antonio@...delbit.com>,
 Kieran Bingham <kbingham@...nel.org>
Cc: open list <linux-kernel@...r.kernel.org>,
 Thomas Weißschuh <linux@...ssschuh.net>
Subject: Re: scripts_gdb: Python Exception <class 'gdb.error'>: There is no
 member named nsections.

On 20.02.25 16:21, Antonio Quartulli wrote:
> Hi,
> 
> I have been working on the new ovpn linux kernel module since a while
> and your gdb kernel debugging helper scripts have been of great help.
> 
> However, recently I have started hitting an issue I could not explain.
> When my qemu instance loads the ovpn.ko module, I get the following
> output in gdb:
> 
> scanning for modules in /home/ordex/exp/openvpn_dev/linux-ovpn-dco
> loading @0xffffffffa0000000: /home/ordex/exp/openvpn_dev/linux-ovpn-dco/
> drivers/net/ovpn/ovpn.ko
> Python Exception <class 'gdb.error'>: There is no member named nsections.
> 
> and the load of the symbols fails.
> 
> Does it ring any bell?
> Any help debugging further?
> 
> I am running the latest net-next.
> 

Thanks for reporting. That's because of [1] in upcoming 6.14. Someone
needs to update scripts/gdb/linux/symbols.py accordingly.

Jan

[1]
https://lore.kernel.org/r/linux-hardening/20241216-sysfs-const-bin_attr-module-v1-1-f81e49e54ce4@weissschuh.net/

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ