diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-25 07:44:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-25 07:44:26 -0700 |
| commit | 129d6eb266e0848c9bf45da6e30291688c12b5ad (patch) | |
| tree | 6709cec6768c96c3f7da2d248f7fdf9b55f62271 /fs | |
| parent | 27d128c1cff64c3b8012cc56dd5a1391bb4f1821 (diff) | |
| parent | c6e61c06d6061750597e79c598acb5dead44c35b (diff) | |
| download | linux-next-129d6eb266e0848c9bf45da6e30291688c12b5ad.tar.gz linux-next-129d6eb266e0848c9bf45da6e30291688c12b5ad.zip | |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux
Pull ARM updates from Russell King:
- fix a race condition handling PG_dcache_clean
- further cleanups for the fault handling, allowing RT to be enabled
- fixing nzones validation in adfs filesystem driver
- fix for module unwinding
* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux:
ARM: 9463/1: Allow to enable RT
ARM: 9472/1: fix race condition on PG_dcache_clean in __sync_icache_dcache()
ARM: 9471/1: module: fix unwind section relocation out of range error
fs/adfs: validate nzones in adfs_validate_bblk()
ARM: provide individual is_translation_fault() and is_permission_fault()
ARM: move FSR fault status definitions before fsr_fs()
ARM: use BIT() and GENMASK() for fault status register fields
ARM: move is_permission_fault() and is_translation_fault() to fault.h
ARM: move vmalloc() lazy-page table population
ARM: ensure interrupts are enabled in __do_user_fault()
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/adfs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c index 2c5b2076acf9..a4cd0a5159dd 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -317,6 +317,9 @@ static int adfs_validate_bblk(struct super_block *sb, struct buffer_head *bh, if (adfs_checkdiscrecord(dr)) return -EILSEQ; + if ((dr->nzones | dr->nzones_high << 8) == 0) + return -EILSEQ; + *drp = dr; return 0; } |
