Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: md/raid5: validate payload size before accessing journal metadata r5c_recovery_analyze_meta_block() and r5l_recovery_verify_data_checksum_for_mb() iterate over payloads in a journal metadata block using on-disk payload size fields without validating them against the remaining space in the metadata block. A corrupted journal contains payload sizes extending beyond the PAGE_SIZE boundary can cause out-of-bounds reads when accessing payload fields or computing offsets. Add bounds validation for each payload type to ensure the full payload fits within meta_size before processing.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b4c625c67362b3940f619c1a836b4e8329106658 before c96c6f01d84b5c67db1bf1cc8591c0b7146826fc; affected b4c625c67362b3940f619c1a836b4e8329106658 before ef4851d8324fd978ca1ff9ec76a275438f887743; affected b4c625c67362b3940f619c1a836b4e8329106658 before 28d3ff7109c66e99dc1b7cddacb5c760849620ef; affected b4c625c67362b3940f619c1a836b4e8329106658 before 33698bd1b2db9764a29df7751533d33967ff5c98; affected b4c625c67362b3940f619c1a836b4e8329106658 before c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e; affected b4c625c67362b3940f619c1a836b4e8329106658 before 73ce72edd113374801045924d4417199963f73a3; affected b4c625c67362b3940f619c1a836b4e8329106658 before 406aa86394ead347c47428fb51b6359bdaa2257d; affected b4c625c67362b3940f619c1a836b4e8329106658 before b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9 |
| Linux / Linux | affected 4.10; unaffected 0 before 4.10; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.140 through 6.6.*; unaffected 6.12.86 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c96c6f01d84b5c67db1bf1cc8591c0b7146826fc
- https://git.kernel.org/stable/c/ef4851d8324fd978ca1ff9ec76a275438f887743
- https://git.kernel.org/stable/c/28d3ff7109c66e99dc1b7cddacb5c760849620ef
- https://git.kernel.org/stable/c/33698bd1b2db9764a29df7751533d33967ff5c98
- https://git.kernel.org/stable/c/c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e
- https://git.kernel.org/stable/c/73ce72edd113374801045924d4417199963f73a3
- https://git.kernel.org/stable/c/406aa86394ead347c47428fb51b6359bdaa2257d
- https://git.kernel.org/stable/c/b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.