ACK: [SRU][R:raspi/Q:raspi/N:raspi][PATCH 0/3] CONFIG_BPF_LSM not enabled in linux-raspi arm64 kernel (LP: #2150798)

Manuel Diewald manuel.diewald at canonical.com
Mon May 4 10:27:07 UTC 2026


On Fri, May 01, 2026 at 02:29:58PM +0200, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/2150798
> 
> [ Impact ]
> 
> The linux-raspi kernel flavor on Ubuntu 24.04 (Noble) arm64 does not have
> CONFIG_BPF_LSM enabled, while linux-image-generic arm64 does. This prevents
> Raspberry Pi users from using BPF LSM programs for security enforcement, even
> via the lsm= boot parameter.
> 
> The raspi config annotations in Noble explicitly override the parent kernel's
> setting:
> 
>     CONFIG_BPF_LSM  policy<{'arm64': 'n'}>  note<'Different from master'>
> 
> Additionally, the 26.04 (Resolute) linux-raspi changelog for 7.0.0-1009 includes
> "[Config] Enable CONFIG_BPF_LSM", but debian.raspi/config/config.common.ubuntu
> still contains "# CONFIG_BPF_LSM is not set". This appears to be an incomplete
> rollout of the intended change.
> 
> 
> [ Test Case ]
> 
> $ grep CONFIG_BPF_LSM /boot/config-$(uname -r)
> CONFIG_BPF_LSM=y
> 
> 
> [ Where Problems Could Occur ]
> 
> Turning this on doesn't do anything by itself but badly written hooks can bring down the system.
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald at canonical.com>

-- 
 Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20260504/c777e79a/attachment-0001.sig>


More information about the kernel-team mailing list