bcachefs: Fix sb_field_downgrade validation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bcachefs: Fix sb_field_downgrade validation
- bch2_sb_downgrade_validate() wasn't checking for a downgrade entry extending past the end of the superblock section
- for_each_downgrade_entry() is used in to_text() and needs to work on malformed input; it also was missing a check for a field extending past the end of the section
From the CVE record · Linux
The bcachefs downgrade validation and text conversion paths lacked checks for entries or fields extending past the end of a superblock section. Malformed input can reach these paths, but the supplied information does not specify an attack route, authentication requirements, user interaction, or a concrete outcome.
Engineers running Linux kernels with bcachefs should check whether their kernel includes the fix; affected versions were not specified.