nilfs2: robustness fixes from Jake Labelle
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nilfs2: reject non-regular inodes in dsync recoveryfs/ | +17 | 0 replies | |
| 2/2 | nilfs2: validate directory position after llseek in readdirfs/ | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nilfs2: robustness fixes from Jake Labelle
Hi Viacheslav,
Please add the following two commits from Jake Labelle to your queue for the next cycle.
As this cycle is getting closer to its end, I am sending these ahead with a minor fix applied. If Jake responds with further comments or revised proposals later, we can discuss them as needed.
These patches address two robustness issues:
- Patch 1/2 rejects special inodes during dsync recovery to prevent dereferencing uninitialized bmap function pointers.
- Patch 2/2 validates and snaps the directory position after llseek in nilfs_readdir() to prevent invalid or out-of-bounds page reads.
For full context and background details, please refer to the original cover letter here:
https://lore.kernel.org/all/[email protected]
Thanks,
Ryusuke Konishi
Jake Labelle (2):
nilfs2: reject non-regular inodes in dsync recovery
nilfs2: validate directory position after llseek in readdir
fs/nilfs2/dir.c | 34 ++++++++++++++++++++++++++++++++++ fs/nilfs2/recovery.c | 17 +++++++++++++++++ 2 files changed, 51 insertions(+)
Signature · 1 line
2.53.0