Skip to contentSkip to conversation

New: use after free when journal read failed

Bug 216871 [email protected] 1 participant 2 messages Dec 31, 2022 – Jan 1, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216871

Bug ID: 216871
Summary: use after free when journal read failed
Product: File System
Version: 2.5
Kernel Version: 6.0
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ReiserFS
Assignee: [email protected]
Reporter: [email protected]
Regression: No

When reading the journal header block failed, journal_read return 1. But the caller journal_init ignores the value and doesn't handle this case. It will cause a UAF bug at fs unmount.

https://elixir.bootlin.com/linux/v6.0.1/source/fs/reiserfs/journal.c#L2399

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 216871] bug: use after free when journal read failed

https://bugzilla.kernel.org/show_bug.cgi?id=216871

eriri ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|use after free when journal |bug: use after free when
                   |read failed                 |journal read failed
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.