Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936269 - sys-kernel/gentoo-sources-6.10.0 oops if ext4 volume name is too long
Summary: sys-kernel/gentoo-sources-6.10.0 oops if ext4 volume name is too long
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard: genpatches-6.10-2
Keywords: InVCS, PATCH
Depends on:
Blocks:
 
Reported: 2024-07-18 23:01 UTC by David Korth
Modified: 2024-07-27 14:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Korth 2024-07-18 23:01:55 UTC
After upgrading to Linux 6.10.0, starting KDE resulted in a full system lockup, and panic information wasn't logged. After debugging stuff and getting dmesg from ssh, I found that it was a panic from __ext4_ioctl due to one of the volumes taking up the entire field length.

A patch to fix this is available here: https://lore.kernel.org/lkml/172066485809.400039.2045305282487026392.b4-ty@mit.edu/T/

Reproducible: Always

Steps to Reproduce:
1. Have an ext4 volume with a 16-character label and KDE Plasma 6.1.0 installed.
2. Upgrade to Linux 6.10.0.
3. Start KDE.
Actual Results:  
System locks up.

Expected Results:  
System should boot normally.

This bug was introduced here: https://github.com/torvalds/linux/commit/744a56389f7398f286231e062c2e63f0de01bcc6

The patch has not been merged upstream yet.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-18 23:13:26 UTC
Horrible. Thanks!
Comment 2 David Korth 2024-07-19 01:15:11 UTC
Minor correction: it *is* upstream, but the GitHub mirror didn't have it yet.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be27cd64461c45a6088a91a04eba5cd44e1767ef
Comment 3 Mike Pagano gentoo-dev 2024-07-27 14:17:00 UTC
Fixed in >=6.10.1