Skip to contentSkip to conversation

kmod and unsigned modules

DISCUSSION Russell Coker 3 participants 3 messages Feb 1, 2022 SELinux security module

lore
Share & tools
lore
#0 lore raw
[    9.002945] audit: type=1400 audit(1643707510.152:4): avc:  denied  { 

integrity } for pid=371 comm="modprobe" lockdown_reason="unsigned module loading" scontext=system_u:system_r:kmod_t:s0 tcontext=system_u:system_r:kmod_t:s0 tclass=lockdown permissive=0

We need to have a boolean for this. Just sending email so I don't forget it.

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#1 lore raw
Quoted 6 lines · Russell Coker
[    9.002945] audit: type=1400 audit(1643707510.152:4): avc:  denied  {

integrity } for pid=371 comm="modprobe" lockdown_reason="unsigned module loading" scontext=system_u:system_r:kmod_t:s0 tcontext=system_u:system_r:kmod_t:s0 tclass=lockdown permissive=0

We need to have a boolean for this. Just sending email so I don't forget it.

Switching to the refpolicy mail list.

The lockdown checks were removed in 5.16. IMO we should allow all domains both lockdown permissions until the lockdown class in the policy is removed.

--
Chris PeBenito

maintainer
#2 lore raw
Quoted 7 lines · Chris PeBenito
Quoted 5 lines · Russell Coker
[    9.002945] audit: type=1400 audit(1643707510.152:4): avc:  denied  {

integrity } for pid=371 comm="modprobe" lockdown_reason="unsigned module loading" scontext=system_u:system_r:kmod_t:s0 tcontext=system_u:system_r:kmod_t:s0 tclass=lockdown permissive=0

Quoted 7 lines
Quoted 1 line

We need to have a boolean for this. Just sending email so I don't forget it.

Switching to the refpolicy mail list.

The lockdown checks were removed in 5.16. IMO we should allow all domains both lockdown permissions until the lockdown class in the policy is removed.

For reference, here is the related discussion thread:

https://lore.kernel.org/selinux/163243191040.178880.4295195865966623164.stgit@olly

Signature · 1 line
paul-moore.com