Landlock: Restrict POSIX message queue creation and access
syzbot ci has tested the following series
[v2] Landlock: Restrict POSIX message queue creation and access
https://lore.kernel.org/all/[email protected]
* [PATCH v2 1/4] ipc: Move MQUEUE_MAGIC to a shared header
* [PATCH v2 2/4] Landlock: Enforce MAKE_REG for POSIX message queue creation
* [PATCH v2 3/4] Landlock: Add POSIX message queue scoping
* [PATCH v2 4/4] samples/landlock: Add POSIX message queue scoping to sandboxer
and found the following issue:
kernel build error
Full report is available here:
https://ci.syzbot.org/series/808eb419-26c4-4ba7-9c41-6a93f2b03d56
***
kernel build error
tree: torvalds URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux base: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 arch: amd64 compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 config: https://ci.syzbot.org/builds/75289b70-faad-474c-98fd-320942ebab43/config
security/landlock/fs.c:2213:30: error: incompatible function pointer types initializing 'int (*)(const struct mnt_idmap *, struct inode *, struct dentry *, umode_t)' (aka 'int (*)(const struct mnt_idmap *, struct inode *, struct dentry *, unsigned short)') with an expression of type 'int (struct inode *const, struct dentry *const, const umode_t)' (aka 'int (struct inode *const, struct dentry *const, const unsigned short)') [-Wincompatible-function-pointer-types]
***
If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message:
---
This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at [email protected].
To test a fix for this bug, please reply with #syz test (on a separate line) and attach the patch to the email.
Notes:
- The patch will be applied on top of the tested series (as an incremental fix).
- To test a new version of the whole series, please send it directly to [email protected].
- Arguments like custom git repos and branches are not supported.
The email will later be sent to:
[[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]]
If the report looks fine to you, reply with:
#syz upstream
If the report is a false positive, reply with
#syz invalid