Comment 8 for bug 1626984

Revision history for this message
Eric Desrochers (slashd) wrote :

I was also able to reproduce using the above reproducer[1]

[1] - cat /sys/module/apparmor/parameters/audit

I think the problem here is that files in apparmor shouldn't be writable while apparmor is disable.
(-rw-------)

If I do :

# chmod 400 /sys/module/apparmor/parameters/audit (-r--------)

then

# cat /sys/module/apparmor/parameters/audit doesn't crash and displays : "Invalid argument", just like upstream kernel does.

- Eric