Commit bf8fb19
ocfs2: free inode when ocfs2_get_init_inode() fails
BugLink: https://bugs.launchpad.net/bugs/2095283
[ Upstream commit 965b5dd ]
syzbot is reporting busy inodes after unmount, for commit 9c89fe0
("ocfs2: Handle error from dquot_initialize()") forgot to call iput() when
new_inode() succeeded and dquot_initialize() failed.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 9c89fe0 ("ocfs2: Handle error from dquot_initialize()")
Signed-off-by: Tetsuo Handa <[email protected]>
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=0af00f6a2cba2058b5db
Tested-by: [email protected]
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
CVE-2024-56630
Signed-off-by: Koichiro Den <[email protected]>1 parent 2e6ea5a commit bf8fb19
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
204 | 205 | | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
0 commit comments