Jun Nie aedea161d0 ext4: refuse to create ea block when umounted
commit f31173c19901a96bb2ebf6bcfec8a08df7095c91 upstream.

The ea block expansion need to access s_root while it is
already set as NULL when umount is triggered. Refuse this
request to avoid panic.

Reported-by: syzbot+2dacb8f015bf1420155f@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?id=3613786cb88c93aa1c6a279b1df6a7b201347d08
Link: https://lore.kernel.org/r/20230103014517.495275-3-jun.nie@linaro.org
Cc: stable@kernel.org
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 16:26:47 +01:00
..
2020-04-02 16:34:33 +02:00
2023-01-18 09:26:38 +01:00
2019-08-06 19:05:23 +02:00
2022-08-25 11:11:12 +02:00
2022-11-25 17:36:55 +01:00
2023-02-22 12:46:05 +01:00
2020-03-11 18:02:43 +01:00
2023-01-18 09:26:35 +01:00
2021-12-14 10:16:55 +01:00