Skip to content

blktrace: reject buf_size smaller than blk_io_trace2#792

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

blktrace: reject buf_size smaller than blk_io_trace2#792
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1088908=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented May 3, 2026

Pull request for series with
subject: blktrace: reject buf_size smaller than blk_io_trace2
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1088908

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 3, 2026

Upstream branch: 66edb90
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 4, 2026

Upstream branch: 6d35786
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from ae81b98 to 9150aaf Compare May 4, 2026 11:00
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 6f75bd1 to 1f0d33a Compare May 5, 2026 15:39
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 5, 2026

Upstream branch: 6d35786
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from 9150aaf to 3639d6f Compare May 5, 2026 15:42
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 1f0d33a to b1870f6 Compare May 10, 2026 15:59
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 10, 2026

Upstream branch: aa54b1d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from 3639d6f to 45bc230 Compare May 10, 2026 16:00
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from b1870f6 to ca57796 Compare May 15, 2026 07:55
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 15, 2026

Upstream branch: 70eda68
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from 45bc230 to fe4b5f1 Compare May 15, 2026 08:29
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from ca57796 to c1feb59 Compare May 21, 2026 02:54
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 21, 2026

Upstream branch: 8bc67e4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from fe4b5f1 to ad92203 Compare May 21, 2026 03:33
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c1feb59 to ea833a1 Compare May 22, 2026 01:53
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 22, 2026

Upstream branch: 6779b50
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from ad92203 to fc87cd3 Compare May 22, 2026 02:29
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from ea833a1 to 7af85d1 Compare May 23, 2026 06:11
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 23, 2026

Upstream branch: 79bd2dd
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from fc87cd3 to 326bcfd Compare May 23, 2026 07:25
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 7af85d1 to de94ac7 Compare May 23, 2026 17:08
blk_trace_setup() accepts any non-zero buf_size from
userspace and passes it directly to relay_open(). If
buf_size is smaller than sizeof(struct blk_io_trace2),
relay_reserve() always returns NULL and all trace
events are silently dropped.

Reject such values early with -EINVAL.

Signed-off-by: Deepanshu Kartikey <Kartikey406@gmail.com>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 23, 2026

Upstream branch: eed108e
series: https://patchwork.kernel.org/project/linux-block/list/?series=1088908
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1088908=>linus-master branch from 326bcfd to 0afe0e4 Compare May 23, 2026 17:55
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