ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 · < a6e94557cd05adc82fae0400f6e17745563e5412| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()
Unlike other strings in the ext4 superblock, we rely on tune2fs to make sure s_mount_opts is NUL terminated. Harden parse_apply_sb_mount_options() by treating s_mount_opts as a potential __nonstring.
From the CVE record · Linux
The Linux kernel’s ext4 mount-option parser can potentially read past the buffer when a superblock’s mount-options string is not NUL-terminated. An attacker could potentially trigger this over-read; the input does not specify how it could be triggered or whether authentication or user interaction is required.
Engineers running Linux kernels with ext4 should check their versions against the vendor advisory; affected versions were not provided.