Hi,

Well, now I've got a lot of Oopses with kernel NULL pointer
dereferences, which leads to CPU stalls. After a minute, there is a
final Oops with a Kernel panic (not appearing in the logs),
effectively stopping the boot.
Note this is still the config without MAC.

Terence Gomez

Le ven. 12 juin 2026 à 11:27, Amon Ott via rsbac <rsbac@rsbac.org> a écrit :
Hi,

just pushed a set of fixes to 6.18, the last one adds extra checks to
do_add_mount() and might help.

Thanks again!

Amon.

Am 09.06.26 um 15:35 schrieb GOMEZ, Terence:
> Sure,
>
> I took the same config as before, only disabling CONFIG_RSBAC_MAC in
> the menuconfig.
> I have similar results on the 2 machines : a kernel NULL pointer
> dereference comes up, with a Oops, which then seems to cause a
> deadlock.
> Here are the boot logs.
>
> Le mer. 27 mai 2026 à 16:15, Amon Ott via rsbac <rsbac@rsbac.org
> <mailto:rsbac@rsbac.org>> a écrit :

>
>  > Hi Terence,
>  >
>  > I started looking into this problem, but have not found the reason yet.
>  > Since it seems to crash in the mostly obsolete MAC module code, could
>  > you please try without MAC?
>  >
>  > Amon.
>  >
>  > Am 22.05.26 um 15:02 schrieb GOMEZ, Terence:
>  >
>  > > Hi,
>  > >
>  > > With Jean-Marc Lacroix, we have been trying to enable more options
> than the
>  > > default ones for the RSBAC kernel configuration. However, the
>  > > configuration we
>  > > have come up with does not always boot correctly depending on the
> machine we
>  > > install the kernel on. All machines are based on Debian 13, and the
>  > > kernels were
>  > > launched in softmode, version 6.18.7.
>  > >
>  > > On the first machine, a Mac Book Pro 2011 (CPU : Intel Core i5-2415M)
>  > > with SysV
>  > > init and XFCE, the system comes up properly.
>  > > On the second one, a HP Z240 (CPU : Intel Xeon E3-1225) with
> systemd, we
>  > > have
>  > > first tried the kernel on a Gnome install, where the boot ends up
> with a
>  > > "kernel
>  > > NULL pointer dereference" and a kernel panic. On the same machine,
> where we
>  > > reinstalled a non graphical system, the same kernel configuration still
>  > > produces
>  > > the dereference with multiple kernel oops.
>  > > On the third one, a Lenovo ThinkStation P520c (CPU : Intel Xeon
> W-2102) with
>  > > systemd and no desktop environment, there also is a "kernel NULL
> pointer
>  > > dereference" that stops the boot (and is not in the logs), but no
> kernel
>  > > panic
>  > > is displayed.
>  > >
>  > > I've appended the config file along with the boot logs.
>  > >
>  > > Do you have any idea as to why these problems occur ?
>  > >
>  > > Regards,
>  > >
>  > > Terence Gomez
>  >
>  >
>  > Amon.
>
> Terence Gomez


Amon.