Skip to content

block: add NULL checks for bic in bfq_bfqq_save_state function#803

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

block: add NULL checks for bic in bfq_bfqq_save_state function#803
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1090341=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

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

Pull request for series with
subject: block: add NULL checks for bic in bfq_bfqq_save_state function
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1090341

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 6, 2026

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

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 7, 2026

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

@blktests-ci blktests-ci Bot added V3 and removed V2 labels May 7, 2026
@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from df276bf to f9c3345 Compare May 7, 2026 01:52
@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=1090740
version: 3

@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from f9c3345 to 275a926 Compare May 10, 2026 16:06
@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=1090740
version: 3

@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from 275a926 to 0669731 Compare May 15, 2026 08:26
@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=1090740
version: 3

@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from 0669731 to cdf4c2c Compare May 21, 2026 03:29
@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=1090740
version: 3

@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from cdf4c2c to e576724 Compare May 22, 2026 02:26
@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=1090740
version: 3

@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from e576724 to 1a6c290 Compare May 23, 2026 07:21
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 7af85d1 to de94ac7 Compare May 23, 2026 17:08
@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=1090740
version: 3

When the `bic` variable is null, referencing `bfqq_data` through `bic` will
cause the program to crash. Therefore, the null check for `bic` should be
moved to the beginning of the function to prevent referencing a null pointer.

Fixes:fd571df0ac5b("block, bfq: turn bfqq_data into an array in bfq_io_cq")
Signed-off-by: yanlonglong <yanlonglong@kylinos.cn>
@blktests-ci blktests-ci Bot force-pushed the series/1090341=>linus-master branch from 1a6c290 to 392b3b1 Compare May 23, 2026 17:51
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.

0 participants