2023-03-08 14:10:37

by Mirsad Todorovac

[permalink] [raw]
Subject: INFO: BUG: kobject: 'integrity' (000000005198bea8): does not have a release() function, it is broken and must be fixed. See ...

Hi, all!

This one is said to be bug, if we trust the Linux kernel debug output.

Usually I wouldn't have noticed it, but we were debugging the other module under
supervision from Andy of Intel. So it happened that I was accidentally monitoring
how the kobject_release() was called for kernel objects at shutdown of the OS.

It is past the rsyslog lifetime, so the only way I could capture it was a photo
from the smartphone.

Please see the bug reports from the kernel log:

https://domac.alu.hr/~mtodorov/linux/bugreports/integrity/20230308_123748.jpg

https://domac.alu.hr/~mtodorov/linux/bugreports/integrity/20230308_123752.jpg

The kernel is Linux 6.2.0-mg-andy-devres-12485-gf3a2439f20d9-dirty x86_64
on a LENOVO_MT_10TX_BU_Lenovo_FM_V530S-07ICB running AlmaLinux 8.7.

I was unable to reproduce on the other Lenovo laptop box, for the kernel
refused to boot, unable to find root drive on NVMe (other kernels w/o
CONFIG_DEBUG_KOBJECT=y run smoothly).

Config used is:

https://domac.alu.hr/~mtodorov/linux/bugreports/integrity/config-6.2.0-mg-andy-devres-12485-gf3a2439f20d9-dirty

As I already said to Andy, this might not be a critical bug, for it happens
only at shutdown AFAICS. However, it can be a sign of some more serious problem
in the code. :-/

Hope this helps.

Regards,
Mirsad

--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu

System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia