Files
linux/security/landlock
Mateusz Guzik 56325e8c68 landlock: fix splats from iput() after it started calling might_sleep()
At this point it is guaranteed this is not the last reference.

However, a recent addition of might_sleep() at top of iput() started
generating false-positives as it was executing for all values.

Remedy the problem by using the newly introduced iput_not_last().

Reported-by: syzbot+12479ae15958fc3f54ec@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/68d32659.a70a0220.4f78.0012.GAE@google.com/
Fixes: 2ef435a872 ("fs: add might_sleep() annotation to iput() and more")
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251105212025.807549-2-mjguzik@gmail.com
Reviewed-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-11-12 10:47:42 +01:00
..
2025-03-26 13:59:34 +01:00
2025-03-26 13:59:42 +01:00
2024-02-27 11:21:45 +01:00
2025-04-08 19:18:20 +02:00
2025-03-26 13:59:42 +01:00
2025-06-27 10:10:37 +02:00
2025-03-26 13:59:34 +01:00
2024-02-27 11:21:45 +01:00
2022-05-09 12:31:10 +02:00
2022-05-09 12:31:10 +02:00
2025-03-26 13:59:39 +01:00
2025-03-26 13:59:34 +01:00
2025-03-21 12:12:19 +01:00
2025-03-26 13:59:42 +01:00