Skip to content

block: partition: aix: bound LV name formatting#1010

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1116904=>linus-master
Open

block: partition: aix: bound LV name formatting#1010
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1116904=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown

Pull request for series with
subject: block: partition: aix: bound LV name formatting
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1116904

@blktests-ci

blktests-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Author

Upstream branch: 4edcdef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1116904
version: 1

AIX logical volume names are stored on disk as fixed-size fields.
The partition parser reads them into struct lvname, but later formats
the fields with %s. If an on-disk name is not NUL-terminated, the string
formatting code can keep reading past the end of the 64-byte name field.

Limit the formatted string length to the size of the on-disk name field
when printing AIX logical volume names.

Fixes: 6ceea22 ("partitions: add aix lvm partition support files")
Cc: stable@vger.kernel.org
Reported-by: Yuan Tan <yuantan098@gmail.com>
Reported-by: Xin Liu <bird@lzu.edu.cn>
Assisted-by: Codex:gpt-5.4
Signed-off-by: Zhiling Zou <roxy520tt@gmail.com>
Signed-off-by: Ren Wei <n05ec@lzu.edu.cn>
@blktests-ci

blktests-ci Bot commented Jun 29, 2026

Copy link
Copy Markdown
Author

Upstream branch: dc59e4f
series: https://patchwork.kernel.org/project/linux-block/list/?series=1116904
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1116904=>linus-master branch from a8388df to 6709193 Compare June 29, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant